1 instantiation of ControlFlowBranch
ILLink.RoslynAnalyzer (1)
DataFlow\ControlFlowGraphProxy.cs (1)
90
return new
ControlFlowBranch
(
26 references to ControlFlowBranch
ILLink.RoslynAnalyzer (26)
DataFlow\ControlFlowGraphProxy.cs (5)
16
>.
ControlFlowBranch
;
61
public static
ControlFlowBranch
CreateProxyBranch(Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowBranch branch)
99
public IEnumerable<
ControlFlowBranch
> GetPredecessors(BlockProxy block)
103
if (CreateProxyBranch(predecessor) is
ControlFlowBranch
branch)
108
public IEnumerable<
ControlFlowBranch
> GetSuccessors(BlockProxy block)
src\tools\illink\src\ILLink.Shared\DataFlow\ForwardDataFlowAnalysis.cs (13)
33
private readonly Dictionary<IControlFlowGraph<TBlock, TRegion>.
ControlFlowBranch
, TState> branchInput;
51
private readonly Dictionary<IControlFlowGraph<TBlock, TRegion>.
ControlFlowBranch
, TValue> exceptionFinallyState;
69
IControlFlowGraph<TBlock, TRegion>.
ControlFlowBranch
? entryOut = cfg.GetSuccessors(cfg.Entry).SingleOrDefault();
126
public bool TryGetExceptionFinallyState(IControlFlowGraph<TBlock, TRegion>.
ControlFlowBranch
branch, out TValue state)
141
public void SetExceptionFinallyState(IControlFlowGraph<TBlock, TRegion>.
ControlFlowBranch
branch, TValue state)
149
public TState Get(IControlFlowGraph<TBlock, TRegion>.
ControlFlowBranch
branch)
173
public virtual void TraceEdgeInput(IControlFlowGraph<TBlock, TRegion>.
ControlFlowBranch
branch, TValue state) { }
192
Action<IControlFlowGraph<TBlock, TRegion>.
ControlFlowBranch
, TValue> updateState
196
foreach (
var
successor in cfg.GetSuccessors(block))
279
foreach (
var
predecessor in cfg.GetPredecessors(block))
318
foreach (
var
predecessor in cfg.GetPredecessors(block))
421
IControlFlowGraph<TBlock, TRegion>.
ControlFlowBranch
predecessor,
438
IControlFlowGraph<TBlock, TRegion>.
ControlFlowBranch
? finallyExit = cfg.GetSuccessors(lastFinallyBlock).SingleOrDefault();
src\tools\illink\src\ILLink.Shared\DataFlow\IControlFlowGraph.cs (6)
45
public readonly struct ControlFlowBranch : IEquatable<
ControlFlowBranch
>
78
public bool Equals(
ControlFlowBranch
other)
94
return obj is
ControlFlowBranch
other && Equals(other);
101
Destination?.GetHashCode() ?? typeof(
ControlFlowBranch
).GetHashCode(),
113
IEnumerable<
ControlFlowBranch
> GetPredecessors(TBlock block);
115
IEnumerable<
ControlFlowBranch
> GetSuccessors(TBlock block);
TrimAnalysis\TrimDataFlowAnalysis.cs (2)
129
foreach (
var
predecessor in cfg.GetPredecessors(block))
193
IControlFlowGraph<BlockProxy, RegionProxy>.
ControlFlowBranch
branch,