Implemented interface member:
method
Add
ILCompiler.DependencyAnalysisFramework.DependencyNodeCore<DependencyContextType>.IDependencySink.Add(System.Object, System.String)
126 references to Add
ILCompiler.Compiler (123)
IL\ILImporter.Scanner.cs (123)
149
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.GetNonGCStaticBase, method.OwningType), "Owning type cctor");
153
_dependencies.
Add
(_factory.ReadyToRunHelper(ReadyToRunHelperId.GetNonGCStaticBase, method.OwningType), "Owning type cctor");
162
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.MonitorEnter), reason);
163
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.MonitorExit), reason);
166
_dependencies.
Add
(_compilation.NodeFactory.MethodEntrypoint(_compilation.NodeFactory.TypeSystemContext.GetCoreLibEntryPoint("System"u8, "Type"u8, "GetTypeFromMethodTable"u8, null)), reason);
171
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.NecessaryTypeHandle, method.OwningType), reason);
175
_dependencies.
Add
(_factory.NecessaryTypeSymbol(method.OwningType), reason);
181
_dependencies.
Add
(_compilation.NodeFactory.MethodEntrypoint(_compilation.NodeFactory.TypeSystemContext.GetCoreLibEntryPoint("Internal.Runtime.CompilerHelpers"u8, "SharedCodeHelpers"u8, "GetClassHandleFromMethodParam"u8, null)), reason);
190
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureContexts"u8, null)), reason);
191
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("RestoreContexts"u8, null)), reason);
280
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandleForCasting, catchType), "EH");
284
_dependencies.
Add
(_compilation.ComputeConstantLookup(ReadyToRunHelperId.TypeHandleForCasting, catchType), "EH");
325
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandleForCasting, type), "IsInst/CastClass");
329
_dependencies.
Add
(_compilation.ComputeConstantLookup(ReadyToRunHelperId.TypeHandleForCasting, type), "IsInst/CastClass");
623
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, owningType), reason);
627
_dependencies.
Add
(_factory.ConstructedTypeSymbol(owningType), reason);
635
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.NewMultiDimArrRare), reason);
637
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.NewMultiDimArr), reason);
642
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.NewObject), reason);
664
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.DefaultConstructor, runtimeDeterminedMethod.Instantiation[0]), reason);
670
_dependencies.
Add
(type.IsValueType ? _factory.ExactCallableAddress(ctor) : _factory.CanonicalEntrypoint(ctor), reason);
680
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.ObjectAllocator, runtimeDeterminedMethod.Instantiation[0]), reason);
684
_dependencies.
Add
(_compilation.ComputeConstantLookup(ReadyToRunHelperId.ObjectAllocator, method.Instantiation[0]), reason);
694
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, runtimeDeterminedMethod.Instantiation[0]), reason);
698
_dependencies.
Add
(_factory.ConstructedTypeSymbol(method.Instantiation[0]), reason);
849
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.ConstrainedDirectCall, constrainedCallInfo), reason);
868
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.MethodEntry, targetOfLookup), reason);
880
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.MethodEntry, runtimeDeterminedMethod), reason);
884
_dependencies.
Add
(_factory.FatFunctionPointer(targetMethod), reason);
907
_dependencies.
Add
(_factory.StringAllocator(targetMethod), reason);
936
_dependencies.
Add
(instParam, reason);
939
_dependencies.
Add
(_factory.CanonicalEntrypoint(targetMethod), reason);
944
_dependencies.
Add
(GetMethodEntrypoint(targetMethod), reason);
949
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, _constrained), reason);
951
_dependencies.
Add
(_factory.ConstructedTypeSymbol(_constrained), reason);
957
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, runtimeDeterminedMethod.OwningType), reason);
977
_dependencies.
Add
(instParam, reason);
980
_dependencies.
Add
(GetMethodEntrypoint(targetMethod), reason);
1004
_dependencies.
Add
(GetGenericLookupHelper(constrainedHelperId, constrainedCallInfo), reason);
1018
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.DispatchCell, methodToLookup), reason);
1025
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.GVMLookupForSlot), reason);
1031
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.DispatchCell, runtimeDeterminedMethod), reason);
1066
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.DelegateCtor, info), reason);
1068
_dependencies.
Add
(_factory.ReadyToRunHelper(ReadyToRunHelperId.DelegateCtor, info), reason);
1081
_dependencies.
Add
(_compilation.NodeFactory.MethodEntrypoint(resumptionStub), asyncReason);
1083
_dependencies.
Add
(_factory.ConstructedTypeSymbol(_compilation.TypeSystemContext.ContinuationType), asyncReason);
1087
_dependencies.
Add
(_compilation.GetHelperEntrypoint(ReadyToRunHelper.AllocContinuation), asyncReason);
1088
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureExecutionContext"u8, null)), asyncReason);
1089
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureContinuationContext"u8, null)), asyncReason);
1090
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("RestoreContextsOnSuspension"u8, null)), asyncReason);
1091
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("FinishSuspensionNoContinuationContext"u8, null)), asyncReason);
1092
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("FinishSuspensionWithContinuationContext"u8, null)), asyncReason);
1096
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("RestoreInlinedFrameContexts"u8, null)), asyncReason);
1097
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureInlinedFrameTransitionWithContinuationContext"u8, null)), asyncReason);
1098
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureInlinedFrameTransitionNoContinuationContext"u8, null)), asyncReason);
1099
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureInlinedFrameTransitionContinueOnThreadPool"u8, null)), asyncReason);
1139
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.MethodDictionary, runtimeDeterminedResult), reason);
1140
_dependencies.
Add
(_factory.CanonicalEntrypoint(targetMethod), reason);
1146
_dependencies.
Add
(_factory.MethodGenericDictionary(runtimeDeterminedResult), reason);
1149
_dependencies.
Add
(GetMethodEntrypoint(targetMethod), reason);
1180
_dependencies.
Add
(_factory.CanonicalEntrypoint(stub), "calli");
1270
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.NecessaryTypeHandle, type), "Unbox");
1274
_dependencies.
Add
(_factory.NecessaryTypeSymbol(type), "Unbox");
1281
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Unbox_TypeTest), "Unbox");
1289
_dependencies.
Add
(GetHelperEntrypoint(helper), "Unbox");
1294
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.GetRefAny), "refanyval");
1300
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.TypeHandleToRuntimeType), "mkrefany");
1301
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.TypeHandleToRuntimeTypeHandle), "mkrefany");
1311
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, type), reason);
1315
_dependencies.
Add
(_factory.MaximallyConstructableType(type), reason);
1344
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.GetRuntimeTypeHandle), "ldtoken");
1345
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.GetRuntimeType), "ldtoken");
1362
_dependencies.
Add
(reference, "ldtoken");
1370
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.MethodHandle, method), "ldtoken");
1377
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.GetRuntimeMethodHandle), "ldtoken");
1393
_dependencies.
Add
(_compilation.GetFieldRvaData(field), "InitializeArray/CreateSpan RVA data");
1400
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.FieldHandle, field), "ldtoken");
1407
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.GetRuntimeFieldHandle), "ldtoken");
1480
_dependencies.
Add
(_compilation.GetFieldRvaData(field), reason);
1506
_dependencies.
Add
(GetGenericLookupHelper(helperId, owningType), reason);
1510
_dependencies.
Add
(_factory.ReadyToRunHelper(helperId, owningType), reason);
1596
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, type), reason);
1600
_dependencies.
Add
(_factory.ConstructedTypeSymbol(type), reason);
1605
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Box_Nullable), reason);
1609
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Box), reason);
1624
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, elementType.MakeArrayType()), "newarr");
1625
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.NewArray), "newarr");
1631
_dependencies.
Add
(_factory.ConstructedTypeSymbol(elementType.MakeArrayType()), "newarr");
1637
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.RngChkFail), "ldelem");
1642
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.RngChkFail), "ldelem");
1654
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Stelem_Ref), "stelem");
1657
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.RngChkFail), "stelem");
1666
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.NecessaryTypeHandle, elementType), "ldelema");
1668
_dependencies.
Add
(_factory.NecessaryTypeSymbol(elementType), "ldelema");
1670
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Ldelema_Ref), "ldelema");
1673
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.RngChkFail), "ldelema");
1684
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Overflow), "_ovf");
1690
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.LMulOfv), "_lmulovf");
1691
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.ULMulOvf), "_ulmulovf");
1694
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Overflow), "_ovf");
1700
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.ULDiv), "_uldiv");
1701
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.LDiv), "_ldiv");
1705
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.UDiv), "_udiv");
1706
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Div), "_div");
1711
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.ThrowDivZero), "_divbyzero");
1714
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Overflow), "_ovf");
1722
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.ULMod), "_ulmod");
1723
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.LMod), "_lmod");
1726
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.UMod), "_umod");
1727
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Mod), "_mod");
1732
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.ThrowDivZero), "_divbyzero");
1735
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Overflow), "_ovf");
1739
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.DblRem), "rem");
1740
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.FltRem), "rem");
1749
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Dbl2IntOvf), "_dbl2intovf");
1750
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Dbl2UIntOvf), "_dbl2uintovf");
1751
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Dbl2LngOvf), "_dbl2lngovf");
1752
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Dbl2ULngOvf), "_dbl2ulngovf");
1754
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Overflow), "_ovf");
2082
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.MethodDictionary, runtimeDeterminedResult), reason);
2083
_dependencies.
Add
(_factory.CanonicalEntrypoint(targetMethod), reason);
2089
_dependencies.
Add
(_compilation.NodeFactory.MethodGenericDictionary(runtimeDeterminedResult), reason);
2092
_dependencies.
Add
(GetMethodEntrypoint(targetMethod), reason);
ILCompiler.ReadyToRun (2)
Compiler\DependencyAnalysis\ReadyToRun\MethodWithGCInfo.cs (1)
72
_nonRelocationDependencies.
Add
(node, "Selected deferred Wasm call");
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
4403
(_dependencies ??= new DependencyList()).
Add
(node, reason);
ILCompiler.RyuJit (1)
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
4403
(_dependencies ??= new DependencyList()).
Add
(node, reason);