4 instantiations of ValueBasicBlockPair
illink (4)
Linker.Dataflow\ArrayValue.cs (1)
99
newValue.IndexValues.Add(kvp.Key, new
ValueBasicBlockPair
(kvp.Value.Value.DeepCopy(), kvp.Value.BasicBlockIndex));
Linker.Dataflow\MethodBodyScanner.cs (3)
237
valueCollection[collectionKey] = new
ValueBasicBlockPair
(value, curBasicBlock);
242
valueCollection[collectionKey] = new
ValueBasicBlockPair
(valueToStore, curBasicBlock);
1295
arr.IndexValues[index.Value] = new
ValueBasicBlockPair
(UnknownValue.Instance, curBasicBlock);
17 references to ValueBasicBlockPair
illink (17)
Linker.Dataflow\ArrayValue.cs (4)
40
IndexValues = new Dictionary<int,
ValueBasicBlockPair
>();
44
public Dictionary<int,
ValueBasicBlockPair
> IndexValues { get; }
48
if (IndexValues.TryGetValue(index, out
var
valuePair))
78
if (!otherArr.IndexValues.TryGetValue(kvp.Key, out
ValueBasicBlockPair
value) || !kvp.Value.Equals(value))
Linker.Dataflow\MethodBodyScanner.cs (6)
17
Mono.Linker.Dataflow.
ValueBasicBlockPair
>;
214
Dictionary<KeyType,
ValueBasicBlockPair
> valueCollection,
221
if (valueCollection.TryGetValue(collectionKey, out
ValueBasicBlockPair
existingValue))
825
else if (locals.TryGetValue(localDef, out
ValueBasicBlockPair
localValue))
1100
if (locals.TryGetValue(localVariableReferenceValue.LocalDefinition, out
var
valueBasicBlockPair))
1298
else if (arr.IndexValues.TryGetValue(index.Value, out
ValueBasicBlockPair
arrayIndexValue))
Linker.Dataflow\ValueNode.cs (7)
52
public struct ValueBasicBlockPair : IEquatable<
ValueBasicBlockPair
>
63
public bool Equals(
ValueBasicBlockPair
other) => Value.Equals(other.Value) && BasicBlockIndex.Equals(other.BasicBlockIndex);
65
public override bool Equals(object? obj) => obj is
ValueBasicBlockPair
other && Equals(other);
69
public static bool operator ==(
ValueBasicBlockPair
left,
ValueBasicBlockPair
right) => left.Equals(right);
70
public static bool operator !=(
ValueBasicBlockPair
left,
ValueBasicBlockPair
right) => !(left == right);