2 instantiations of MethodCodeNode
ILCompiler.RyuJit (2)
Compiler\DependencyAnalysis\RyuJitNodeFactory.cs (2)
45return new MethodCodeNode(method); 63return new MethodCodeNode(TypeSystemContext.GetSpecialUnboxingThunk(method, TypeSystemContext.GeneratedAssembly));
46 references to MethodCodeNode
ILCompiler.RyuJit (46)
Compiler\DependencyAnalysis\MethodCodeNode.cs (3)
323return comparer.Compare(_method, ((MethodCodeNode)other)._method); 333private readonly MethodCodeNode _node; 335public MethodCodeNodeDebugView(MethodCodeNode node)
Compiler\RyuJitCompilation.cs (9)
125var methodsToCompile = new List<MethodCodeNode>(); 130var methodCodeNodeNeedingCode = dependency as MethodCodeNode; 136methodCodeNodeNeedingCode = (MethodCodeNode)dependencyMethod.CanonicalMethodNode; 159private void CompileMultiThreaded(List<MethodCodeNode> methodsToCompile) 173private void CompileSingleThreaded(List<MethodCodeNode> methodsToCompile) 177foreach (MethodCodeNode methodCodeNodeNeedingCode in methodsToCompile) 188private void CompileSingleMethod(MethodCodeNode methodCodeNodeNeedingCode) 194private void CompileSingleMethod(CorInfoImpl corInfo, MethodCodeNode methodCodeNodeNeedingCode)
JitInterface\CorInfoImpl.RyuJit.cs (2)
37private MethodCodeNode _methodCodeNode; 65public void CompileMethod(MethodCodeNode methodCodeNodeNeedingCode, MethodIL methodIL = null)
src\runtime\src\coreclr\tools\aot\ILCompiler.ReadyToRun\Compiler\FileLayoutOptimizer.cs (32)
23using MethodWithGCInfo = ILCompiler.DependencyAnalysis.MethodCodeNode; 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) 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);