4 instantiations of ValueBasicBlockPair
illink (4)
Linker.Dataflow\ArrayValue.cs (1)
95
newValue.IndexValues.Add (kvp.Key, new
ValueBasicBlockPair
(kvp.Value.Value.DeepCopy (), kvp.Value.BasicBlockIndex));
Linker.Dataflow\MethodBodyScanner.cs (3)
218
valueCollection[collectionKey] = new
ValueBasicBlockPair
(value, curBasicBlock);
221
valueCollection[collectionKey] = new
ValueBasicBlockPair
(valueToStore, curBasicBlock);
1184
arr.IndexValues[index.Value] = new
ValueBasicBlockPair
(UnknownValue.Instance, curBasicBlock);
17 references to ValueBasicBlockPair
illink (17)
Linker.Dataflow\ArrayValue.cs (4)
39
IndexValues = new Dictionary<int,
ValueBasicBlockPair
> ();
43
public Dictionary<int,
ValueBasicBlockPair
> IndexValues { get; }
47
if (IndexValues.TryGetValue (index, out
var
valuePair)) {
76
if (!otherArr.IndexValues.TryGetValue (kvp.Key, out
ValueBasicBlockPair
value) || !kvp.Value.Equals (value))
Linker.Dataflow\MethodBodyScanner.cs (6)
17
Mono.Linker.Dataflow.
ValueBasicBlockPair
>;
199
Dictionary<KeyType,
ValueBasicBlockPair
> valueCollection,
206
if (valueCollection.TryGetValue (collectionKey, out
ValueBasicBlockPair
existingValue)) {
775
} else if (locals.TryGetValue (localDef, out
ValueBasicBlockPair
localValue))
1029
if (locals.TryGetValue (localVariableReferenceValue.LocalDefinition, out
var
valueBasicBlockPair))
1186
} else if (arr.IndexValues.TryGetValue (index.Value, out
ValueBasicBlockPair
arrayIndexValue))
Linker.Dataflow\ValueNode.cs (7)
51
public struct ValueBasicBlockPair : IEquatable<
ValueBasicBlockPair
>
62
public bool Equals (
ValueBasicBlockPair
other) => Value.Equals (other.Value) && BasicBlockIndex.Equals (other.BasicBlockIndex);
64
public override bool Equals (object? obj) => obj is
ValueBasicBlockPair
other && Equals (other);
68
public static bool operator == (
ValueBasicBlockPair
left,
ValueBasicBlockPair
right) => left.Equals (right);
69
public static bool operator != (
ValueBasicBlockPair
left,
ValueBasicBlockPair
right) => !(left == right);