1 write to _compilation
ILCompiler.ReadyToRun (1)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
508_compilation = compilation;
255 references to _compilation
ILCompiler.ReadyToRun (255)
JitInterface\CorInfoImpl.ReadyToRun.cs (160)
525AddPrecodeFixup(_compilation.SymbolNodeFactory.ResumptionStubEntryPoint(compiledStubNode)); 530MethodDesc asyncResumptionStub = _compilation.TypeSystemContext.GetAsyncResumptionStub(MethodBeingCompiled, MethodBeingCompiled.OwningType); 531AddResumptionStubFixup(_compilation.NodeFactory.CompiledMethodNode(asyncResumptionStub)); 533entryPoint = (void*)ObjectToHandle(_compilation.NodeFactory.CompiledMethodNode(asyncResumptionStub)); 726_compilation.NodeFactory.OptimizationFlags.DeterminismStress > 0) 748_compilation.DeterminismCheckFailed = true; 749_compilation.Logger.LogMessage($"ERROR: Determinism check compiling method '{MethodBeingCompiled}' failed. Use '{_compilation.GetReproInstructions(MethodBeingCompiled)}' on command line to reproduce the failure."); 751else if (data.Iterations <= _compilation.NodeFactory.OptimizationFlags.DeterminismStress) 764_compilation.PrepareForCompilationRetry(_methodCodeNode, _ilBodiesNeeded); 828if (ShouldSkipCompilation(_compilation.InstructionSetSupport, MethodBeingCompiled, _compilation)) 841MethodIL methodIL = _compilation.GetMethodIL(MethodBeingCompiled); 856if (FunctionHasNonReferenceableTypedILCatchClause(methodIL, _compilation.NodeFactory.CompilationModuleGroup)) 867if ((methodIL.GetMethodILScopeDefinition() is IEcmaMethodIL && _compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && ecmaMethod.Module == typicalDef.Context.SystemModule) || 868(!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(MethodBeingCompiled) && 869_compilation.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(MethodBeingCompiled))) 871ISymbolNode ilBodyNode = _compilation.SymbolNodeFactory.CheckILBodyFixupSignature(typicalDef); 876var resolver = _compilation.NodeFactory.Resolver; 877if (_compilation.CompilationModuleGroup.VersionsWithModule(ecmaMethod.Module)) 887EntityHandle? handle = _compilation.NodeFactory.ManifestMetadataTable._mutableModule.TryGetExistingEntityHandle(ecmaMethod); 890resolver.AddModuleTokenForMethod(MethodBeingCompiled, new ModuleToken(_compilation.NodeFactory.ManifestMetadataTable._mutableModule, handle.Value)); 902if (_compilation.NodeFactory.Target.IsWasm && !MethodBeingCompiled.IsUnmanagedCallersOnly) 906_compilation.NodeFactory.WasmInterpreterToR2RThunk(wasmSig), 965_compilation.NodeFactory.DetectGenericCycles(_methodCodeNode.Method, methodNode.Method); 976if (_compilation.NodeFactory.Target.IsWasm) 991pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.NewHelper, type)); 1001pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.NewArr1, type)); 1014pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.IsInstanceOf, type)); 1027pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.CastClass, type)); 1039pLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(helperId, type)); 1067MethodIL methodIL = _compilation.GetMethodIL(MethodBeingCompiled); 1081pLookup.constLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.DelegateCtor(delegateTypeDesc, targetMethod)); 1089_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(helperMethod, true, true), 1094_compilation.SymbolNodeFactory.EagerReadyToRunMethodEntry(helperMethodWithToken), 1101_compilation.TypeSystemContext, 1105_compilation.IsDirectManagedHelperEligible(managedHelper)) 1107Debug.Assert(_compilation.CompilationModuleGroup.ContainsMethodBody(managedHelper, unboxingStub: false)); 1109return _compilation.NodeFactory.CompiledMethodNode(managedHelper); 1456return _compilation.NodeFactory.GetReadyToRunHelperCell(id); 1463var entrypoint = _compilation.NodeFactory.MethodEntrypoint( 1466_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(method, true, true), 1479Debug.Assert(_compilation.NodeFactory.Target.IsWasm); 1483MetadataType systemDelegate = _compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "Delegate"u8); 1519if (methodDesc != null && (_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(methodDesc) 1588if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(resultMethod.OwningType)) 1590ModuleToken result = _compilation.NodeFactory.Resolver.GetModuleTokenForMethod(resultMethod, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1605if (!(_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(resultField.OwningType) || resultField.OwningType.IsNonVersionable())) 1607ModuleToken result = _compilation.NodeFactory.Resolver.GetModuleTokenForField(resultField, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1639return _compilation.NodeFactory.Resolver.GetModuleTokenForType(paramType, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1641if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(ecmaType)) 1643return _compilation.NodeFactory.Resolver.GetModuleTokenForType(ecmaType, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1649return _compilation.NodeFactory.Resolver.GetModuleTokenForType(typeDesc, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1665ISymbolNode str = _compilation.SymbolNodeFactory.StringLiteral( 1666new ModuleToken(_compilation.NodeFactory.ManifestMetadataTable._mutableModule, metaTok)); 1672ISymbolNode stringObject = _compilation.SymbolNodeFactory.StringLiteral( 1703&& ((TypeDesc)ResolveTokenInScope(_compilation.GetMethodIL(MethodBeingCompiled), MethodBeingCompiled, (mdToken)classTokenOrOffset)).IsWellKnownType(WellKnownType.Exception)) 1781if (!pHasSideEffects && !_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(type)) 1918pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.RvaFieldAddress(ComputeFieldWithToken(field, ref pResolvedToken))); 1926else if (field.OwningType.IsCanonicalSubtype(CanonicalFormKind.Any) || _compilation.NodeFactory.Target.IsWasm) 1943if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && (fieldOffset <= FieldFixupSignature.MaxCheckableOffset)) 1946AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 1989if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(field.OwningType) && 1996pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.FieldAddress(ComputeFieldWithToken(field, ref pResolvedToken))); 2004if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && (fieldOffset <= FieldFixupSignature.MaxCheckableOffset)) 2007AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 2011_compilation.SymbolNodeFactory.CreateReadyToRunHelper(helperId, field.OwningType) 2087MethodDesc versioningCallerMethod = _compilation.TypeSystemContext.IsUnboxingThunk(callerMethod) 2088? _compilation.TypeSystemContext.GetTargetOfUnboxingThunk(callerMethod) 2101if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(versioningCallerMethod) && 2102!_compilation.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(versioningCallerMethod)) 2157if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(directMethod)) 2169ModuleToken moduleToken = _compilation.NodeFactory.Resolver.GetModuleTokenForMethod(directMethod, false, false); 2173AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckVirtualFunctionOverride( 2307else if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) || 2309!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(targetMethod.GetTypicalMethodDefinition())) 2484(_compilation.NodeFactory.Target.IsWasm && 2582return _compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.TypeHandle, type); 2651_compilation.NodeFactory.DetectGenericCycles(callerMethod, methodToCall); 2676else if (_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(constrainedType)) 2690if (_compilation.NodeFactory.Target.IsWasm && targetMethod.OwningType.IsDelegate && targetMethod.Name == "Invoke"u8) 2700AddAdditionalDependency(_compilation.NodeFactory.WasmR2RToInterpreterThunk(wasmSignature), "R2R-to-interpreter thunk for closed-static delegate target"); 2715_compilation.SymbolNodeFactory.DispatchCell( 2758&& !_compilation.NodeFactory.Target.IsWasm) 2769MethodWithGCInfo targetCodeNode = _compilation.NodeFactory.CompiledMethodNode(compilableTarget); 2776_compilation.NodeFactory.MethodEntrypoint( 2800_compilation.NodeFactory.DynamicHelperCell( 2807Debug.Assert(!pResult->sig.hasTypeArg() || _compilation.NodeFactory.Target.IsWasm); 2829pResult->instParamLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper( 2838instParamLookup = _compilation.SymbolNodeFactory.CreateReadyToRunHelper( 2844instParamLookup = _compilation.SymbolNodeFactory.CreateReadyToRunHelper( 2901return !_compilation.NodeFactory.Resolver.GetModuleTokenForType( 2975_compilation.NodeFactory.DetectGenericCycles(MethodBeingCompiled, constrainedType); 3001_compilation.NodeFactory.DetectGenericCycles(MethodBeingCompiled, sharedMethod); 3037ISymbolNode helper = _compilation.SymbolNodeFactory.GenericLookupHelper( 3156Import import = (Import)_compilation.SymbolNodeFactory.ContinuationTypeSymbol(act); 3160if (!_compilation.CompilationModuleGroup.VersionsWithType(type)) 3199symbolNode = _compilation.SymbolNodeFactory.CreateReadyToRunHelper( 3226symbolNode = _compilation.SymbolNodeFactory.CreateReadyToRunHelper( 3233symbolNode = _compilation.SymbolNodeFactory.CreateReadyToRunHelper( 3266return !_compilation.IsLayoutFixedInCurrentVersionBubble(type) || (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && !((MetadataType)type).IsNonVersionable()); 3275if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) && !_compilation.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(callerMethod)) 3291else if (!_compilation.IsLayoutFixedInCurrentVersionBubble(pMT)) 3299AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3309pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.FieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3314if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset)) 3317if (_compilation.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types 3318AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3322else if (_compilation.CompilationModuleGroup.TypeLayoutCompilationUnits(pMT).HasMultipleInexactCompilationUnits) 3339pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.FieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3341else if (_compilation.IsInheritanceChainLayoutFixedInCurrentVersionBubble(pMT.BaseType)) 3343if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset)) 3346if (_compilation.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types 3347AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3354AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3361if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset)) 3364if (_compilation.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types 3365AddPrecodeFixup(_compilation.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken))); 3373pResult->fieldLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.FieldBaseOffset(field.OwningType)); 3396*ppCookieVal = (IntPtr *)ObjectToHandle(_compilation.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.GSCookie)); 3401ppIndirection = (void*)ObjectToHandle(_compilation.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.IndirectTrapThreads)); 3434if (!_compilation.NodeFactory.Target.IsWasm) 3465_compilation.NodeFactory, 3482if (!_compilation.NodeFactory.Target.IsWasm) 3495relocTarget = _compilation.NodeFactory.WasmMethodRelativeVirtualIP(_methodCodeNode); 3510_compilation.NodeFactory.WasmAsyncResumeInfoFixups.AddFixup(location, offset); 3543if (!_compilation.IsModuleInstrumented(ecmaMethod.Module)) 3576Debug.Assert(_compilation.CompilationModuleGroup.VersionsWithMethodBody(methodDesc)); 3582|| _compilation.NodeFactory.Target.IsWasm) 3587pLookup.addr = (void*)ObjectToHandle(_compilation.SymbolNodeFactory.GetPInvokeTargetNode(methodWithToken)); 3592pLookup.addr = (void*)ObjectToHandle(_compilation.SymbolNodeFactory.GetIndirectPInvokeTargetNode(methodWithToken)); 3607if (_compilation.NodeFactory.Target.IsWasm 3608&& !_compilation.CompilationModuleGroup.IsDirectPInvoke(method)) 3615if (!_compilation.CompilationModuleGroup.VersionsWithMethodBody(method)) 3623stubIL = _compilation.GetMethodIL(method); 3627Debug.Assert(!_compilation.NodeFactory.CompilationModuleGroup.GeneratesPInvoke(method)); 3685if (_compilation.NodeFactory.Target.Architecture == TargetArchitecture.X86) 3704MethodIL methodIL = _compilation.GetMethodIL(MethodBeingCompiled); 3770inlineeModule != _compilation.TypeSystemContext.SystemModule && 3772(!_compilation.CompilationModuleGroup.VersionsWithModule(inlineeModule) || 3795MethodIL methodIL = _compilation.GetMethodIL(typicalMethod); 3804else if (!_compilation.CompilationModuleGroup.VersionsWithMethodBody(typicalMethod) 3807Debug.Assert(_compilation.CompilationModuleGroup.CrossModuleInlineable(ecmaMethod) || 3808_compilation.CompilationModuleGroup.IsNonVersionableWithILTokensThatDoNotNeedTranslation(ecmaMethod)); 3809bool needsTokenTranslation = !_compilation.CompilationModuleGroup.IsNonVersionableWithILTokensThatDoNotNeedTranslation(ecmaMethod); 3817ISymbolNode ilBodyNode = _compilation.SymbolNodeFactory.CheckILBodyFixupSignature(typicalMethod); 3851if (_compilation.TypeSystemContext.Target.Architecture != TargetArchitecture.X64) 3860_compilation.NodeFactory.MethodEntrypoint( 3881if (_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(field.OwningType) && field.HasRva) 3944if (type.IsValueType && type.IsTypeDefEquivalent && !_compilation.CompilationModuleGroup.VersionsWithTypeReference(type)) 3958return _compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(method); 3972if ((callSig != null) && _compilation.NodeFactory.Target.IsWasm) 3983AddAdditionalDependency(_compilation.NodeFactory.WasmR2RToInterpreterThunk(wasmSig), "R2R-to-interpreter thunk for call site"); 4001if ((callSig != null) && _compilation.NodeFactory.Target.IsWasm) 4024AddAdditionalDependency(_compilation.NodeFactory.WasmR2RToInterpreterThunk(wasmSig), "R2R-to-interpreter thunk for call site"); 4045_compilation.NodeFactory.WasmClosedStaticRetBufThunk(signature), 4050MethodSignature delegateSignature = WasmLowering.RaiseSignature(signature, _compilation.TypeSystemContext); 4055_compilation.NodeFactory.WasmR2RToInterpreterThunk(targetWasmSignature),
parent\parent\Common\JitInterface\CorInfoImpl.cs (95)
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) 479_compilation.NodeFactory.Target.MinimumFunctionAlignment : 480_compilation.NodeFactory.Target.OptimumFunctionAlignment; 545_methodCodeNode.InitializeInliningInfo(inlineeArray, _compilation.NodeFactory); 549TargetArchitecture architecture = _compilation.TypeSystemContext.Target.Architecture; 555var node = _compilation.SymbolNodeFactory.PerMethodInstructionSetSupportFixup(actualSupport); 575Debug.Assert(_compilation.NodeFactory.InstrumentationDataTable != null, "Expected InstrumentationDataTable to be non-null with synthesized PGO data to embed"); 576_compilation.NodeFactory.InstrumentationDataTable.EmbedSynthesizedPgoDataForMethods(ref _additionalDependencies, _synthesizedPgoDependencies); 597InstructionSetSupport baselineSupport = _compilation.InstructionSetSupport; 664return _compilation.TypeSystemContext.Target.PointerSize; 1026if (_compilation.TypeSystemContext.Target.Architecture == TargetArchitecture.X86) 1166if (_compilation.IsEffectivelySealed(method.GetUnboxedMethod())) 1171if (_compilation.IsEffectivelySealed(method)) 1319method = _compilation.TypeSystemContext.GetMethodForInstantiatedType(method.GetTypicalMethodDefinition(), (InstantiatedType)type); 1345MethodDesc instantiatedMethod = _compilation.TypeSystemContext.GetMethodForInstantiatedType(method.GetTypicalMethodDefinition(), instantiatedCtxType); 1348instantiatedMethod = _compilation.TypeSystemContext.GetInstantiatedMethod(instantiatedMethod, method.Instantiation); 1357if (!_compilation.CanInline(MethodBeingCompiled, method)) 1361MethodIL methodIL = method.IsUnboxingThunk() ? null : _compilation.GetMethodIL(method); 1400var calleeIL = _compilation.GetMethodIL(calleeMethod); 1409if (_compilation.CanInline(callerMethod, calleeMethod)) 1433var methodIL = _compilation.GetMethodIL(HandleToObject(ftn)); 1479decl = _compilation.TypeSystemContext.GetMethodForInstantiatedType(decl.GetTypicalMethodDefinition(), (InstantiatedType)ownerTypeDesc); 1483MethodDesc originalImpl = _compilation.ResolveVirtualMethod(decl, objType, out info->detail); 1520var resolver = _compilation.NodeFactory.Resolver; 1536if (!_compilation.CompilationModuleGroup.VersionsWithTypeReference(decl.OwningType)) 1638info->instParamLookup.constLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.MethodDictionary, originalImplWithToken)); 1651info->instParamLookup.constLookup = CreateConstLookupToSymbol(_compilation.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.TypeDictionary, originalImpl.OwningType)); 1661if (_compilation.SymbolNodeFactory.VerifyTypeAndFieldLayout) 1665ISymbolNode virtualResolutionNode = _compilation.SymbolNodeFactory.CheckVirtualFunctionOverride(methodWithTokenDecl, objType, methodWithTokenImpl); 1692MethodILScope scope = jitInterface._compilation.GetMethodIL(methodWithToken.Method); 1752MetadataType placeholderType = _compilation.TypeSystemContext.SystemModule.GetType("System"u8, "SZGenericArrayEnumerator`1"u8, throwIfNotFound: false); 1956result = _compilation.TypeSystemContext.GetAsyncVariantMethod((MethodDesc)result); 2017if (!_compilation.CompilationModuleGroup.VersionsWithMethodBody(methodIL.OwningMethod.GetTypicalMethodDefinition())) 2023recordToken = (_compilation.CompilationModuleGroup.VersionsWithType(owningType) || _compilation.CompilationModuleGroup.CrossModuleInlineableType(owningType)) && owningType is EcmaType; 2031_compilation.TypeSystemContext.EnsureLoadableMethod(method); 2039var resolver = _compilation.NodeFactory.Resolver; 2050? _compilation.TypeSystemContext.GetAsyncVariantMethod(method) 2081_compilation.TypeSystemContext.EnsureLoadableType(owningClass); 2097_compilation.NodeFactory.Resolver.AddModuleTokenForType(type, HandleToModuleToken(ref pResolvedToken, out bool strippedInstantiation)); 2112_compilation.TypeSystemContext.EnsureLoadableType(type); 2180return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(result)); 2348if (_compilation.IsEffectivelySealed(type)) 2364makeBeforeFieldInit &= _compilation.CompilationModuleGroup.VersionsWithType(type); 2427ISymbolNode node = _compilation.SymbolNodeFactory.CheckTypeLayout(type); 2442Debug.Assert(_compilation.IsInheritanceChainLayoutFixedInCurrentVersionBubble(type)); 2458if (!_compilation.IsInheritanceChainLayoutFixedInCurrentVersionBubble(type)) 2737if (!parNode->hasSignificantPadding && !_compilation.IsLayoutFixedInCurrentVersionBubble(type)) 2874ISymbolNode node = _compilation.SymbolNodeFactory.CheckTypeLayout(type); 3025return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object)); 3028return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference)); 3031return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle)); 3034return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle)); 3037return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle)); 3040ThrowHelper.ThrowTypeLoadException("System", "RuntimeArgumentHandle", _compilation.TypeSystemContext.SystemModule); 3044return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String)); 3047return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8)); 3050return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System.Numerics"u8, "Vector`1"u8)); 3245return _compilation.IsEffectivelySealed(type); 3359return (void*)ObjectToHandle(_compilation.GetFieldRvaData(fd)); 3641if (_compilation.NodeFactory.Target.IsWasm) 3646else if (_compilation.NodeFactory.Target.IsWindows) 3656pEEInfoOut.osType = TargetToOs(_compilation.NodeFactory.Target); 3661DefType continuation = _compilation.TypeSystemContext.ContinuationType; 3667DefType asyncHelpers = _compilation.TypeSystemContext.SystemModule.GetKnownType("System.Runtime.CompilerServices"u8, "AsyncHelpers"u8); 3683NodeFactory factory = _compilation.NodeFactory; 3694WasmTypeNode typeNode = _compilation.NodeFactory.WasmTypeNode(typeArray); 3711CompilerTypeSystemContext context = _compilation.TypeSystemContext; 3754_compilation.SymbolNodeFactory.CreateReadyToRunHelper( 3758_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(runtimeDeterminedResult, allowDynamicallyCreatedReference: true, throwIfNotFound: true), 3792CompilerTypeSystemContext context = _compilation.TypeSystemContext; 3830_compilation.SymbolNodeFactory.CreateReadyToRunHelper( 3834_compilation.NodeFactory.Resolver.GetModuleTokenForMethod( 3861return ObjectToHandle(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap())); 4011HandleToObject(structHnd), _compilation.TypeSystemContext.Target.Architecture); 4058ISymbolNode node = _compilation.SymbolNodeFactory.CheckTypeLayout(type); 4307=> (chunk.flags & CorJitAllocMemFlag.CORJIT_ALLOCMEM_HAS_POINTERS_TO_CODE) != 0 && !_compilation.TypeSystemContext.Target.IsWindows; 4752switch (_compilation.TypeSystemContext.Target.Architecture) 4771return (uint)node.GetAlignment(_compilation.NodeFactory); 4780TargetArchitecture arch = _compilation.TypeSystemContext.Target.Architecture; 4847return owningMetadataType.Module == _compilation.TypeSystemContext.SystemModule; 4856flags.InstructionSetFlags.Add(_compilation.InstructionSetSupport.OptimisticFlags); 4866TargetArchitecture targetArchitecture = _compilation.TypeSystemContext.Target.Architecture; 4873Debug.Assert(_compilation.InstructionSetSupport.IsInstructionSetSupported(InstructionSet.X86_X86Base)); 4877Debug.Assert(_compilation.InstructionSetSupport.IsInstructionSetSupported(InstructionSet.ARM64_AdvSimd)); 4881if (targetArchitecture == TargetArchitecture.ARM && !_compilation.TypeSystemContext.Target.IsWindows) 5035PgoSchemaElem[] pgoResultsSchemas = _compilation.ProfileData.GetAllowSynthesis(_compilation, methodDesc, out bool isSynthesized)?.SchemaData; 5037if (pgoResultsSchemas != null && isSynthesized && _compilation.ProfileData.EmbedPgoDataInR2RImage) 5085instructionSet = InstructionSetFlags.ConvertToImpliedInstructionSetForVectorInstructionSets(_compilation.TypeSystemContext.Target.Architecture, instructionSet); 5087Debug.Assert(!_compilation.InstructionSetSupport.NonSpecifiableFlags.HasInstructionSet(instructionSet));