1 write to _compilation
ILCompiler.ReadyToRun (1)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
495_compilation = compilation;
240 references to _compilation
ILCompiler.ReadyToRun (240)
JitInterface\CorInfoImpl.ReadyToRun.cs (144)
512AddPrecodeFixup(_compilation.SymbolNodeFactory.ResumptionStubEntryPoint(compiledStubNode)); 517MethodDesc asyncResumptionStub = _compilation.TypeSystemContext.GetAsyncResumptionStub(MethodBeingCompiled, MethodBeingCompiled.OwningType); 518AddResumptionStubFixup(_compilation.NodeFactory.CompiledMethodNode(asyncResumptionStub)); 520entryPoint = (void*)ObjectToHandle(_compilation.NodeFactory.CompiledMethodNode(asyncResumptionStub)); 711if ((_ilBodiesNeeded == null) && _compilation.NodeFactory.OptimizationFlags.DeterminismStress > 0) 733_compilation.DeterminismCheckFailed = true; 734_compilation.Logger.LogMessage($"ERROR: Determinism check compiling method '{MethodBeingCompiled}' failed. Use '{_compilation.GetReproInstructions(MethodBeingCompiled)}' on command line to reproduce the failure."); 736else if (data.Iterations <= _compilation.NodeFactory.OptimizationFlags.DeterminismStress) 746_compilation.PrepareForCompilationRetry(_methodCodeNode, _ilBodiesNeeded); 792if (ShouldSkipCompilation(_compilation.InstructionSetSupport, MethodBeingCompiled, _compilation)) 805MethodIL methodIL = _compilation.GetMethodIL(MethodBeingCompiled); 820if (FunctionHasNonReferenceableTypedILCatchClause(methodIL, _compilation.NodeFactory.CompilationModuleGroup)) 831if ((methodIL.GetMethodILScopeDefinition() is IEcmaMethodIL && _compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && ecmaMethod.Module == typicalDef.Context.SystemModule) || 832(!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(MethodBeingCompiled) && 833_compilation.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(MethodBeingCompiled))) 835ISymbolNode ilBodyNode = _compilation.SymbolNodeFactory.CheckILBodyFixupSignature(typicalDef); 840var resolver = _compilation.NodeFactory.Resolver; 841if (_compilation.CompilationModuleGroup.VersionsWithModule(ecmaMethod.Module)) 851EntityHandle? handle = _compilation.NodeFactory.ManifestMetadataTable._mutableModule.TryGetExistingEntityHandle(ecmaMethod); 854resolver.AddModuleTokenForMethod(MethodBeingCompiled, new ModuleToken(_compilation.NodeFactory.ManifestMetadataTable._mutableModule, handle.Value)); 866if (_compilation.NodeFactory.Target.IsWasm && !MethodBeingCompiled.IsUnmanagedCallersOnly) 870_compilation.NodeFactory.WasmInterpreterToR2RThunk(wasmSig), 896if (_compilation.NodeFactory.Target.IsWasm) 911pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.NewHelper, type)); 921pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.NewArr1, type)); 934pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.IsInstanceOf, type)); 947pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.CastClass, type)); 959pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(helperId, type)); 987MethodIL methodIL = _compilation.GetMethodIL(MethodBeingCompiled); 1001pLookup.constLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.DelegateCtor(delegateTypeDesc, targetMethod)); 1342return _compilation.NodeFactory.GetReadyToRunHelperCell(id); 1349var entrypoint = _compilation.NodeFactory.MethodEntrypoint( 1352_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(method, true, true), 1385if (methodDesc != null && (_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(methodDesc) 1454if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(resultMethod.OwningType)) 1456ModuleToken result = _compilation.NodeFactory.Resolver.GetModuleTokenForMethod(resultMethod, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1471if (!(_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(resultField.OwningType) || resultField.OwningType.IsNonVersionable())) 1473ModuleToken result = _compilation.NodeFactory.Resolver.GetModuleTokenForField(resultField, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1505return _compilation.NodeFactory.Resolver.GetModuleTokenForType(paramType, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1507if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(ecmaType)) 1509return _compilation.NodeFactory.Resolver.GetModuleTokenForType(ecmaType, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1515return _compilation.NodeFactory.Resolver.GetModuleTokenForType(typeDesc, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1531ISymbolNode str = _compilation.SymbolNodeFactory.StringLiteral( 1532new ModuleToken(_compilation.NodeFactory.ManifestMetadataTable._mutableModule, metaTok)); 1538ISymbolNode stringObject = _compilation.SymbolNodeFactory.StringLiteral( 1569&& ((TypeDesc)ResolveTokenInScope(_compilation.GetMethodIL(MethodBeingCompiled), MethodBeingCompiled, (mdToken)classTokenOrOffset)).IsWellKnownType(WellKnownType.Exception)) 1647if (!pHasSideEffects && !_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(type)) 1784pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.RvaFieldAddress(ComputeFieldWithToken(field, ref pResolvedToken))); 1792else if (field.OwningType.IsCanonicalSubtype(CanonicalFormKind.Any) || _compilation.NodeFactory.Target.IsWasm) 1809if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && (fieldOffset <= FieldFixupSignature.MaxCheckableOffset)) 1812AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 1855if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(field.OwningType) && 1862pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.FieldAddress(ComputeFieldWithToken(field, ref pResolvedToken))); 1870if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && (fieldOffset <= FieldFixupSignature.MaxCheckableOffset)) 1873AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 1877_compilation.SymbolNodeFactory.CreateReadyToRunHelper(helperId, field.OwningType) 1953MethodDesc versioningCallerMethod = _compilation.TypeSystemContext.IsUnboxingThunk(callerMethod) 1954? _compilation.TypeSystemContext.GetTargetOfUnboxingThunk(callerMethod) 1967if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(versioningCallerMethod) && 1968!_compilation.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(versioningCallerMethod)) 2023if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(directMethod)) 2035ModuleToken moduleToken = _compilation.NodeFactory.Resolver.GetModuleTokenForMethod(directMethod, false, false); 2039AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckVirtualFunctionOverride( 2173else if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) || 2175!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(targetMethod.GetTypicalMethodDefinition())) 2350(_compilation.NodeFactory.Target.IsWasm && 2429ISymbolNode node = _compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.TypeHandle, type); 2500_compilation.NodeFactory.DetectGenericCycles(callerMethod, methodToCall); 2525else if (_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(constrainedType)) 2551_compilation.SymbolNodeFactory.DispatchCell( 2594&& !_compilation.NodeFactory.Target.IsWasm) 2605MethodWithGCInfo targetCodeNode = _compilation.NodeFactory.CompiledMethodNode(compilableTarget); 2612_compilation.NodeFactory.MethodEntrypoint( 2636_compilation.NodeFactory.DynamicHelperCell( 2643Debug.Assert(!pResult->sig.hasTypeArg() || _compilation.NodeFactory.Target.IsWasm); 2665pResult->instParamLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper( 2674instParamLookup = _compilation.SymbolNodeFactory.CreateReadyToRunHelper( 2680instParamLookup = _compilation.SymbolNodeFactory.CreateReadyToRunHelper( 2737return !_compilation.NodeFactory.Resolver.GetModuleTokenForType( 2811_compilation.NodeFactory.DetectGenericCycles(MethodBeingCompiled, constrainedType); 2837_compilation.NodeFactory.DetectGenericCycles(MethodBeingCompiled, sharedMethod); 2873ISymbolNode helper = _compilation.SymbolNodeFactory.GenericLookupHelper( 2992Import import = (Import)_compilation.SymbolNodeFactory.ContinuationTypeSymbol(act); 2996if (!_compilation.CompilationModuleGroup.VersionsWithType(type)) 2999Import typeHandleImport = (Import)_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.TypeHandle, type); 3035symbolNode = _compilation.SymbolNodeFactory.CreateReadyToRunHelper( 3041symbolNode = _compilation.SymbolNodeFactory.CreateReadyToRunHelper( 3064symbolNode = _compilation.SymbolNodeFactory.CreateReadyToRunHelper( 3071symbolNode = _compilation.SymbolNodeFactory.CreateReadyToRunHelper( 3104return !_compilation.IsLayoutFixedInCurrentVersionBubble(type) || (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && !((MetadataType)type).IsNonVersionable()); 3113if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) && !_compilation.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(callerMethod)) 3129else if (!_compilation.IsLayoutFixedInCurrentVersionBubble(pMT)) 3137AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3147pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.FieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3152if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset)) 3155if (_compilation.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types 3156AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3160else if (_compilation.CompilationModuleGroup.TypeLayoutCompilationUnits(pMT).HasMultipleInexactCompilationUnits) 3177pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.FieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3179else if (_compilation.IsInheritanceChainLayoutFixedInCurrentVersionBubble(pMT.BaseType)) 3181if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset)) 3184if (_compilation.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types 3185AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3192AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3199if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset)) 3202if (_compilation.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types 3203AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3211pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.FieldBaseOffset(field.OwningType)); 3234*ppCookieVal = (IntPtr *)ObjectToHandle(_compilation.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.GSCookie)); 3239ppIndirection = (void*)ObjectToHandle(_compilation.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.IndirectTrapThreads)); 3272if (!_compilation.NodeFactory.Target.IsWasm) 3303_compilation.NodeFactory, 3320if (!_compilation.NodeFactory.Target.IsWasm) 3333relocTarget = _compilation.NodeFactory.WasmMethodRelativeVirtualIP(_methodCodeNode); 3348_compilation.NodeFactory.WasmAsyncResumeInfoFixups.AddFixup(location, offset); 3381if (!_compilation.IsModuleInstrumented(ecmaMethod.Module)) 3414Debug.Assert(_compilation.CompilationModuleGroup.VersionsWithMethodBody(methodDesc)); 3420|| _compilation.NodeFactory.Target.IsWasm) 3425pLookup.addr = (void*)ObjectToHandle(_compilation.SymbolNodeFactory.GetPInvokeTargetNode(methodWithToken)); 3430pLookup.addr = (void*)ObjectToHandle(_compilation.SymbolNodeFactory.GetIndirectPInvokeTargetNode(methodWithToken)); 3447if (!_compilation.CompilationModuleGroup.VersionsWithMethodBody(method)) 3455stubIL = _compilation.GetMethodIL(method); 3459Debug.Assert(!_compilation.NodeFactory.CompilationModuleGroup.GeneratesPInvoke(method)); 3517if (_compilation.NodeFactory.Target.Architecture == TargetArchitecture.X86) 3536MethodIL methodIL = _compilation.GetMethodIL(MethodBeingCompiled); 3613MethodIL methodIL = _compilation.GetMethodIL(typicalMethod); 3622else if (!_compilation.CompilationModuleGroup.VersionsWithMethodBody(typicalMethod) 3625Debug.Assert(_compilation.CompilationModuleGroup.CrossModuleInlineable(ecmaMethod) || 3626_compilation.CompilationModuleGroup.IsNonVersionableWithILTokensThatDoNotNeedTranslation(ecmaMethod)); 3627bool needsTokenTranslation = !_compilation.CompilationModuleGroup.IsNonVersionableWithILTokensThatDoNotNeedTranslation(ecmaMethod); 3635ISymbolNode ilBodyNode = _compilation.SymbolNodeFactory.CheckILBodyFixupSignature(typicalMethod); 3669if (_compilation.TypeSystemContext.Target.Architecture != TargetArchitecture.X64) 3678_compilation.NodeFactory.MethodEntrypoint( 3699if (_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(field.OwningType) && field.HasRva) 3762if (type.IsValueType && type.IsTypeDefEquivalent && !_compilation.CompilationModuleGroup.VersionsWithTypeReference(type)) 3776return _compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(method); 3790if ((callSig != null) && _compilation.NodeFactory.Target.IsWasm) 3801AddAdditionalDependency(_compilation.NodeFactory.WasmR2RToInterpreterThunk(wasmSig), "R2R-to-interpreter thunk for call site"); 3808if ((callSig != null) && _compilation.NodeFactory.Target.IsWasm) 3831AddAdditionalDependency(_compilation.NodeFactory.WasmR2RToInterpreterThunk(wasmSig), "R2R-to-interpreter thunk for call site");
parent\parent\Common\JitInterface\CorInfoImpl.cs (96)
188get => field ??= _compilation.TypeSystemContext.SystemModule.GetType( 208return _compilation.Logger; 431if (_compilation.TypeSystemContext.Target.Architecture != TargetArchitecture.ARM64 432&& _compilation.TypeSystemContext.Target.Architecture != TargetArchitecture.LoongArch64 433&& _compilation.TypeSystemContext.Target.Architecture != TargetArchitecture.RiscV64) 473_compilation.NodeFactory.Target.MinimumFunctionAlignment : 474_compilation.NodeFactory.Target.OptimumFunctionAlignment; 539_methodCodeNode.InitializeInliningInfo(inlineeArray, _compilation.NodeFactory); 542var baselineSupport = _compilation.InstructionSetSupport; 561TargetArchitecture architecture = _compilation.TypeSystemContext.Target.Architecture; 567var node = _compilation.SymbolNodeFactory.PerMethodInstructionSetSupportFixup(actualSupport); 583_compilation.NodeFactory.DetectGenericCycles(_methodCodeNode.Method, methodNode.Method); 597Debug.Assert(_compilation.NodeFactory.InstrumentationDataTable != null, "Expected InstrumentationDataTable to be non-null with synthesized PGO data to embed"); 598_compilation.NodeFactory.InstrumentationDataTable.EmbedSynthesizedPgoDataForMethods(ref _additionalDependencies, _synthesizedPgoDependencies); 662return _compilation.TypeSystemContext.Target.PointerSize; 1022if (_compilation.TypeSystemContext.Target.Architecture == TargetArchitecture.X86) 1162if (_compilation.IsEffectivelySealed(method.GetUnboxedMethod())) 1167if (_compilation.IsEffectivelySealed(method)) 1315method = _compilation.TypeSystemContext.GetMethodForInstantiatedType(method.GetTypicalMethodDefinition(), (InstantiatedType)type); 1341MethodDesc instantiatedMethod = _compilation.TypeSystemContext.GetMethodForInstantiatedType(method.GetTypicalMethodDefinition(), instantiatedCtxType); 1344instantiatedMethod = _compilation.TypeSystemContext.GetInstantiatedMethod(instantiatedMethod, method.Instantiation); 1353if (!_compilation.CanInline(MethodBeingCompiled, method)) 1357MethodIL methodIL = method.IsUnboxingThunk() ? null : _compilation.GetMethodIL(method); 1396var calleeIL = _compilation.GetMethodIL(calleeMethod); 1405if (_compilation.CanInline(callerMethod, calleeMethod)) 1429var methodIL = _compilation.GetMethodIL(HandleToObject(ftn)); 1475decl = _compilation.TypeSystemContext.GetMethodForInstantiatedType(decl.GetTypicalMethodDefinition(), (InstantiatedType)ownerTypeDesc); 1479MethodDesc originalImpl = _compilation.ResolveVirtualMethod(decl, objType, out info->detail); 1516var resolver = _compilation.NodeFactory.Resolver; 1532if (!_compilation.CompilationModuleGroup.VersionsWithTypeReference(decl.OwningType)) 1634info->instParamLookup.constLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.MethodDictionary, originalImplWithToken)); 1647info->instParamLookup.constLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.TypeDictionary, originalImpl.OwningType)); 1657if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout) 1661ISymbolNode virtualResolutionNode = _compilation.SymbolNodeFactory.CheckVirtualFunctionOverride(methodWithTokenDecl, objType, methodWithTokenImpl); 1688MethodILScope scope = jitInterface._compilation.GetMethodIL(methodWithToken.Method); 1748MetadataType placeholderType = _compilation.TypeSystemContext.SystemModule.GetType("System"u8, "SZGenericArrayEnumerator`1"u8, throwIfNotFound: false); 1952result = _compilation.TypeSystemContext.GetAsyncVariantMethod((MethodDesc)result); 2013if (!_compilation.CompilationModuleGroup.VersionsWithMethodBody(methodIL.OwningMethod.GetTypicalMethodDefinition())) 2019recordToken = (_compilation.CompilationModuleGroup.VersionsWithType(owningType) || _compilation.CompilationModuleGroup.CrossModuleInlineableType(owningType)) && owningType is EcmaType; 2027_compilation.TypeSystemContext.EnsureLoadableMethod(method); 2035var resolver = _compilation.NodeFactory.Resolver; 2046? _compilation.TypeSystemContext.GetAsyncVariantMethod(method) 2077_compilation.TypeSystemContext.EnsureLoadableType(owningClass); 2093_compilation.NodeFactory.Resolver.AddModuleTokenForType(type, HandleToModuleToken(ref pResolvedToken, out bool strippedInstantiation)); 2108_compilation.TypeSystemContext.EnsureLoadableType(type); 2176return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(result)); 2344if (_compilation.IsEffectivelySealed(type)) 2360makeBeforeFieldInit &= _compilation.CompilationModuleGroup.VersionsWithType(type); 2423ISymbolNode node = _compilation.SymbolNodeFactory.CheckTypeLayout(type); 2438Debug.Assert(_compilation.IsInheritanceChainLayoutFixedInCurrentVersionBubble(type)); 2454if (!_compilation.IsInheritanceChainLayoutFixedInCurrentVersionBubble(type)) 2733if (!parNode->hasSignificantPadding && !_compilation.IsLayoutFixedInCurrentVersionBubble(type)) 2870ISymbolNode node = _compilation.SymbolNodeFactory.CheckTypeLayout(type); 3021return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object)); 3024return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference)); 3027return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle)); 3030return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle)); 3033return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle)); 3036ThrowHelper.ThrowTypeLoadException("System", "RuntimeArgumentHandle", _compilation.TypeSystemContext.SystemModule); 3040return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String)); 3043return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8)); 3046return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System.Numerics"u8, "Vector`1"u8)); 3241return _compilation.IsEffectivelySealed(type); 3355return (void*)ObjectToHandle(_compilation.GetFieldRvaData(fd)); 3637if (_compilation.NodeFactory.Target.IsWasm) 3642else if (_compilation.NodeFactory.Target.IsWindows) 3652pEEInfoOut.osType = TargetToOs(_compilation.NodeFactory.Target); 3657DefType continuation = _compilation.TypeSystemContext.ContinuationType; 3663DefType asyncHelpers = _compilation.TypeSystemContext.SystemModule.GetKnownType("System.Runtime.CompilerServices"u8, "AsyncHelpers"u8); 3679NodeFactory factory = _compilation.NodeFactory; 3690WasmTypeNode typeNode = _compilation.NodeFactory.WasmTypeNode(typeArray); 3707CompilerTypeSystemContext context = _compilation.TypeSystemContext; 3750_compilation.SymbolNodeFactory.CreateReadyToRunHelper( 3754_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(runtimeDeterminedResult, allowDynamicallyCreatedReference: true, throwIfNotFound: true), 3788CompilerTypeSystemContext context = _compilation.TypeSystemContext; 3826_compilation.SymbolNodeFactory.CreateReadyToRunHelper( 3830_compilation.NodeFactory.Resolver.GetModuleTokenForMethod( 3857return ObjectToHandle(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap())); 4007HandleToObject(structHnd), _compilation.TypeSystemContext.Target.Architecture); 4054ISymbolNode node = _compilation.SymbolNodeFactory.CheckTypeLayout(type); 4291=> (chunk.flags & CorJitAllocMemFlag.CORJIT_ALLOCMEM_HAS_POINTERS_TO_CODE) != 0 && !_compilation.TypeSystemContext.Target.IsWindows; 4736switch (_compilation.TypeSystemContext.Target.Architecture) 4755return (uint)node.GetAlignment(_compilation.NodeFactory); 4764TargetArchitecture arch = _compilation.TypeSystemContext.Target.Architecture; 4831return owningMetadataType.Module == _compilation.TypeSystemContext.SystemModule; 4840flags.InstructionSetFlags.Add(_compilation.InstructionSetSupport.OptimisticFlags); 4850TargetArchitecture targetArchitecture = _compilation.TypeSystemContext.Target.Architecture; 4857Debug.Assert(_compilation.InstructionSetSupport.IsInstructionSetSupported(InstructionSet.X86_X86Base)); 4861Debug.Assert(_compilation.InstructionSetSupport.IsInstructionSetSupported(InstructionSet.ARM64_AdvSimd)); 4865if (targetArchitecture == TargetArchitecture.ARM && !_compilation.TypeSystemContext.Target.IsWindows) 5019PgoSchemaElem[] pgoResultsSchemas = _compilation.ProfileData.GetAllowSynthesis(_compilation, methodDesc, out bool isSynthesized)?.SchemaData; 5021if (pgoResultsSchemas != null && isSynthesized && _compilation.ProfileData.EmbedPgoDataInR2RImage) 5069instructionSet = InstructionSetFlags.ConvertToImpliedInstructionSetForVectorInstructionSets(_compilation.TypeSystemContext.Target.Architecture, instructionSet); 5071Debug.Assert(!_compilation.InstructionSetSupport.NonSpecifiableFlags.HasInstructionSet(instructionSet));