1 write to _compilation
ILCompiler.ReadyToRun (1)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
496_compilation = compilation;
230 references to _compilation
ILCompiler.ReadyToRun (230)
JitInterface\CorInfoImpl.ReadyToRun.cs (137)
513AddPrecodeFixup(_compilation.SymbolNodeFactory.ResumptionStubEntryPoint(compiledStubNode)); 518MethodDesc asyncResumptionStub = _compilation.TypeSystemContext.GetAsyncResumptionStub(MethodBeingCompiled, MethodBeingCompiled.OwningType); 519AddResumptionStubFixup(_compilation.NodeFactory.CompiledMethodNode(asyncResumptionStub)); 521entryPoint = (void*)ObjectToHandle(_compilation.NodeFactory.CompiledMethodNode(asyncResumptionStub)); 712if ((_ilBodiesNeeded == null) && _compilation.NodeFactory.OptimizationFlags.DeterminismStress > 0) 734_compilation.DeterminismCheckFailed = true; 735_compilation.Logger.LogMessage($"ERROR: Determinism check compiling method '{MethodBeingCompiled}' failed. Use '{_compilation.GetReproInstructions(MethodBeingCompiled)}' on command line to reproduce the failure."); 737else if (data.Iterations <= _compilation.NodeFactory.OptimizationFlags.DeterminismStress) 747_compilation.PrepareForCompilationRetry(_methodCodeNode, _ilBodiesNeeded); 793if (ShouldSkipCompilation(_compilation.InstructionSetSupport, MethodBeingCompiled, _compilation)) 806MethodIL methodIL = _compilation.GetMethodIL(MethodBeingCompiled); 821if (FunctionHasNonReferenceableTypedILCatchClause(methodIL, _compilation.NodeFactory.CompilationModuleGroup)) 832if ((methodIL.GetMethodILScopeDefinition() is IEcmaMethodIL && _compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && ecmaMethod.Module == typicalDef.Context.SystemModule) || 833(!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(MethodBeingCompiled) && 834_compilation.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(MethodBeingCompiled))) 836ISymbolNode ilBodyNode = _compilation.SymbolNodeFactory.CheckILBodyFixupSignature(typicalDef); 841var resolver = _compilation.NodeFactory.Resolver; 842if (_compilation.CompilationModuleGroup.VersionsWithModule(ecmaMethod.Module)) 852EntityHandle? handle = _compilation.NodeFactory.ManifestMetadataTable._mutableModule.TryGetExistingEntityHandle(ecmaMethod); 855resolver.AddModuleTokenForMethod(MethodBeingCompiled, new ModuleToken(_compilation.NodeFactory.ManifestMetadataTable._mutableModule, handle.Value)); 867if (_compilation.NodeFactory.Target.IsWasm && !MethodBeingCompiled.IsUnmanagedCallersOnly) 871_compilation.NodeFactory.WasmInterpreterToR2RThunk(wasmSig), 897if (_compilation.NodeFactory.Target.IsWasm) 912pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.NewHelper, type)); 922pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.NewArr1, type)); 935pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.IsInstanceOf, type)); 948pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.CastClass, type)); 960pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(helperId, type)); 988MethodIL methodIL = _compilation.GetMethodIL(MethodBeingCompiled); 1002pLookup.constLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.DelegateCtor(delegateTypeDesc, targetMethod)); 1345return _compilation.NodeFactory.GetReadyToRunHelperCell(id); 1352var entrypoint = _compilation.NodeFactory.MethodEntrypoint( 1355_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(method, true, true), 1388if (methodDesc != null && (_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(methodDesc) 1457if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(resultMethod.OwningType)) 1459ModuleToken result = _compilation.NodeFactory.Resolver.GetModuleTokenForMethod(resultMethod, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1474if (!(_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(resultField.OwningType) || resultField.OwningType.IsNonVersionable())) 1476ModuleToken result = _compilation.NodeFactory.Resolver.GetModuleTokenForField(resultField, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1508return _compilation.NodeFactory.Resolver.GetModuleTokenForType(paramType, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1510if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(ecmaType)) 1512return _compilation.NodeFactory.Resolver.GetModuleTokenForType(ecmaType, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1518return _compilation.NodeFactory.Resolver.GetModuleTokenForType(typeDesc, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1534ISymbolNode str = _compilation.SymbolNodeFactory.StringLiteral( 1535new ModuleToken(_compilation.NodeFactory.ManifestMetadataTable._mutableModule, metaTok)); 1541ISymbolNode stringObject = _compilation.SymbolNodeFactory.StringLiteral( 1572&& ((TypeDesc)ResolveTokenInScope(_compilation.GetMethodIL(MethodBeingCompiled), MethodBeingCompiled, (mdToken)classTokenOrOffset)).IsWellKnownType(WellKnownType.Exception)) 1650if (!pHasSideEffects && !_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(type)) 1787pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.RvaFieldAddress(ComputeFieldWithToken(field, ref pResolvedToken))); 1795else if (field.OwningType.IsCanonicalSubtype(CanonicalFormKind.Any) || _compilation.NodeFactory.Target.IsWasm) 1812if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && (fieldOffset <= FieldFixupSignature.MaxCheckableOffset)) 1815AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 1858if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(field.OwningType) && 1865pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.FieldAddress(ComputeFieldWithToken(field, ref pResolvedToken))); 1873if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && (fieldOffset <= FieldFixupSignature.MaxCheckableOffset)) 1876AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 1880_compilation.SymbolNodeFactory.CreateReadyToRunHelper(helperId, field.OwningType) 1967if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) && 1968!_compilation.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(callerMethod)) 2023if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(directMethod)) 2035ModuleToken moduleToken = _compilation.NodeFactory.Resolver.GetModuleTokenForMethod(directMethod, false, false); 2039AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckVirtualFunctionOverride( 2166else if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) || 2168!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(targetMethod.GetTypicalMethodDefinition())) 2342else if (targetMethod.HasInstantiation || _compilation.NodeFactory.Target.IsWasm) // WASM doesn't currently support the stub dispatch path 2433ISymbolNode node = _compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.TypeHandle, type); 2501_compilation.NodeFactory.DetectGenericCycles(callerMethod, methodToCall); 2526else if (_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(constrainedType)) 2552_compilation.SymbolNodeFactory.DispatchCell( 2595&& !_compilation.NodeFactory.Target.IsWasm) 2606MethodWithGCInfo targetCodeNode = _compilation.NodeFactory.CompiledMethodNode(compilableTarget); 2613_compilation.NodeFactory.MethodEntrypoint( 2637_compilation.NodeFactory.DynamicHelperCell( 2644Debug.Assert(!pResult->sig.hasTypeArg() || _compilation.NodeFactory.Target.IsWasm); 2666pResult->instParamLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper( 2672pResult->instParamLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper( 2750_compilation.NodeFactory.DetectGenericCycles(MethodBeingCompiled, constrainedType); 2776_compilation.NodeFactory.DetectGenericCycles(MethodBeingCompiled, sharedMethod); 2787ISymbolNode helper = _compilation.SymbolNodeFactory.GenericLookupHelper( 2906Import import = (Import)_compilation.SymbolNodeFactory.ContinuationTypeSymbol(act); 2910if (!_compilation.CompilationModuleGroup.VersionsWithType(type)) 2913Import typeHandleImport = (Import)_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.TypeHandle, type); 2941symbolNode = _compilation.SymbolNodeFactory.CreateReadyToRunHelper( 2962symbolNode = _compilation.SymbolNodeFactory.CreateReadyToRunHelper( 2969symbolNode = _compilation.SymbolNodeFactory.CreateReadyToRunHelper( 3002return !_compilation.IsLayoutFixedInCurrentVersionBubble(type) || (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && !((MetadataType)type).IsNonVersionable()); 3011if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) && !_compilation.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(callerMethod)) 3027else if (!_compilation.IsLayoutFixedInCurrentVersionBubble(pMT)) 3035AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3045pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.FieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3050if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset)) 3053if (_compilation.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types 3054AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3058else if (_compilation.CompilationModuleGroup.TypeLayoutCompilationUnits(pMT).HasMultipleInexactCompilationUnits) 3075pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.FieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3077else if (_compilation.IsInheritanceChainLayoutFixedInCurrentVersionBubble(pMT.BaseType)) 3079if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset)) 3082if (_compilation.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types 3083AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3090AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3097if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset)) 3100if (_compilation.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types 3101AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3109pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.FieldBaseOffset(field.OwningType)); 3132*ppCookieVal = (IntPtr *)ObjectToHandle(_compilation.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.GSCookie)); 3137ppIndirection = (void*)ObjectToHandle(_compilation.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.IndirectTrapThreads)); 3170if (!_compilation.NodeFactory.Target.IsWasm) 3201_compilation.NodeFactory, 3233if (!_compilation.IsModuleInstrumented(ecmaMethod.Module)) 3266Debug.Assert(_compilation.CompilationModuleGroup.VersionsWithMethodBody(methodDesc)); 3272|| _compilation.NodeFactory.Target.IsWasm) 3277pLookup.addr = (void*)ObjectToHandle(_compilation.SymbolNodeFactory.GetPInvokeTargetNode(methodWithToken)); 3282pLookup.addr = (void*)ObjectToHandle(_compilation.SymbolNodeFactory.GetIndirectPInvokeTargetNode(methodWithToken)); 3299if (!_compilation.CompilationModuleGroup.VersionsWithMethodBody(method)) 3307stubIL = _compilation.GetMethodIL(method); 3311Debug.Assert(!_compilation.NodeFactory.CompilationModuleGroup.GeneratesPInvoke(method)); 3343if (_compilation.NodeFactory.Target.Architecture == TargetArchitecture.X86) 3362MethodIL methodIL = _compilation.GetMethodIL(MethodBeingCompiled); 3439MethodIL methodIL = _compilation.GetMethodIL(typicalMethod); 3448else if (!_compilation.CompilationModuleGroup.VersionsWithMethodBody(typicalMethod) 3451Debug.Assert(_compilation.CompilationModuleGroup.CrossModuleInlineable(ecmaMethod) || 3452_compilation.CompilationModuleGroup.IsNonVersionableWithILTokensThatDoNotNeedTranslation(ecmaMethod)); 3453bool needsTokenTranslation = !_compilation.CompilationModuleGroup.IsNonVersionableWithILTokensThatDoNotNeedTranslation(ecmaMethod); 3461ISymbolNode ilBodyNode = _compilation.SymbolNodeFactory.CheckILBodyFixupSignature(typicalMethod); 3495if (_compilation.TypeSystemContext.Target.Architecture != TargetArchitecture.X64) 3504_compilation.NodeFactory.MethodEntrypoint( 3525if (_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(field.OwningType) && field.HasRva) 3588if (type.IsValueType && type.IsTypeDefEquivalent && !_compilation.CompilationModuleGroup.VersionsWithTypeReference(type)) 3602return _compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(method); 3609WasmTypeNode typeNode = _compilation.NodeFactory.WasmTypeNode(typeArray); 3624if ((callSig != null) && _compilation.NodeFactory.Target.IsWasm) 3648AddAdditionalDependency(_compilation.NodeFactory.WasmR2RToInterpreterThunk(wasmSig), "R2R-to-interpreter thunk for call site"); 3655if ((callSig != null) && _compilation.NodeFactory.Target.IsWasm) 3691AddAdditionalDependency(_compilation.NodeFactory.WasmR2RToInterpreterThunk(wasmSig), "R2R-to-interpreter thunk for call site");
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (93)
190return _compilation.Logger; 413if (_compilation.TypeSystemContext.Target.Architecture != TargetArchitecture.ARM64 414&& _compilation.TypeSystemContext.Target.Architecture != TargetArchitecture.LoongArch64 415&& _compilation.TypeSystemContext.Target.Architecture != TargetArchitecture.RiscV64) 452_compilation.NodeFactory.Target.MinimumFunctionAlignment : 453_compilation.NodeFactory.Target.OptimumFunctionAlignment; 518_methodCodeNode.InitializeInliningInfo(inlineeArray, _compilation.NodeFactory); 521var baselineSupport = _compilation.InstructionSetSupport; 540TargetArchitecture architecture = _compilation.TypeSystemContext.Target.Architecture; 546var node = _compilation.SymbolNodeFactory.PerMethodInstructionSetSupportFixup(actualSupport); 562_compilation.NodeFactory.DetectGenericCycles(_methodCodeNode.Method, methodNode.Method); 576Debug.Assert(_compilation.NodeFactory.InstrumentationDataTable != null, "Expected InstrumentationDataTable to be non-null with synthesized PGO data to embed"); 577_compilation.NodeFactory.InstrumentationDataTable.EmbedSynthesizedPgoDataForMethods(ref _additionalDependencies, _synthesizedPgoDependencies); 641return _compilation.TypeSystemContext.Target.PointerSize; 997if (_compilation.TypeSystemContext.Target.Architecture == TargetArchitecture.X86) 1137if (_compilation.IsEffectivelySealed(method.GetUnboxedMethod())) 1142if (_compilation.IsEffectivelySealed(method)) 1290method = _compilation.TypeSystemContext.GetMethodForInstantiatedType(method.GetTypicalMethodDefinition(), (InstantiatedType)type); 1316MethodDesc instantiatedMethod = _compilation.TypeSystemContext.GetMethodForInstantiatedType(method.GetTypicalMethodDefinition(), instantiatedCtxType); 1319instantiatedMethod = _compilation.TypeSystemContext.GetInstantiatedMethod(instantiatedMethod, method.Instantiation); 1328if (!_compilation.CanInline(MethodBeingCompiled, method)) 1332MethodIL methodIL = method.IsUnboxingThunk() ? null : _compilation.GetMethodIL(method); 1361var calleeIL = _compilation.GetMethodIL(calleeMethod); 1370if (_compilation.CanInline(callerMethod, calleeMethod)) 1394var methodIL = _compilation.GetMethodIL(HandleToObject(ftn)); 1440decl = _compilation.TypeSystemContext.GetMethodForInstantiatedType(decl.GetTypicalMethodDefinition(), (InstantiatedType)ownerTypeDesc); 1444MethodDesc originalImpl = _compilation.ResolveVirtualMethod(decl, objType, out info->detail); 1481var resolver = _compilation.NodeFactory.Resolver; 1497if (!_compilation.CompilationModuleGroup.VersionsWithTypeReference(decl.OwningType)) 1599info->instParamLookup.constLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.MethodDictionary, originalImplWithToken)); 1612info->instParamLookup.constLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.TypeDictionary, originalImpl.OwningType)); 1622if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout) 1626ISymbolNode virtualResolutionNode = _compilation.SymbolNodeFactory.CheckVirtualFunctionOverride(methodWithTokenDecl, objType, methodWithTokenImpl); 1653MethodILScope scope = jitInterface._compilation.GetMethodIL(methodWithToken.Method); 1713MetadataType placeholderType = _compilation.TypeSystemContext.SystemModule.GetType("System"u8, "SZGenericArrayEnumerator`1"u8, throwIfNotFound: false); 1917result = _compilation.TypeSystemContext.GetAsyncVariantMethod((MethodDesc)result); 1978if (!_compilation.CompilationModuleGroup.VersionsWithMethodBody(methodIL.OwningMethod.GetTypicalMethodDefinition())) 1984recordToken = (_compilation.CompilationModuleGroup.VersionsWithType(owningType) || _compilation.CompilationModuleGroup.CrossModuleInlineableType(owningType)) && owningType is EcmaType; 1992_compilation.TypeSystemContext.EnsureLoadableMethod(method); 2000var resolver = _compilation.NodeFactory.Resolver; 2011? _compilation.TypeSystemContext.GetAsyncVariantMethod(method) 2042_compilation.TypeSystemContext.EnsureLoadableType(owningClass); 2058_compilation.NodeFactory.Resolver.AddModuleTokenForType(type, HandleToModuleToken(ref pResolvedToken, out bool strippedInstantiation)); 2073_compilation.TypeSystemContext.EnsureLoadableType(type); 2148return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(result)); 2316if (_compilation.IsEffectivelySealed(type)) 2332makeBeforeFieldInit &= _compilation.CompilationModuleGroup.VersionsWithType(type); 2395ISymbolNode node = _compilation.SymbolNodeFactory.CheckTypeLayout(type); 2410Debug.Assert(_compilation.IsInheritanceChainLayoutFixedInCurrentVersionBubble(type)); 2426if (!_compilation.IsInheritanceChainLayoutFixedInCurrentVersionBubble(type)) 2736if (!parNode->hasSignificantPadding && !_compilation.IsLayoutFixedInCurrentVersionBubble(type)) 2873ISymbolNode node = _compilation.SymbolNodeFactory.CheckTypeLayout(type); 3024return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object)); 3027return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference)); 3030return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle)); 3033return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle)); 3036return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle)); 3039ThrowHelper.ThrowTypeLoadException("System", "RuntimeArgumentHandle", _compilation.TypeSystemContext.SystemModule); 3043return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String)); 3046return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8)); 3241return _compilation.IsEffectivelySealed(type); 3355return (void*)ObjectToHandle(_compilation.GetFieldRvaData(fd)); 3621if (_compilation.NodeFactory.Target.IsWasm) 3626else if (_compilation.NodeFactory.Target.IsWindows) 3636pEEInfoOut.osType = TargetToOs(_compilation.NodeFactory.Target); 3641DefType continuation = _compilation.TypeSystemContext.ContinuationType; 3647DefType asyncHelpers = _compilation.TypeSystemContext.SystemModule.GetKnownType("System.Runtime.CompilerServices"u8, "AsyncHelpers"u8); 3659NodeFactory factory = _compilation.NodeFactory; 3678CompilerTypeSystemContext context = _compilation.TypeSystemContext; 3721_compilation.SymbolNodeFactory.CreateReadyToRunHelper( 3725_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(runtimeDeterminedResult, allowDynamicallyCreatedReference: true, throwIfNotFound: true), 3759CompilerTypeSystemContext context = _compilation.TypeSystemContext; 3797_compilation.SymbolNodeFactory.CreateReadyToRunHelper( 3801_compilation.NodeFactory.Resolver.GetModuleTokenForMethod( 3828return ObjectToHandle(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap())); 3978HandleToObject(structHnd), _compilation.TypeSystemContext.Target.Architecture); 4025ISymbolNode node = _compilation.SymbolNodeFactory.CheckTypeLayout(type); 4261=> (chunk.flags & CorJitAllocMemFlag.CORJIT_ALLOCMEM_HAS_POINTERS_TO_CODE) != 0 && !_compilation.TypeSystemContext.Target.IsWindows; 4683switch (_compilation.TypeSystemContext.Target.Architecture) 4702return (uint)node.GetAlignment(_compilation.NodeFactory); 4711TargetArchitecture arch = _compilation.TypeSystemContext.Target.Architecture; 4778return owningMetadataType.Module == _compilation.TypeSystemContext.SystemModule; 4787flags.InstructionSetFlags.Add(_compilation.InstructionSetSupport.OptimisticFlags); 4797TargetArchitecture targetArchitecture = _compilation.TypeSystemContext.Target.Architecture; 4804Debug.Assert(_compilation.InstructionSetSupport.IsInstructionSetSupported(InstructionSet.X86_X86Base)); 4808Debug.Assert(_compilation.InstructionSetSupport.IsInstructionSetSupported(InstructionSet.ARM64_AdvSimd)); 4812if (targetArchitecture == TargetArchitecture.ARM && !_compilation.TypeSystemContext.Target.IsWindows) 4966PgoSchemaElem[] pgoResultsSchemas = _compilation.ProfileData.GetAllowSynthesis(_compilation, methodDesc, out bool isSynthesized)?.SchemaData; 4968if (pgoResultsSchemas != null && isSynthesized && _compilation.ProfileData.EmbedPgoDataInR2RImage) 5016instructionSet = InstructionSetFlags.ConvertToImpliedInstructionSetForVectorInstructionSets(_compilation.TypeSystemContext.Target.Architecture, instructionSet); 5018Debug.Assert(!_compilation.InstructionSetSupport.NonSpecifiableFlags.HasInstructionSet(instructionSet));