18 types derived from SingleValue
illink (18)
Linker.Dataflow\ReferenceValue.cs (1)
11
public abstract record ReferenceValue(TypeReference ReferencedType) :
SingleValue
{ }
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\ArrayOfAnnotatedSystemTypeValue.cs (1)
19
internal sealed record ArrayOfAnnotatedSystemTypeValue :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\ArrayValue.cs (1)
13
internal sealed partial record ArrayValue :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\AssemblyValue.cs (1)
15
internal sealed record AssemblyValue :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\ConstIntValue.cs (1)
14
internal sealed record ConstIntValue :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\KnownStringValue.cs (1)
14
internal sealed partial record KnownStringValue :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\NullableSystemTypeValue.cs (1)
17
internal sealed record NullableSystemTypeValue :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\NullValue.cs (1)
11
internal sealed record NullValue :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeMethodHandleValue.cs (1)
15
internal sealed partial record RuntimeMethodHandleValue :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeTypeHandleForGenericParameterValue.cs (1)
15
internal sealed record RuntimeTypeHandleForGenericParameterValue :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeTypeHandleForNullableSystemTypeValue.cs (1)
17
internal sealed record RuntimeTypeHandleForNullableSystemTypeValue :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeTypeHandleForNullableValueWithDynamicallyAccessedMembers.cs (1)
17
internal sealed record RuntimeTypeHandleForNullableValueWithDynamicallyAccessedMembers :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeTypeHandleForValueWithDynamicallyAccessedMembers.cs (1)
16
internal sealed record RuntimeTypeHandleForValueWithDynamicallyAccessedMembers :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeTypeHandleValue.cs (1)
15
internal sealed record RuntimeTypeHandleValue :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\SystemReflectionMethodBaseValue.cs (1)
15
internal sealed partial record SystemReflectionMethodBaseValue :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\SystemTypeValue.cs (1)
15
internal sealed record SystemTypeValue :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\UnknownValue.cs (1)
11
internal sealed record UnknownValue :
SingleValue
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\ValueWithDynamicallyAccessedMembers.cs (1)
13
public abstract record ValueWithDynamicallyAccessedMembers :
SingleValue
122 references to SingleValue
illink (122)
Linker.Dataflow\ArrayValue.cs (5)
11
using MultiValue = ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>;
21
foreach (
var
sizeValue in size.AsEnumerable())
37
ArrayValue(
SingleValue
size, TypeReference elementType)
85
public override
SingleValue
DeepCopy()
94
foreach (
SingleValue
v in kvp.Value.Value.AsEnumerable())
Linker.Dataflow\AttributeDataFlow.cs (2)
10
using MultiValue = ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>;
44
var
fieldValueCandidate = _context.Annotations.FlowAnnotations.GetFieldValue(field);
Linker.Dataflow\FieldReferenceValue.cs (1)
11
public override
SingleValue
DeepCopy() => this;
Linker.Dataflow\FieldValue.cs (1)
33
public override
SingleValue
DeepCopy() => this; // This value is immutable
Linker.Dataflow\FlowAnnotations.cs (2)
897
internal
SingleValue
GetFieldValue(FieldReference field)
905
internal
SingleValue
GetTypeValueFromGenericArgument(TypeReference genericArgument)
Linker.Dataflow\GenericArgumentDataFlow.cs (1)
10
using MultiValue = ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>;
Linker.Dataflow\GenericParameterValue.cs (1)
29
public override
SingleValue
DeepCopy() => this; // This value is immutable
Linker.Dataflow\HandleCallAction.cs (2)
14
using MultiValue = ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>;
115
foreach (
var
valueNode in instanceValue.AsEnumerable())
Linker.Dataflow\InterproceduralState.cs (4)
13
ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>>;
14
using MultiValue = ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>;
93
public readonly DictionaryLattice<HoistedLocalKey, MultiValue, ValueSetLattice<
SingleValue
>> HoistedLocalsLattice;
98
DictionaryLattice<HoistedLocalKey, MultiValue, ValueSetLattice<
SingleValue
>> hoistedLocalsLattice,
Linker.Dataflow\LocalVariableReferenceValue.cs (1)
11
public override
SingleValue
DeepCopy()
Linker.Dataflow\MethodBodyScanner.cs (11)
18
using MultiValue = ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>;
34
public StackSlot(
SingleValue
value)
49
protected static ValueSetLattice<
SingleValue
> MultiValueLattice => default;
199
foreach (
var
val in localValue.AsEnumerable())
776
protected abstract
SingleValue
GetMethodParameterValue(ParameterProxy parameter);
807
var
targetValue = GetMethodParameterValue(param);
939
foreach (
var
value in target.AsEnumerable())
1054
foreach (
var
value in GetFieldValue(field).AsEnumerable())
1109
foreach (
var
value in maybeReferenceValue.AsEnumerable())
1212
foreach (
var
v in param.AsEnumerable())
1258
foreach (
var
array in arrayToStoreIn.Value.AsEnumerable())
Linker.Dataflow\MethodReturnValue.cs (1)
45
public override
SingleValue
DeepCopy() => this; // This value is immutable
Linker.Dataflow\ParameterReferenceValue.cs (1)
11
public override
SingleValue
DeepCopy()
Linker.Dataflow\ReflectionMethodBodyScanner.cs (1)
14
using MultiValue = ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>;
Linker.Dataflow\TrimAnalysisAssignmentPattern.cs (4)
8
using MultiValue = ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>;
30
public TrimAnalysisAssignmentPattern Merge(ValueSetLattice<
SingleValue
> lattice, TrimAnalysisAssignmentPattern other)
47
foreach (
var
sourceValue in Source.AsEnumerable())
49
foreach (
var
targetValue in Target.AsEnumerable())
Linker.Dataflow\TrimAnalysisMethodCallPattern.cs (2)
11
using MultiValue = ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>;
48
public TrimAnalysisMethodCallPattern Merge(ValueSetLattice<
SingleValue
> lattice, TrimAnalysisMethodCallPattern other)
Linker.Dataflow\TrimAnalysisPatternStore.cs (2)
16
readonly ValueSetLattice<
SingleValue
> Lattice;
19
public TrimAnalysisPatternStore(ValueSetLattice<
SingleValue
> lattice, LinkContext context)
Linker.Dataflow\ValueNode.cs (1)
7
using MultiValue = ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>;
src\runtime\src\tools\illink\src\ILLink.Shared\DataFlow\SingleValue.cs (2)
15
public abstract record SingleValue : IDeepCopyValue<
SingleValue
>
22
public abstract
SingleValue
DeepCopy();
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\ArrayOfAnnotatedSystemTypeValue.cs (2)
27
public override
SingleValue
DeepCopy()
32
public
SingleValue
GetAnyElementValue()
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\ArrayValue.cs (4)
6
using MultiValue = ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>;
15
private static ValueSetLattice<
SingleValue
> MultiValueLattice => default;
17
public readonly
SingleValue
Size;
37
foreach (
var
v in input.AsEnumerable())
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\AssemblyValue.cs (1)
21
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\ConstIntValue.cs (1)
20
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (43)
14
using MultiValue = ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>;
24
private static ValueSetLattice<
SingleValue
> MultiValueLattice => default;
51
foreach (
var
uniqueValue in methodReturnValue.AsEnumerable())
132
foreach (
var
value in argumentValues[0].AsEnumerable())
163
foreach (
var
value in instanceValue.AsEnumerable())
194
foreach (
var
value in instanceValue.AsEnumerable())
220
foreach (
var
value in argumentValues[0].AsEnumerable())
238
foreach (
var
value in instanceValue.AsEnumerable())
270
foreach (
var
value in instanceValue.AsEnumerable())
272
foreach (
var
interfaceName in argumentValues[0].AsEnumerable())
318
foreach (
var
value in instanceValue.AsEnumerable())
350
foreach (
var
value in instanceValue.AsEnumerable())
385
foreach (
var
typeHandleValue in argumentValues[0].AsEnumerable())
505
foreach (
var
value in instanceValue.AsEnumerable())
509
foreach (
var
stringParam in argumentValues[0].AsEnumerable())
589
foreach (
var
value in instanceValue.AsEnumerable())
629
foreach (
var
value in instanceValue.AsEnumerable())
633
foreach (
var
stringParam in argumentValues[0].AsEnumerable())
663
foreach (
var
stringParam in argumentValues[0].AsEnumerable())
717
foreach (
var
value in instanceValue.AsEnumerable())
721
foreach (
var
stringParam in argumentValues[0].AsEnumerable())
801
foreach (
var
value in argumentValues[0].AsEnumerable())
805
foreach (
var
stringParam in argumentValues[1].AsEnumerable())
863
foreach (
var
value in argumentValues[0].AsEnumerable())
890
foreach (
var
value in argumentValues[1].AsEnumerable())
933
foreach (
var
value in argumentValues[1].AsEnumerable())
937
foreach (
var
stringParam in argumentValues[2].AsEnumerable())
984
foreach (
var
value in argumentValues[0].AsEnumerable())
988
foreach (
var
stringParam in argumentValues[1].AsEnumerable())
1036
foreach (
var
singlevalue in argumentValues[0].AsEnumerable())
1082
foreach (
var
typeNameValue in argumentValues[0].AsEnumerable())
1129
foreach (
var
value in instanceValue.AsEnumerable())
1143
foreach (
var
argumentValue in argumentValues[0].AsEnumerable())
1147
foreach (
var
underlyingValue in underlyingMultiValue.AsEnumerable())
1222
foreach (
var
value in instanceValue.AsEnumerable())
1332
foreach (
var
value in instanceValue.AsEnumerable())
1374
foreach (
var
methodValue in instanceValue.AsEnumerable())
1459
foreach (
var
value in argumentValues[0].AsEnumerable())
1566
foreach (
var
assemblyValue in instanceValue.AsEnumerable())
1574
foreach (
var
typeNameValue in argumentValues[0].AsEnumerable())
1677
foreach (
var
typesValue in arrayParam.AsEnumerable())
1776
foreach (
var
assemblyNameValue in argumentValues[0].AsEnumerable())
1785
foreach (
var
typeNameValue in argumentValues[1].AsEnumerable())
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\KnownStringValue.cs (1)
20
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\MethodParameterValue.cs (1)
28
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\NullableSystemTypeValue.cs (1)
29
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\NullableUnwrappedGenericParameterValue.cs (1)
29
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\NullableValueWithDynamicallyAccessedMembers.cs (1)
35
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\NullValue.cs (1)
19
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (2)
9
using MultiValue = ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>;
26
foreach (
var
uniqueValue in value.AsEnumerable())
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeMethodHandleValue.cs (1)
24
public override
SingleValue
DeepCopy() => this; // immutable value
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeTypeHandleForGenericParameterValue.cs (1)
21
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeTypeHandleForNullableSystemTypeValue.cs (1)
29
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeTypeHandleForNullableValueWithDynamicallyAccessedMembers.cs (3)
19
public RuntimeTypeHandleForNullableValueWithDynamicallyAccessedMembers(in TypeProxy nullableType, in
SingleValue
underlyingTypeValue)
27
public readonly
SingleValue
UnderlyingTypeValue;
29
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeTypeHandleForValueWithDynamicallyAccessedMembers.cs (1)
25
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeTypeHandleValue.cs (1)
24
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\SystemReflectionMethodBaseValue.cs (1)
21
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\SystemTypeValue.cs (1)
24
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\UnknownValue.cs (1)
19
public override
SingleValue
DeepCopy() => this; // This value is immutable
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\ValueExtensions.cs (7)
7
using MultiValue = ILLink.Shared.DataFlow.ValueSet<ILLink.Shared.DataFlow.
SingleValue
>;
16
internal static string ValueToString(this
SingleValue
value, params object[] args)
37
internal static int? AsConstInt(this
SingleValue
value)
53
internal static
SingleValue
? AsSingleValue(this in MultiValue node)
62
private static ValueSet<
SingleValue
>.Enumerable Unknown = new ValueSet<
SingleValue
>.Enumerable(UnknownValue.Instance);
66
internal static ValueSet<
SingleValue
>.Enumerable AsEnumerable(this MultiValue multiValue)