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