Implemented interface member:
property
Method
ILCompiler.DependencyAnalysis.IMethodNode.Method
67 references to Method
ILCompiler.ReadyToRun (67)
Compiler\DeferredWasmCallFinalizationPlan.cs (4)
130methodNodes.Sort(static (left, right) => TypeSystemComparer.Instance.Compare(left.Method, right.Method)); 136methods[i] = methodNodes[i].Method; 158if (target is not null && methodIndices.TryGetValue(target.Method, out int calleeIndex))
Compiler\DeferredWasmCallProcessor.cs (4)
101$"Method {method.Method} requires compilation after the deferred Wasm call policy was frozen."); 124import.MethodCodeNode.Method != method.Method.GetCanonMethodTarget(CanonicalFormKind.Specific)) 262finalizedMethods.Add(method.Method); 263_finalizedMethods.Add(method.Method, new DeferredWasmMethodFinalizationInfo(level, isEager));
Compiler\DependencyAnalysis\ReadyToRun\DeferredWasmCallNode.cs (1)
16public MethodDesc Method => Target.Method;
Compiler\DependencyAnalysis\ReadyToRun\InliningInfoNode.cs (1)
75MethodDesc inliner = methodNode.Method;
Compiler\DependencyAnalysis\ReadyToRun\InstanceEntryPointTableNode.cs (10)
40if (method.Method is AsyncResumptionStub) 91return BuildSignatureForMethodDefinedInModule(method.Method, factory); 114if (method.Method is AsyncResumptionStub) 117CompilerTypeSystemContext context = (CompilerTypeSystemContext)method.Method.Context; 118bool isUnboxingThunk = context.IsUnboxingThunk(method.Method); 120Debug.Assert(method.Method.HasInstantiation || method.Method.OwningType.HasInstantiation || method.Method.IsAsyncVariant() || 147MethodDesc hashtableKeyMethod = isUnboxingThunk ? context.GetTargetOfUnboxingThunk(method.Method) : method.Method;
Compiler\DependencyAnalysis\ReadyToRun\MethodEntryPointTableNode.cs (2)
53Debug.Assert(method.Method is EcmaMethod); 54EcmaMethod ecmaMethod = (EcmaMethod)method.Method;
Compiler\DependencyAnalysis\ReadyToRun\ResumptionStubEntryPointSignature.cs (3)
35sb.Append(nameMangler.GetMangledMethodName(_resumptionStub.Method)); 40return comparer.Compare(_resumptionStub.Method, ((ResumptionStubEntryPointSignature)other)._resumptionStub.Method);
Compiler\DependencyAnalysis\ReadyToRun\StoreMultiCallableAddrOfCodeSignature.cs (3)
70sb.Append(nameMangler.GetMangledMethodName(_target.Method)); 80int result = comparer.Compare(_target.Method, otherNode._target.Method);
Compiler\DependencyAnalysis\ReadyToRun\WasmMethodFrameIdentityNode.cs (3)
32protected override string GetName(NodeFactory factory) => $"Wasm frame identity: {_method.Method}"; 56return comparer.Compare(_method.Method, ((WasmMethodFrameIdentityNode)other)._method.Method);
Compiler\DependencyAnalysis\ReadyToRun\WasmMethodRelativeVirtualIPNode.cs (3)
31protected override string GetName(NodeFactory factory) => $"Wasm relative virtual IP: {_method.Method}"; 55return comparer.Compare(_method.Method, ((WasmMethodRelativeVirtualIPNode)other)._method.Method);
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
772set.Add(compiled.Method.GetTypicalMethodDefinition());
Compiler\FileLayoutOptimizer.cs (7)
187methods.MergeSortAllowDuplicates((MethodWithGCInfo left, MethodWithGCInfo right) => (_profileData[left.Method] != null).CompareTo(_profileData[right.Method] != null)); 268var profileData = _profileData[method.Method]; 310methodMap.Add(methodWithGCInfo.Method, methodWithGCInfo); 357mdToIndex.Add(method.Method, index); 365MethodProfileData data = _profileData[method.Method]; 374graphNodes[mdToIndex[method.Method]].IncreaseEdge(graphNodes[otherIndex], count);
Compiler\ReadyToRunCodegenCompilation.cs (18)
778var method = methodCodeNodeNeedingCode.Method; 977if (deniedHelpers.Contains(managedHelper.Method)) 983corInfoImpl.ProbeManagedHelper(managedHelper.Method, Logger); 998LogManagedHelperProbeFailure(managedHelper.Method, "compilation did not produce code"); 999newlyDeniedHelpers.Add(managedHelper.Method); 1003LogManagedHelperProbeFailure(managedHelper.Method, "processor feature fixups are required"); 1004newlyDeniedHelpers.Add(managedHelper.Method); 1009LogManagedHelperProbeFailure(managedHelper.Method, ex.Message); 1010newlyDeniedHelpers.Add(managedHelper.Method); 1014LogManagedHelperProbeFailure(managedHelper.Method, ex.Message); 1015newlyDeniedHelpers.Add(managedHelper.Method); 1019LogManagedHelperProbeFailure(managedHelper.Method, ex.Message); 1020newlyDeniedHelpers.Add(managedHelper.Method); 1059if (!deniedHelpers.Contains(managedHelper.Method)) 1061directManagedHelpers.Add(managedHelper.Method); 1075if (!_deniedManagedHelpers.Contains(managedHelper.Method) && 1079managedHelper.Method, 1160MethodDesc method = methodCodeNodeNeedingCode.Method;
JitInterface\CorInfoImpl.ReadyToRun.cs (3)
973_compilation.NodeFactory.DetectGenericCycles(_methodCodeNode.Method, methodNode.Method); 3609EcmaMethod ecmaMethod = _methodCodeNode.Method.GetTypicalMethodDefinition() as EcmaMethod; 3616if (_methodCodeNode.Method != HandleToObject(ftnHnd))
parent\parent\Common\Compiler\ObjectWriter\WebCilObjectWriter.cs (1)
273$"R2R method {method.Method} has wasm table slot {tableSlot}, expected {expectedTableSlot}");
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
396throw new CodeGenerationFailedException(_methodCodeNode.Method, _lastException.SourceException); 428throw new CodeGenerationFailedException(_methodCodeNode.Method); 708return _methodCodeNode.Method;