1 write to _compilation
ILCompiler.ReadyToRun (1)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
496
_compilation
= compilation;
216 references to _compilation
ILCompiler.ReadyToRun (216)
JitInterface\CorInfoImpl.ReadyToRun.cs (133)
513
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.ResumptionStubEntryPoint(compiledStubNode));
518
MethodDesc asyncResumptionStub =
_compilation
.TypeSystemContext.GetAsyncResumptionStub(MethodBeingCompiled, MethodBeingCompiled.OwningType);
519
AddResumptionStubFixup(
_compilation
.NodeFactory.CompiledMethodNode(asyncResumptionStub));
521
entryPoint = (void*)ObjectToHandle(
_compilation
.NodeFactory.CompiledMethodNode(asyncResumptionStub));
720
if ((_ilBodiesNeeded == null) &&
_compilation
.NodeFactory.OptimizationFlags.DeterminismStress > 0)
742
_compilation
.DeterminismCheckFailed = true;
743
_compilation
.Logger.LogMessage($"ERROR: Determinism check compiling method '{MethodBeingCompiled}' failed. Use '{
_compilation
.GetReproInstructions(MethodBeingCompiled)}' on command line to reproduce the failure.");
745
else if (data.Iterations <=
_compilation
.NodeFactory.OptimizationFlags.DeterminismStress)
755
_compilation
.PrepareForCompilationRetry(_methodCodeNode, _ilBodiesNeeded);
801
if (ShouldSkipCompilation(
_compilation
.InstructionSetSupport, MethodBeingCompiled,
_compilation
))
814
MethodIL methodIL =
_compilation
.GetMethodIL(MethodBeingCompiled);
829
if (FunctionHasNonReferenceableTypedILCatchClause(methodIL,
_compilation
.NodeFactory.CompilationModuleGroup))
840
if ((methodIL.GetMethodILScopeDefinition() is IEcmaMethodIL &&
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && ecmaMethod.Module == typicalDef.Context.SystemModule) ||
841
(!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(MethodBeingCompiled) &&
842
_compilation
.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(MethodBeingCompiled)))
844
ISymbolNode ilBodyNode =
_compilation
.SymbolNodeFactory.CheckILBodyFixupSignature(typicalDef);
849
var resolver =
_compilation
.NodeFactory.Resolver;
850
if (
_compilation
.CompilationModuleGroup.VersionsWithModule(ecmaMethod.Module))
860
EntityHandle? handle =
_compilation
.NodeFactory.ManifestMetadataTable._mutableModule.TryGetExistingEntityHandle(ecmaMethod);
863
resolver.AddModuleTokenForMethod(MethodBeingCompiled, new ModuleToken(
_compilation
.NodeFactory.ManifestMetadataTable._mutableModule, handle.Value));
875
if (
_compilation
.NodeFactory.Target.IsWasm && !MethodBeingCompiled.IsUnmanagedCallersOnly)
879
_compilation
.NodeFactory.WasmInterpreterToR2RThunk(wasmSig),
905
if (
_compilation
.NodeFactory.Target.IsWasm)
920
pLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.NewHelper, type));
930
pLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.NewArr1, type));
943
pLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.IsInstanceOf, type));
956
pLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.CastClass, type));
968
pLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(helperId, type));
996
MethodIL methodIL =
_compilation
.GetMethodIL(MethodBeingCompiled);
1010
pLookup.constLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.DelegateCtor(delegateTypeDesc, targetMethod));
1353
return
_compilation
.NodeFactory.GetReadyToRunHelperCell(id);
1360
var entrypoint =
_compilation
.NodeFactory.MethodEntrypoint(
1363
_compilation
.NodeFactory.Resolver.GetModuleTokenForMethod(method, true, true),
1432
if (methodDesc != null && (
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(methodDesc)
1501
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(resultMethod.OwningType))
1503
ModuleToken result =
_compilation
.NodeFactory.Resolver.GetModuleTokenForMethod(resultMethod, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1518
if (!(
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(resultField.OwningType) || resultField.OwningType.IsNonVersionable()))
1520
ModuleToken result =
_compilation
.NodeFactory.Resolver.GetModuleTokenForField(resultField, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1552
return
_compilation
.NodeFactory.Resolver.GetModuleTokenForType(paramType, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1554
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(ecmaType))
1556
return
_compilation
.NodeFactory.Resolver.GetModuleTokenForType(ecmaType, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1562
return
_compilation
.NodeFactory.Resolver.GetModuleTokenForType(typeDesc, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1578
ISymbolNode str =
_compilation
.SymbolNodeFactory.StringLiteral(
1579
new ModuleToken(
_compilation
.NodeFactory.ManifestMetadataTable._mutableModule, metaTok));
1585
ISymbolNode stringObject =
_compilation
.SymbolNodeFactory.StringLiteral(
1616
&& ((TypeDesc)ResolveTokenInScope(
_compilation
.GetMethodIL(MethodBeingCompiled), MethodBeingCompiled, (mdToken)classTokenOrOffset)).IsWellKnownType(WellKnownType.Exception))
1694
if (!pHasSideEffects && !
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(type))
1831
pResult->fieldLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.RvaFieldAddress(ComputeFieldWithToken(field, ref pResolvedToken)));
1839
else if (field.OwningType.IsCanonicalSubtype(CanonicalFormKind.Any) ||
_compilation
.NodeFactory.Target.IsWasm)
1856
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && (fieldOffset <= FieldFixupSignature.MaxCheckableOffset))
1859
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
1902
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(field.OwningType) &&
1909
pResult->fieldLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.FieldAddress(ComputeFieldWithToken(field, ref pResolvedToken)));
1917
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && (fieldOffset <= FieldFixupSignature.MaxCheckableOffset))
1920
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
1924
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(helperId, field.OwningType)
2011
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) &&
2012
!
_compilation
.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(callerMethod))
2067
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(directMethod))
2079
ModuleToken moduleToken =
_compilation
.NodeFactory.Resolver.GetModuleTokenForMethod(directMethod, false, false);
2083
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckVirtualFunctionOverride(
2210
else if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) ||
2212
!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(targetMethod.GetTypicalMethodDefinition()))
2387
else if (targetMethod.HasInstantiation ||
_compilation
.NodeFactory.Target.IsWasm) // WASM doesn't currently support the stub dispatch path
2478
ISymbolNode node =
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.TypeHandle, type);
2546
_compilation
.NodeFactory.DetectGenericCycles(callerMethod, methodToCall);
2571
else if (
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(constrainedType))
2597
_compilation
.SymbolNodeFactory.InterfaceDispatchCell(
2646
MethodWithGCInfo targetCodeNode =
_compilation
.NodeFactory.CompiledMethodNode(compilableTarget);
2653
_compilation
.NodeFactory.MethodEntrypoint(
2677
_compilation
.NodeFactory.DynamicHelperCell(
2684
Debug.Assert(!pResult->sig.hasTypeArg() ||
_compilation
.NodeFactory.Target.IsWasm);
2706
pResult->instParamLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
2712
pResult->instParamLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
2790
_compilation
.NodeFactory.DetectGenericCycles(MethodBeingCompiled, constrainedType);
2816
_compilation
.NodeFactory.DetectGenericCycles(MethodBeingCompiled, sharedMethod);
2827
ISymbolNode helper =
_compilation
.SymbolNodeFactory.GenericLookupHelper(
2946
Import import = (Import)
_compilation
.SymbolNodeFactory.ContinuationTypeSymbol(act);
2950
if (!
_compilation
.CompilationModuleGroup.VersionsWithType(type))
2953
Import typeHandleImport = (Import)
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.TypeHandle, type);
2981
symbolNode =
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
3002
symbolNode =
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
3009
symbolNode =
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
3042
return !
_compilation
.IsLayoutFixedInCurrentVersionBubble(type) || (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && !((MetadataType)type).IsNonVersionable());
3051
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) && !
_compilation
.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(callerMethod))
3067
else if (!
_compilation
.IsLayoutFixedInCurrentVersionBubble(pMT))
3075
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3085
pResult->fieldLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.FieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3090
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset))
3093
if (
_compilation
.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types
3094
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3098
else if (
_compilation
.CompilationModuleGroup.TypeLayoutCompilationUnits(pMT).HasMultipleInexactCompilationUnits)
3115
pResult->fieldLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.FieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3117
else if (
_compilation
.IsInheritanceChainLayoutFixedInCurrentVersionBubble(pMT.BaseType))
3119
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset))
3122
if (
_compilation
.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types
3123
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3130
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3137
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset))
3140
if (
_compilation
.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types
3141
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3149
pResult->fieldLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.FieldBaseOffset(field.OwningType));
3172
*ppCookieVal = (IntPtr *)ObjectToHandle(
_compilation
.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.GSCookie));
3177
ppIndirection = (void*)ObjectToHandle(
_compilation
.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.IndirectTrapThreads));
3229
if (!
_compilation
.IsModuleInstrumented(ecmaMethod.Module))
3262
Debug.Assert(
_compilation
.CompilationModuleGroup.VersionsWithMethodBody(methodDesc));
3269
pLookup.addr = (void*)ObjectToHandle(
_compilation
.SymbolNodeFactory.GetPInvokeTargetNode(methodWithToken));
3274
pLookup.addr = (void*)ObjectToHandle(
_compilation
.SymbolNodeFactory.GetIndirectPInvokeTargetNode(methodWithToken));
3291
if (!
_compilation
.CompilationModuleGroup.VersionsWithMethodBody(method))
3299
stubIL =
_compilation
.GetMethodIL(method);
3303
Debug.Assert(!
_compilation
.NodeFactory.CompilationModuleGroup.GeneratesPInvoke(method));
3335
if (
_compilation
.NodeFactory.Target.Architecture == TargetArchitecture.X86)
3354
MethodIL methodIL =
_compilation
.GetMethodIL(MethodBeingCompiled);
3431
MethodIL methodIL =
_compilation
.GetMethodIL(typicalMethod);
3440
else if (!
_compilation
.CompilationModuleGroup.VersionsWithMethodBody(typicalMethod)
3443
Debug.Assert(
_compilation
.CompilationModuleGroup.CrossModuleInlineable(ecmaMethod) ||
3444
_compilation
.CompilationModuleGroup.IsNonVersionableWithILTokensThatDoNotNeedTranslation(ecmaMethod));
3445
bool needsTokenTranslation = !
_compilation
.CompilationModuleGroup.IsNonVersionableWithILTokensThatDoNotNeedTranslation(ecmaMethod);
3453
ISymbolNode ilBodyNode =
_compilation
.SymbolNodeFactory.CheckILBodyFixupSignature(typicalMethod);
3487
if (
_compilation
.TypeSystemContext.Target.Architecture != TargetArchitecture.X64)
3496
_compilation
.NodeFactory.MethodEntrypoint(
3517
if (
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(field.OwningType) && field.HasRva)
3580
if (type.IsValueType && type.IsTypeDefEquivalent && !
_compilation
.CompilationModuleGroup.VersionsWithTypeReference(type))
3594
return
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(method);
3601
WasmTypeNode typeNode =
_compilation
.NodeFactory.WasmTypeNode(typeArray);
3616
if ((callSig != null) &&
_compilation
.NodeFactory.Target.IsWasm)
3640
AddAdditionalDependency(
_compilation
.NodeFactory.WasmR2RToInterpreterThunk(wasmSig), "R2R-to-interpreter thunk for call site");
3647
if ((callSig != null) &&
_compilation
.NodeFactory.Target.IsWasm)
3671
AddAdditionalDependency(
_compilation
.NodeFactory.WasmR2RToInterpreterThunk(wasmSig), "R2R-to-interpreter thunk for call site");
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (83)
189
return
_compilation
.Logger;
412
if (
_compilation
.TypeSystemContext.Target.Architecture != TargetArchitecture.ARM64
413
&&
_compilation
.TypeSystemContext.Target.Architecture != TargetArchitecture.LoongArch64
414
&&
_compilation
.TypeSystemContext.Target.Architecture != TargetArchitecture.RiscV64)
451
_compilation
.NodeFactory.Target.MinimumFunctionAlignment :
452
_compilation
.NodeFactory.Target.OptimumFunctionAlignment;
517
_methodCodeNode.InitializeInliningInfo(inlineeArray,
_compilation
.NodeFactory);
520
var baselineSupport =
_compilation
.InstructionSetSupport;
539
TargetArchitecture architecture =
_compilation
.TypeSystemContext.Target.Architecture;
545
var node =
_compilation
.SymbolNodeFactory.PerMethodInstructionSetSupportFixup(actualSupport);
561
_compilation
.NodeFactory.DetectGenericCycles(_methodCodeNode.Method, methodNode.Method);
575
Debug.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);
640
return
_compilation
.TypeSystemContext.Target.PointerSize;
998
if (
_compilation
.TypeSystemContext.Target.Architecture == TargetArchitecture.X86)
1108
if (
_compilation
.IsEffectivelySealed(method.GetUnboxedMethod()))
1113
if (
_compilation
.IsEffectivelySealed(method))
1227
method =
_compilation
.TypeSystemContext.GetMethodForInstantiatedType(method.GetTypicalMethodDefinition(), (InstantiatedType)type);
1253
MethodDesc instantiatedMethod =
_compilation
.TypeSystemContext.GetMethodForInstantiatedType(method.GetTypicalMethodDefinition(), instantiatedCtxType);
1256
instantiatedMethod =
_compilation
.TypeSystemContext.GetInstantiatedMethod(instantiatedMethod, method.Instantiation);
1265
if (!
_compilation
.CanInline(MethodBeingCompiled, method))
1269
MethodIL methodIL = method.IsUnboxingThunk() ? null :
_compilation
.GetMethodIL(method);
1298
var calleeIL =
_compilation
.GetMethodIL(calleeMethod);
1307
if (
_compilation
.CanInline(callerMethod, calleeMethod))
1331
var methodIL =
_compilation
.GetMethodIL(HandleToObject(ftn));
1377
decl =
_compilation
.TypeSystemContext.GetMethodForInstantiatedType(decl.GetTypicalMethodDefinition(), (InstantiatedType)ownerTypeDesc);
1381
MethodDesc originalImpl =
_compilation
.ResolveVirtualMethod(decl, objType, out info->detail);
1418
var resolver =
_compilation
.NodeFactory.Resolver;
1434
if (!
_compilation
.CompilationModuleGroup.VersionsWithTypeReference(decl.OwningType))
1489
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout)
1493
ISymbolNode virtualResolutionNode =
_compilation
.SymbolNodeFactory.CheckVirtualFunctionOverride(methodWithTokenDecl, objType, methodWithTokenImpl);
1520
MethodILScope scope = jitInterface.
_compilation
.GetMethodIL(methodWithToken.Method);
1580
MetadataType placeholderType =
_compilation
.TypeSystemContext.SystemModule.GetType("System"u8, "SZGenericArrayEnumerator`1"u8, throwIfNotFound: false);
1784
result =
_compilation
.TypeSystemContext.GetAsyncVariantMethod((MethodDesc)result);
1845
if (!
_compilation
.CompilationModuleGroup.VersionsWithMethodBody(methodIL.OwningMethod.GetTypicalMethodDefinition()))
1851
recordToken = (
_compilation
.CompilationModuleGroup.VersionsWithType(owningType) ||
_compilation
.CompilationModuleGroup.CrossModuleInlineableType(owningType)) && owningType is EcmaType;
1859
_compilation
.TypeSystemContext.EnsureLoadableMethod(method);
1867
var resolver =
_compilation
.NodeFactory.Resolver;
1878
?
_compilation
.TypeSystemContext.GetAsyncVariantMethod(method)
1909
_compilation
.TypeSystemContext.EnsureLoadableType(owningClass);
1925
_compilation
.NodeFactory.Resolver.AddModuleTokenForType(type, HandleToModuleToken(ref pResolvedToken, out bool strippedInstantiation));
1940
_compilation
.TypeSystemContext.EnsureLoadableType(type);
2015
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(result));
2183
if (
_compilation
.IsEffectivelySealed(type))
2199
makeBeforeFieldInit &=
_compilation
.CompilationModuleGroup.VersionsWithType(type);
2262
ISymbolNode node =
_compilation
.SymbolNodeFactory.CheckTypeLayout(type);
2277
Debug.Assert(
_compilation
.IsInheritanceChainLayoutFixedInCurrentVersionBubble(type));
2293
if (!
_compilation
.IsInheritanceChainLayoutFixedInCurrentVersionBubble(type))
2570
if (!parNode->hasSignificantPadding && !
_compilation
.IsLayoutFixedInCurrentVersionBubble(type))
2711
ISymbolNode node =
_compilation
.SymbolNodeFactory.CheckTypeLayout(type);
2862
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.Object));
2865
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference));
2868
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle));
2871
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle));
2874
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle));
2877
ThrowHelper.ThrowTypeLoadException("System", "RuntimeArgumentHandle",
_compilation
.TypeSystemContext.SystemModule);
2881
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.String));
2884
return ObjectToHandle(
_compilation
.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8));
3079
return
_compilation
.IsEffectivelySealed(type);
3193
return (void*)ObjectToHandle(
_compilation
.GetFieldRvaData(fd));
3459
if (
_compilation
.NodeFactory.Target.IsWasm)
3464
else if (
_compilation
.NodeFactory.Target.IsWindows)
3474
pEEInfoOut.osType = TargetToOs(
_compilation
.NodeFactory.Target);
3479
DefType continuation =
_compilation
.TypeSystemContext.ContinuationType;
3485
DefType asyncHelpers =
_compilation
.TypeSystemContext.SystemModule.GetKnownType("System.Runtime.CompilerServices"u8, "AsyncHelpers"u8);
3559
return ObjectToHandle(
_compilation
.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));
3709
HandleToObject(structHnd),
_compilation
.TypeSystemContext.Target.Architecture);
3756
ISymbolNode node =
_compilation
.SymbolNodeFactory.CheckTypeLayout(type);
3990
=> (chunk.flags & CorJitAllocMemFlag.CORJIT_ALLOCMEM_HAS_POINTERS_TO_CODE) != 0 && !
_compilation
.TypeSystemContext.Target.IsWindows;
4397
switch (
_compilation
.TypeSystemContext.Target.Architecture)
4414
TargetArchitecture arch =
_compilation
.TypeSystemContext.Target.Architecture;
4481
return owningMetadataType.Module ==
_compilation
.TypeSystemContext.SystemModule;
4490
flags.InstructionSetFlags.Add(
_compilation
.InstructionSetSupport.OptimisticFlags);
4500
TargetArchitecture targetArchitecture =
_compilation
.TypeSystemContext.Target.Architecture;
4507
Debug.Assert(
_compilation
.InstructionSetSupport.IsInstructionSetSupported(InstructionSet.X86_X86Base));
4511
Debug.Assert(
_compilation
.InstructionSetSupport.IsInstructionSetSupported(InstructionSet.ARM64_AdvSimd));
4515
if (targetArchitecture == TargetArchitecture.ARM && !
_compilation
.TypeSystemContext.Target.IsWindows)
4666
PgoSchemaElem[] pgoResultsSchemas =
_compilation
.ProfileData.GetAllowSynthesis(
_compilation
, methodDesc, out bool isSynthesized)?.SchemaData;
4668
if (pgoResultsSchemas != null && isSynthesized &&
_compilation
.ProfileData.EmbedPgoDataInR2RImage)
4716
instructionSet = InstructionSetFlags.ConvertToImpliedInstructionSetForVectorInstructionSets(
_compilation
.TypeSystemContext.Target.Architecture, instructionSet);
4718
Debug.Assert(!
_compilation
.InstructionSetSupport.NonSpecifiableFlags.HasInstructionSet(instructionSet));