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);
856
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.ConstrainedDirectCall, constrainedCallInfo), reason);
861
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.MethodEntry, runtimeDeterminedTarget), reason);
873
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.MethodEntry, runtimeDeterminedMethod), reason);
877
_dependencies.
Add
(_factory.FatFunctionPointer(targetMethod), reason);
900
_dependencies.
Add
(_factory.StringAllocator(targetMethod), reason);
929
_dependencies.
Add
(instParam, reason);
932
_dependencies.
Add
(_factory.CanonicalEntrypoint(targetMethod), reason);
937
_dependencies.
Add
(GetMethodEntrypoint(targetMethod), reason);
942
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, _constrained), reason);
944
_dependencies.
Add
(_factory.ConstructedTypeSymbol(_constrained), reason);
950
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, runtimeDeterminedMethod.OwningType), reason);
970
_dependencies.
Add
(instParam, reason);
973
_dependencies.
Add
(GetMethodEntrypoint(targetMethod), reason);
997
_dependencies.
Add
(GetGenericLookupHelper(constrainedHelperId, constrainedCallInfo), reason);
1011
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.DispatchCell, methodToLookup), reason);
1018
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.GVMLookupForSlot), reason);
1024
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.DispatchCell, runtimeDeterminedMethod), reason);
1059
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.DelegateCtor, info), reason);
1061
_dependencies.
Add
(_factory.ReadyToRunHelper(ReadyToRunHelperId.DelegateCtor, info), reason);
1074
_dependencies.
Add
(_compilation.NodeFactory.MethodEntrypoint(resumptionStub), asyncReason);
1076
_dependencies.
Add
(_factory.ConstructedTypeSymbol(_compilation.TypeSystemContext.ContinuationType), asyncReason);
1080
_dependencies.
Add
(_compilation.GetHelperEntrypoint(ReadyToRunHelper.AllocContinuation), asyncReason);
1081
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureExecutionContext"u8, null)), asyncReason);
1082
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureContinuationContext"u8, null)), asyncReason);
1083
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("RestoreContextsOnSuspension"u8, null)), asyncReason);
1084
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("FinishSuspensionNoContinuationContext"u8, null)), asyncReason);
1085
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("FinishSuspensionWithContinuationContext"u8, null)), asyncReason);
1089
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("RestoreInlinedFrameContexts"u8, null)), asyncReason);
1090
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureInlinedFrameTransitionWithContinuationContext"u8, null)), asyncReason);
1091
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureInlinedFrameTransitionNoContinuationContext"u8, null)), asyncReason);
1092
_dependencies.
Add
(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureInlinedFrameTransitionContinueOnThreadPool"u8, null)), asyncReason);
1132
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.MethodDictionary, runtimeDeterminedResult), reason);
1133
_dependencies.
Add
(_factory.CanonicalEntrypoint(targetMethod), reason);
1139
_dependencies.
Add
(_factory.MethodGenericDictionary(runtimeDeterminedResult), reason);
1142
_dependencies.
Add
(GetMethodEntrypoint(targetMethod), reason);
1173
_dependencies.
Add
(_factory.CanonicalEntrypoint(stub), "calli");
1263
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.NecessaryTypeHandle, type), "Unbox");
1267
_dependencies.
Add
(_factory.NecessaryTypeSymbol(type), "Unbox");
1274
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Unbox_TypeTest), "Unbox");
1282
_dependencies.
Add
(GetHelperEntrypoint(helper), "Unbox");
1287
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.GetRefAny), "refanyval");
1293
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.TypeHandleToRuntimeType), "mkrefany");
1294
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.TypeHandleToRuntimeTypeHandle), "mkrefany");
1304
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, type), reason);
1308
_dependencies.
Add
(_factory.MaximallyConstructableType(type), reason);
1337
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.GetRuntimeTypeHandle), "ldtoken");
1338
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.GetRuntimeType), "ldtoken");
1355
_dependencies.
Add
(reference, "ldtoken");
1363
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.MethodHandle, method), "ldtoken");
1370
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.GetRuntimeMethodHandle), "ldtoken");
1386
_dependencies.
Add
(_compilation.GetFieldRvaData(field), "InitializeArray/CreateSpan RVA data");
1393
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.FieldHandle, field), "ldtoken");
1400
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.GetRuntimeFieldHandle), "ldtoken");
1473
_dependencies.
Add
(_compilation.GetFieldRvaData(field), reason);
1499
_dependencies.
Add
(GetGenericLookupHelper(helperId, owningType), reason);
1503
_dependencies.
Add
(_factory.ReadyToRunHelper(helperId, owningType), reason);
1589
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, type), reason);
1593
_dependencies.
Add
(_factory.ConstructedTypeSymbol(type), reason);
1598
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Box_Nullable), reason);
1602
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Box), reason);
1617
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, elementType.MakeArrayType()), "newarr");
1618
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.NewArray), "newarr");
1624
_dependencies.
Add
(_factory.ConstructedTypeSymbol(elementType.MakeArrayType()), "newarr");
1630
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.RngChkFail), "ldelem");
1635
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.RngChkFail), "ldelem");
1647
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Stelem_Ref), "stelem");
1650
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.RngChkFail), "stelem");
1659
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.NecessaryTypeHandle, elementType), "ldelema");
1661
_dependencies.
Add
(_factory.NecessaryTypeSymbol(elementType), "ldelema");
1663
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Ldelema_Ref), "ldelema");
1666
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.RngChkFail), "ldelema");
1677
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Overflow), "_ovf");
1683
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.LMulOfv), "_lmulovf");
1684
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.ULMulOvf), "_ulmulovf");
1687
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Overflow), "_ovf");
1693
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.ULDiv), "_uldiv");
1694
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.LDiv), "_ldiv");
1698
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.UDiv), "_udiv");
1699
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Div), "_div");
1704
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.ThrowDivZero), "_divbyzero");
1707
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Overflow), "_ovf");
1715
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.ULMod), "_ulmod");
1716
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.LMod), "_lmod");
1719
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.UMod), "_umod");
1720
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Mod), "_mod");
1725
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.ThrowDivZero), "_divbyzero");
1728
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Overflow), "_ovf");
1732
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.DblRem), "rem");
1733
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.FltRem), "rem");
1742
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Dbl2IntOvf), "_dbl2intovf");
1743
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Dbl2UIntOvf), "_dbl2uintovf");
1744
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Dbl2LngOvf), "_dbl2lngovf");
1745
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Dbl2ULngOvf), "_dbl2ulngovf");
1747
_dependencies.
Add
(GetHelperEntrypoint(ReadyToRunHelper.Overflow), "_ovf");
2075
_dependencies.
Add
(GetGenericLookupHelper(ReadyToRunHelperId.MethodDictionary, runtimeDeterminedResult), reason);
2076
_dependencies.
Add
(_factory.CanonicalEntrypoint(targetMethod), reason);
2082
_dependencies.
Add
(_compilation.NodeFactory.MethodGenericDictionary(runtimeDeterminedResult), reason);
2085
_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)
4417
(_dependencies ??= new DependencyList()).
Add
(node, reason);
ILCompiler.RyuJit (1)
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
4417
(_dependencies ??= new DependencyList()).
Add
(node, reason);