1 instantiation of MethodWithGCInfo
ILCompiler.ReadyToRun (1)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
322return new MethodWithGCInfo(key);
97 references to MethodWithGCInfo
ILCompiler.ReadyToRun (97)
CodeGen\ReadyToRunObjectWriter.cs (1)
195foreach (MethodWithGCInfo methodNode in _nodeFactory.EnumerateCompiledMethods())
Compiler\DependencyAnalysis\ReadyToRun\DebugInfoTableNode.cs (1)
85foreach (MethodWithGCInfo method in factory.EnumerateCompiledMethods())
Compiler\DependencyAnalysis\ReadyToRun\DelayLoadMethodImport.cs (3)
14private readonly MethodWithGCInfo _localMethod; 20MethodWithGCInfo localMethod, 39public MethodWithGCInfo MethodCodeNode => _localMethod;
Compiler\DependencyAnalysis\ReadyToRun\ExceptionInfoLookupTableNode.cs (3)
64private List<MethodWithGCInfo> _methodNodes; 92_methodNodes = new List<MethodWithGCInfo>(); 95foreach (MethodWithGCInfo method in _nodeFactory.EnumerateCompiledMethods())
Compiler\DependencyAnalysis\ReadyToRun\InliningInfoNode.cs (1)
67foreach (MethodWithGCInfo methodNode in factory.EnumerateCompiledMethods(_module, CompiledMethodCategory.All))
Compiler\DependencyAnalysis\ReadyToRun\InstanceEntryPointTableNode.cs (3)
38foreach (MethodWithGCInfo method in _factory.EnumerateCompiledMethods(null, CompiledMethodCategory.Instantiated)) 85private byte[] BuildSignatureForMethod(MethodWithGCInfo method, NodeFactory factory) 106foreach (MethodWithGCInfo method in factory.EnumerateCompiledMethods(null, CompiledMethodCategory.Instantiated))
Compiler\DependencyAnalysis\ReadyToRun\MethodEntryPointTableNode.cs (3)
25public readonly MethodWithGCInfo Method; 29public EntryPoint(int methodIndex, MethodWithGCInfo method) 51foreach (MethodWithGCInfo method in factory.EnumerateCompiledMethods(_module, CompiledMethodCategory.NonInstantiated))
Compiler\DependencyAnalysis\ReadyToRun\MethodGCInfoNode.cs (2)
15private readonly MethodWithGCInfo _methodNode; 17public MethodGCInfoNode(MethodWithGCInfo methodNode)
Compiler\DependencyAnalysis\ReadyToRun\MethodWithGCInfo.cs (2)
386MethodWithGCInfo otherNode = (MethodWithGCInfo)other;
Compiler\DependencyAnalysis\ReadyToRun\PrecodeMethodImport.cs (3)
15private readonly MethodWithGCInfo _localMethod; 22MethodWithGCInfo localMethod, 38public MethodWithGCInfo MethodCodeNode => _localMethod;
Compiler\DependencyAnalysis\ReadyToRun\ResumptionStubEntryPointSignature.cs (2)
11private readonly MethodWithGCInfo _resumptionStub; 13public ResumptionStubEntryPointSignature(MethodWithGCInfo resumptionStub) => _resumptionStub = resumptionStub;
Compiler\DependencyAnalysis\ReadyToRun\RuntimeFunctionsTableNode.cs (7)
16private List<MethodWithGCInfo> _methodNodes; 17private Dictionary<MethodWithGCInfo, int> _insertedMethodNodes; 37public int GetIndex(MethodWithGCInfo method) 51_methodNodes = new List<MethodWithGCInfo>(); 52_insertedMethodNodes = new Dictionary<MethodWithGCInfo, int>(); 56foreach (MethodWithGCInfo method in _nodeFactory.EnumerateCompiledMethods()) 83foreach (MethodWithGCInfo method in _methodNodes)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (11)
128private NodeCache<MethodDesc, MethodWithGCInfo> _localMethodCache; 130public MethodWithGCInfo CompiledMethodNode(MethodDesc method) 320_localMethodCache = new NodeCache<MethodDesc, MethodWithGCInfo>(key => 496MethodWithGCInfo methodWithGCInfo = null; 532public IEnumerable<MethodWithGCInfo> EnumerateCompiledMethods() 537public IEnumerable<MethodWithGCInfo> EnumerateCompiledMethods(EcmaModule moduleToEnumerate, CompiledMethodCategory methodCategory) 542MethodWithGCInfo methodCodeNode = methodNode as MethodWithGCInfo; 550MethodWithGCInfo methodCodeNodeDebug = methodNodeDebug as MethodWithGCInfo; 575foreach (MethodWithGCInfo compiled in EnumerateCompiledMethods())
Compiler\DependencyAnalysis\ReadyToRunSymbolNodeFactory.cs (3)
70_resumptionStubEntryPointFixups = new NodeCache<MethodWithGCInfo, Import>(key => 305private NodeCache<MethodWithGCInfo, Import> _resumptionStubEntryPointFixups; 752internal Import ResumptionStubEntryPoint(MethodWithGCInfo resumptionStub)
Compiler\FileLayoutOptimizer.cs (40)
78List<MethodWithGCInfo> methods = new List<MethodWithGCInfo>(); 81if (node is MethodWithGCInfo method) 91List<MethodWithGCInfo> sortedMethodsList = methods; 93foreach (var methodNode in sortedMethodsList) 109foreach (var method in sortedMethodsList) 137private List<MethodWithGCInfo> ApplyMethodSort(List<MethodWithGCInfo> methods) 147int sortMethodWithGCInfoByWeight(MethodWithGCInfo left, MethodWithGCInfo right) 154methods.MergeSortAllowDuplicates((MethodWithGCInfo left, MethodWithGCInfo right) => ComputeHotColdRegion(left).CompareTo(ComputeHotColdRegion(right))); 156int ComputeHotColdRegion(MethodWithGCInfo method) 163methods.MergeSortAllowDuplicates((MethodWithGCInfo left, MethodWithGCInfo right) => (_profileData[left.Method] != null).CompareTo(_profileData[right.Method] != null)); 167methods.MergeSortAllowDuplicates((MethodWithGCInfo left, MethodWithGCInfo right) => ComputeHotWarmColdRegion(left).CompareTo(ComputeHotWarmColdRegion(right))); 169int ComputeHotWarmColdRegion(MethodWithGCInfo method) 202MethodWithGCInfo temp = methods[i]; 209var nameMap = new Dictionary<string, MethodWithGCInfo>(methods.Count); 210var order = new Dictionary<MethodWithGCInfo, int>(methods.Count); 225|| !nameMap.TryGetValue(symbolName, out MethodWithGCInfo m)) 232methods.MergeSortAllowDuplicates((MethodWithGCInfo left, MethodWithGCInfo right) => order[left].CompareTo(order[right])); 242private double MethodWithGCInfoToWeight(MethodWithGCInfo method) 276private List<MethodWithGCInfo> MethodCallFrequencySort(List<MethodWithGCInfo> methodsToPlace) 283Dictionary<MethodDesc, MethodWithGCInfo> methodMap = new Dictionary<MethodDesc, MethodWithGCInfo>(); 284foreach (MethodWithGCInfo methodWithGCInfo in methodsToPlace) 299List<MethodWithGCInfo> outputMethods = new List<MethodWithGCInfo>(); 304if (methodMap.TryGetValue(call.Caller, out MethodWithGCInfo callerWithGCInfo) && callerWithGCInfo != null) 309if (methodMap.TryGetValue(call.Callee, out MethodWithGCInfo calleeWithGCInfo) && calleeWithGCInfo != null) 326private List<MethodWithGCInfo> PettisHansenSort(List<MethodWithGCInfo> methodsToPlace) 331foreach (MethodWithGCInfo method in methodsToPlace) 339foreach (MethodWithGCInfo method in methodsToPlace) 367List<MethodWithGCInfo> result = new List<MethodWithGCInfo>(methodsToPlace.Count);
Compiler\ReadyToRunCodegenCompilation.cs (8)
301private readonly HashSet<MethodWithGCInfo> _methodsToRecompile = new HashSet<MethodWithGCInfo>(); 678public void PrepareForCompilationRetry(MethodWithGCInfo methodToBeRecompiled, IEnumerable<MethodDesc> methodsThatNeedILBodies) 722if (dependency is MethodWithGCInfo methodCodeNodeNeedingCode) 756MethodWithGCInfo[] methodsToRecompile = new MethodWithGCInfo[_methodsToRecompile.Count]; 911MethodWithGCInfo methodCodeNodeNeedingCode = dependency as MethodWithGCInfo;
JitInterface\CorInfoImpl.ReadyToRun.cs (4)
483private MethodWithGCInfo _methodCodeNode; 513private void AddResumptionStubFixup(MethodWithGCInfo compiledStubNode) 788public void CompileMethod(MethodWithGCInfo methodCodeNodeNeedingCode, Logger logger) 2641MethodWithGCInfo targetCodeNode = _compilation.NodeFactory.CompiledMethodNode(compilableTarget);