5 instantiations of LocalKey
ILLink.RoslynAnalyzer (5)
DataFlow\LocalDataFlowVisitor.cs (5)
211
var local = new
LocalKey
(operation.Local);
224
var local = new
LocalKey
(operation.Local);
456
return state.Get (new
LocalKey
(operation.Id));
535
capturedValue = state.Get (new
LocalKey
(captureRef.Id));
541
state.Set (new
LocalKey
(operation.Id), capturedValue);
23 references to LocalKey
ILLink.RoslynAnalyzer (23)
DataFlow\InterproceduralState.cs (7)
25
public DefaultValueDictionary<
LocalKey
, Maybe<TValue>> HoistedLocals;
31
DefaultValueDictionary<
LocalKey
, Maybe<TValue>> hoistedLocals,
60
public void TrackHoistedLocal (
LocalKey
key)
69
public bool TrySetHoistedLocal (
LocalKey
key, TValue value)
84
public bool TryGetHoistedLocal (
LocalKey
key, [NotNullWhen (true)] out TValue? value)
94
public readonly DictionaryLattice<
LocalKey
, Maybe<TValue>, MaybeLattice<TValue, TValueLattice>> HoistedLocalLattice;
98
DictionaryLattice<
LocalKey
, Maybe<TValue>, MaybeLattice<TValue, TValueLattice>> hoistedLocalLattice
DataFlow\LocalDataFlowAnalysis.cs (1)
69
DictionaryLattice<
LocalKey
, Maybe<TValue>, MaybeLattice<TValue, TLattice>> hoistedLocalLattice = default;
DataFlow\LocalDataFlowState.cs (2)
26
public void Set (
LocalKey
key, TValue value)
34
public TValue Get (
LocalKey
key) => current.LocalState.Get (key);
DataFlow\LocalDataFlowVisitor.cs (2)
211
var
local = new LocalKey (operation.Local);
224
var
local = new LocalKey (operation.Local);
DataFlow\LocalStateLattice.cs (11)
11
public readonly struct LocalKey : IEquatable<
LocalKey
>
21
public bool Equals (
LocalKey
other) => SymbolEqualityComparer.Default.Equals (Local, other.Local) &&
25
=> obj is
LocalKey
inst && Equals (inst);
41
public DefaultValueDictionary<
LocalKey
, TValue> Dictionary;
49
: this (new DefaultValueDictionary<
LocalKey
, TValue> (defaultValue),
54
public LocalState (DefaultValueDictionary<
LocalKey
, TValue> dictionary, DefaultValueDictionary<CaptureId, ValueSet<CapturedReferenceValue>> capturedReferences)
60
public LocalState (DefaultValueDictionary<
LocalKey
, TValue> dictionary)
70
public TValue Get (
LocalKey
key) => Dictionary.Get (key);
75
public void Set (
LocalKey
key, TValue value) => Dictionary.Set (key, value);
85
public readonly DictionaryLattice<
LocalKey
, TValue, TValueLattice> Lattice;
90
Lattice = new DictionaryLattice<
LocalKey
, TValue, TValueLattice> (valueLattice);