5 instantiations of ValueBasicBlockPair
ILCompiler.Compiler (5)
Compiler\Dataflow\ArrayValue.cs (1)
101newValue.IndexValues.Add(kvp.Key, new ValueBasicBlockPair(kvp.Value.Value.DeepCopy(), kvp.Value.BasicBlockIndex));
Compiler\Dataflow\MethodBodyScanner.cs (4)
247valueCollection[index] = new ValueBasicBlockPair(value, curBasicBlock); 275valueCollection[collectionKey] = new ValueBasicBlockPair(value, curBasicBlock); 280valueCollection[collectionKey] = new ValueBasicBlockPair(valueToStore, curBasicBlock); 1421arr.IndexValues[index.Value] = new ValueBasicBlockPair(UnknownValue.Instance, curBasicBlock);
29 references to ValueBasicBlockPair
ILCompiler.Compiler (29)
Compiler\Dataflow\ArrayValue.cs (4)
43IndexValues = new Dictionary<int, ValueBasicBlockPair>(); 47public Dictionary<int, ValueBasicBlockPair> IndexValues { get; } 51if (IndexValues.TryGetValue(index, out var valuePair)) 81if (!otherArr.IndexValues.TryGetValue(kvp.Key, out ValueBasicBlockPair value) || !kvp.Value.Equals(value))
Compiler\Dataflow\MethodBodyScanner.cs (18)
201private static void ValidateNoReferenceToReference(ValueBasicBlockPair?[] locals, MethodIL method, int ilOffset) 205ValueBasicBlockPair? localVariable = locals[localVariableIndex]; 225ValueBasicBlockPair?[] valueCollection, 232ValueBasicBlockPair? existingValue = valueCollection[index]; 251Dictionary<KeyType, ValueBasicBlockPair> valueCollection, 258if (valueCollection.TryGetValue(collectionKey, out ValueBasicBlockPair existingValue)) 348ValueBasicBlockPair?[] locals = new ValueBasicBlockPair?[methodIL.GetLocals().Length]; 923ValueBasicBlockPair?[] locals) 927ValueBasicBlockPair? localValue = locals[index]; 1001ValueBasicBlockPair?[] locals, 1012ValueBasicBlockPair?[] locals, 1030protected void StoreInReference(MultiValue target, MultiValue source, MethodIL methodIL, int offset, ValueBasicBlockPair?[] locals, int curBasicBlock, ref InterproceduralState ipState, int? parameterIndex) 1138ValueBasicBlockPair?[] locals, 1195ValueBasicBlockPair?[] locals, 1244ValueBasicBlockPair?[] locals, 1278ValueBasicBlockPair?[] locals, 1424else if (arr.IndexValues.TryGetValue(index.Value, out ValueBasicBlockPair arrayIndexValue))
Compiler\Dataflow\ValueNode.cs (7)
54public struct ValueBasicBlockPair : IEquatable<ValueBasicBlockPair> 65public bool Equals(ValueBasicBlockPair other) => Value.Equals(other.Value) && BasicBlockIndex.Equals(other.BasicBlockIndex); 67public override bool Equals(object? obj) => obj is ValueBasicBlockPair other && Equals(other); 71public static bool operator ==(ValueBasicBlockPair left, ValueBasicBlockPair right) => left.Equals(right); 72public static bool operator !=(ValueBasicBlockPair left, ValueBasicBlockPair right) => !(left == right);