59 references to AddReturnValue
illink (59)
Linker.Dataflow\HandleCallAction.cs (8)
71
AddReturnValue
(argumentValues[0]);
76
AddReturnValue
(ArrayValue.Create (0, ((GenericInstanceMethod) calledMethod.Method).GenericArguments[0]));
104
AddReturnValue
(MultiValueLattice.Top);
137
AddReturnValue
(_context.Annotations.FlowAnnotations.GetMethodReturnValue (calledMethod, _isNewObj, annotation));
140
AddReturnValue
(_context.Annotations.FlowAnnotations.GetMethodReturnValue (calledMethod, _isNewObj));
158
AddReturnValue
(new SystemTypeValue (new (staticType, _context)));
160
AddReturnValue
(_context.Annotations.FlowAnnotations.GetMethodReturnValue (calledMethod, _isNewObj, DynamicallyAccessedMemberTypes.PublicFields));
172
AddReturnValue
(_context.Annotations.FlowAnnotations.GetMethodReturnValue (calledMethod, _isNewObj, annotation));
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (51)
122
AddReturnValue
(value switch {
151
AddReturnValue
(value switch {
167
AddReturnValue
(MultiValueLattice.Top);
182
AddReturnValue
(new SystemReflectionMethodBaseValue (methodHandle.RepresentedMethod));
184
AddReturnValue
(annotatedMethodReturnValue);
197
AddReturnValue
(new RuntimeMethodHandleValue (methodBaseValue.RepresentedMethod));
199
AddReturnValue
(annotatedMethodReturnValue);
228
AddReturnValue
(MultiValueLattice.Top);
230
AddReturnValue
(NullValue.Instance);
246
AddReturnValue
(_annotations.GetMethodReturnValue (calledMethod, _isNewObj, returnMemberTypes));
268
AddReturnValue
(valueWithDynamicallyAccessedMembers);
271
AddReturnValue
(MultiValueLattice.Top);
273
AddReturnValue
(UnknownValue.Instance);
499
AddReturnValue
(MultiValueLattice.Top); ; // Initialize return value (so that it's not autofilled if there are no matching methods)
501
AddReturnValue
(methodValue);
504
AddReturnValue
(MultiValueLattice.Top);
508
AddReturnValue
(annotatedMethodReturnValue);
513
AddReturnValue
(MultiValueLattice.Top);
517
AddReturnValue
(annotatedMethodReturnValue);
554
AddReturnValue
(MultiValueLattice.Top);
557
AddReturnValue
(nestedTypeValue);
560
AddReturnValue
(MultiValueLattice.Top);
567
AddReturnValue
(_annotations.GetMethodReturnValue (calledMethod, _isNewObj, ImplicitNestedTypeAccessLevel));
572
AddReturnValue
(MultiValueLattice.Top);
581
AddReturnValue
(_annotations.GetMethodReturnValue (calledMethod, _isNewObj, DynamicallyAccessedMemberTypes.All));
583
AddReturnValue
(_annotations.GetMethodReturnValue (calledMethod, _isNewObj, ImplicitNestedTypeAccessLevel));
630
AddReturnValue
(MultiValueLattice.Top); // Initialize return value (so that it's not autofilled if there are no matching methods)
632
AddReturnValue
(methodValue);
642
AddReturnValue
(MultiValueLattice.Top);
645
AddReturnValue
(annotatedMethodReturnValue);
650
AddReturnValue
(MultiValueLattice.Top);
653
AddReturnValue
(annotatedMethodReturnValue);
802
AddReturnValue
(singlevalue switch {
845
AddReturnValue
(MultiValueLattice.Top);
847
AddReturnValue
(new SystemTypeValue (foundType));
851
AddReturnValue
(MultiValueLattice.Top);
855
AddReturnValue
(_annotations.GetMethodReturnValue (calledMethod, _isNewObj, valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes));
858
AddReturnValue
(MultiValueLattice.Top);
895
AddReturnValue
(MultiValueLattice.Top);
898
AddReturnValue
(new NullableSystemTypeValue (typeValue.RepresentedType, new SystemTypeValue (systemTypeValue.RepresentedType)));
902
AddReturnValue
(new NullableValueWithDynamicallyAccessedMembers (typeValue.RepresentedType, damValue));
908
AddReturnValue
(value);
915
AddReturnValue
(value);
929
AddReturnValue
(MultiValueLattice.Top);
938
AddReturnValue
(value);
1003
AddReturnValue
(_annotations.GetMethodReturnValue (calledMethod, _isNewObj, propagatedMemberTypes));
1006
AddReturnValue
(new SystemTypeValue (baseType.Value));
1008
AddReturnValue
(annotatedMethodReturnValue);
1011
AddReturnValue
(MultiValueLattice.Top);
1015
AddReturnValue
(annotatedMethodReturnValue);
1095
AddReturnValue
(instanceValue);