1 write to _compilation
ILCompiler.ReadyToRun (1)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
498
_compilation
= compilation;
213 references to _compilation
ILCompiler.ReadyToRun (213)
JitInterface\CorInfoImpl.ReadyToRun.cs (130)
515
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.ResumptionStubEntryPoint(compiledStubNode));
520
MethodDesc asyncResumptionStub =
_compilation
.TypeSystemContext.GetAsyncResumptionStub(MethodBeingCompiled, MethodBeingCompiled.OwningType);
521
AddResumptionStubFixup(
_compilation
.NodeFactory.CompiledMethodNode(asyncResumptionStub));
523
entryPoint = (void*)ObjectToHandle(
_compilation
.NodeFactory.CompiledMethodNode(asyncResumptionStub));
714
if ((_ilBodiesNeeded == null) &&
_compilation
.NodeFactory.OptimizationFlags.DeterminismStress > 0)
736
_compilation
.DeterminismCheckFailed = true;
737
_compilation
.Logger.LogMessage($"ERROR: Determinism check compiling method '{MethodBeingCompiled}' failed. Use '{
_compilation
.GetReproInstructions(MethodBeingCompiled)}' on command line to reproduce the failure.");
739
else if (data.Iterations <=
_compilation
.NodeFactory.OptimizationFlags.DeterminismStress)
749
_compilation
.PrepareForCompilationRetry(_methodCodeNode, _ilBodiesNeeded);
795
if (ShouldSkipCompilation(
_compilation
.InstructionSetSupport, MethodBeingCompiled,
_compilation
))
808
MethodIL methodIL =
_compilation
.GetMethodIL(MethodBeingCompiled);
823
if (FunctionHasNonReferenceableTypedILCatchClause(methodIL,
_compilation
.NodeFactory.CompilationModuleGroup))
834
if ((methodIL.GetMethodILScopeDefinition() is IEcmaMethodIL &&
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && ecmaMethod.Module == typicalDef.Context.SystemModule) ||
835
(!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(MethodBeingCompiled) &&
836
_compilation
.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(MethodBeingCompiled)))
838
ISymbolNode ilBodyNode =
_compilation
.SymbolNodeFactory.CheckILBodyFixupSignature(typicalDef);
843
var resolver =
_compilation
.NodeFactory.Resolver;
844
if (
_compilation
.CompilationModuleGroup.VersionsWithModule(ecmaMethod.Module))
854
EntityHandle? handle =
_compilation
.NodeFactory.ManifestMetadataTable._mutableModule.TryGetExistingEntityHandle(ecmaMethod);
857
resolver.AddModuleTokenForMethod(MethodBeingCompiled, new ModuleToken(
_compilation
.NodeFactory.ManifestMetadataTable._mutableModule, handle.Value));
869
if (
_compilation
.NodeFactory.Target.IsWasm && !MethodBeingCompiled.IsUnmanagedCallersOnly)
873
_compilation
.NodeFactory.WasmInterpreterToR2RThunk(wasmSig),
899
if (
_compilation
.NodeFactory.Target.IsWasm)
914
pLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.NewHelper, type));
924
pLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.NewArr1, type));
937
pLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.IsInstanceOf, type));
950
pLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.CastClass, type));
962
pLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(helperId, type));
990
MethodIL methodIL =
_compilation
.GetMethodIL(MethodBeingCompiled);
1004
pLookup.constLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.DelegateCtor(delegateTypeDesc, targetMethod));
1347
return
_compilation
.NodeFactory.GetReadyToRunHelperCell(id);
1354
var entrypoint =
_compilation
.NodeFactory.MethodEntrypoint(
1357
_compilation
.NodeFactory.Resolver.GetModuleTokenForMethod(method, true, true),
1426
if (methodDesc != null && (
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(methodDesc)
1491
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(resultMethod.OwningType))
1493
ModuleToken result =
_compilation
.NodeFactory.Resolver.GetModuleTokenForMethod(resultMethod, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1508
if (!(
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(resultField.OwningType) || resultField.OwningType.IsNonVersionable()))
1510
ModuleToken result =
_compilation
.NodeFactory.Resolver.GetModuleTokenForField(resultField, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1542
return
_compilation
.NodeFactory.Resolver.GetModuleTokenForType(paramType, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1544
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(ecmaType))
1546
return
_compilation
.NodeFactory.Resolver.GetModuleTokenForType(ecmaType, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1552
return
_compilation
.NodeFactory.Resolver.GetModuleTokenForType(typeDesc, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1568
ISymbolNode str =
_compilation
.SymbolNodeFactory.StringLiteral(
1569
new ModuleToken(
_compilation
.NodeFactory.ManifestMetadataTable._mutableModule, metaTok));
1575
ISymbolNode stringObject =
_compilation
.SymbolNodeFactory.StringLiteral(
1606
&& ((TypeDesc)ResolveTokenInScope(
_compilation
.GetMethodIL(MethodBeingCompiled), MethodBeingCompiled, (mdToken)classTokenOrOffset)).IsWellKnownType(WellKnownType.Exception))
1684
if (!pHasSideEffects && !
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(type))
1821
pResult->fieldLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.RvaFieldAddress(ComputeFieldWithToken(field, ref pResolvedToken)));
1829
else if (field.OwningType.IsCanonicalSubtype(CanonicalFormKind.Any) ||
_compilation
.NodeFactory.Target.IsWasm)
1846
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && (fieldOffset <= FieldFixupSignature.MaxCheckableOffset))
1849
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
1892
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(field.OwningType) &&
1899
pResult->fieldLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.FieldAddress(ComputeFieldWithToken(field, ref pResolvedToken)));
1907
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && (fieldOffset <= FieldFixupSignature.MaxCheckableOffset))
1910
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
1914
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(helperId, field.OwningType)
2001
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) &&
2002
!
_compilation
.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(callerMethod))
2057
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(directMethod))
2069
ModuleToken moduleToken =
_compilation
.NodeFactory.Resolver.GetModuleTokenForMethod(directMethod, false, false);
2073
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckVirtualFunctionOverride(
2200
else if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) ||
2202
!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(targetMethod.GetTypicalMethodDefinition()))
2377
else if (targetMethod.HasInstantiation ||
_compilation
.NodeFactory.Target.IsWasm) // WASM doesn't currently support the stub dispatch path
2470
ISymbolNode node =
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.TypeHandle, type);
2538
_compilation
.NodeFactory.DetectGenericCycles(callerMethod, methodToCall);
2563
else if (
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(constrainedType))
2589
_compilation
.SymbolNodeFactory.InterfaceDispatchCell(
2638
MethodWithGCInfo targetCodeNode =
_compilation
.NodeFactory.CompiledMethodNode(compilableTarget);
2645
_compilation
.NodeFactory.MethodEntrypoint(
2669
_compilation
.NodeFactory.DynamicHelperCell(
2695
pResult->instParamLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
2701
pResult->instParamLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
2779
_compilation
.NodeFactory.DetectGenericCycles(MethodBeingCompiled, constrainedType);
2805
_compilation
.NodeFactory.DetectGenericCycles(MethodBeingCompiled, sharedMethod);
2816
ISymbolNode helper =
_compilation
.SymbolNodeFactory.GenericLookupHelper(
2935
Import import = (Import)
_compilation
.SymbolNodeFactory.ContinuationTypeSymbol(act);
2939
if (!
_compilation
.CompilationModuleGroup.VersionsWithType(type))
2942
Import typeHandleImport = (Import)
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.TypeHandle, type);
2970
symbolNode =
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
2991
symbolNode =
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
2998
symbolNode =
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
3031
return !
_compilation
.IsLayoutFixedInCurrentVersionBubble(type) || (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && !((MetadataType)type).IsNonVersionable());
3040
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) && !
_compilation
.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(callerMethod))
3056
else if (!
_compilation
.IsLayoutFixedInCurrentVersionBubble(pMT))
3064
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3074
pResult->fieldLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.FieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3079
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset))
3082
if (
_compilation
.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types
3083
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3087
else if (
_compilation
.IsInheritanceChainLayoutFixedInCurrentVersionBubble(pMT.BaseType))
3089
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset))
3092
if (
_compilation
.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types
3093
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3100
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3107
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset))
3110
if (
_compilation
.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types
3111
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3119
pResult->fieldLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.FieldBaseOffset(field.OwningType));
3142
*ppCookieVal = (IntPtr *)ObjectToHandle(
_compilation
.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.GSCookie));
3147
ppIndirection = (void*)ObjectToHandle(
_compilation
.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.IndirectTrapThreads));
3199
if (!
_compilation
.IsModuleInstrumented(ecmaMethod.Module))
3232
Debug.Assert(
_compilation
.CompilationModuleGroup.VersionsWithMethodBody(methodDesc));
3239
pLookup.addr = (void*)ObjectToHandle(
_compilation
.SymbolNodeFactory.GetPInvokeTargetNode(methodWithToken));
3244
pLookup.addr = (void*)ObjectToHandle(
_compilation
.SymbolNodeFactory.GetIndirectPInvokeTargetNode(methodWithToken));
3261
if (!
_compilation
.CompilationModuleGroup.VersionsWithMethodBody(method))
3269
stubIL =
_compilation
.GetMethodIL(method);
3273
Debug.Assert(!
_compilation
.NodeFactory.CompilationModuleGroup.GeneratesPInvoke(method));
3305
if (
_compilation
.NodeFactory.Target.Architecture == TargetArchitecture.X86)
3324
MethodIL methodIL =
_compilation
.GetMethodIL(MethodBeingCompiled);
3401
MethodIL methodIL =
_compilation
.GetMethodIL(typicalMethod);
3410
else if (!
_compilation
.CompilationModuleGroup.VersionsWithMethodBody(typicalMethod)
3413
Debug.Assert(
_compilation
.CompilationModuleGroup.CrossModuleInlineable(ecmaMethod) ||
3414
_compilation
.CompilationModuleGroup.IsNonVersionableWithILTokensThatDoNotNeedTranslation(ecmaMethod));
3415
bool needsTokenTranslation = !
_compilation
.CompilationModuleGroup.IsNonVersionableWithILTokensThatDoNotNeedTranslation(ecmaMethod);
3423
ISymbolNode ilBodyNode =
_compilation
.SymbolNodeFactory.CheckILBodyFixupSignature(typicalMethod);
3457
if (
_compilation
.TypeSystemContext.Target.Architecture != TargetArchitecture.X64)
3466
_compilation
.NodeFactory.MethodEntrypoint(
3487
if (
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(field.OwningType) && field.HasRva)
3550
if (type.IsValueType && type.IsTypeDefEquivalent && !
_compilation
.CompilationModuleGroup.VersionsWithTypeReference(type))
3564
return
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(method);
3571
WasmTypeNode typeNode =
_compilation
.NodeFactory.WasmTypeNode(typeArray);
3586
if ((callSig != null) &&
_compilation
.NodeFactory.Target.IsWasm)
3610
AddAdditionalDependency(
_compilation
.NodeFactory.WasmR2RToInterpreterThunk(wasmSig), "R2R-to-interpreter thunk for call site");
3617
if ((callSig != null) &&
_compilation
.NodeFactory.Target.IsWasm)
3641
AddAdditionalDependency(
_compilation
.NodeFactory.WasmR2RToInterpreterThunk(wasmSig), "R2R-to-interpreter thunk for call site");
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (83)
187
return
_compilation
.Logger;
410
if (
_compilation
.TypeSystemContext.Target.Architecture != TargetArchitecture.ARM64
411
&&
_compilation
.TypeSystemContext.Target.Architecture != TargetArchitecture.LoongArch64
412
&&
_compilation
.TypeSystemContext.Target.Architecture != TargetArchitecture.RiscV64)
449
_compilation
.NodeFactory.Target.MinimumFunctionAlignment :
450
_compilation
.NodeFactory.Target.OptimumFunctionAlignment;
515
_methodCodeNode.InitializeInliningInfo(inlineeArray,
_compilation
.NodeFactory);
518
var baselineSupport =
_compilation
.InstructionSetSupport;
537
TargetArchitecture architecture =
_compilation
.TypeSystemContext.Target.Architecture;
543
var node =
_compilation
.SymbolNodeFactory.PerMethodInstructionSetSupportFixup(actualSupport);
559
_compilation
.NodeFactory.DetectGenericCycles(_methodCodeNode.Method, methodNode.Method);
573
Debug.Assert(
_compilation
.NodeFactory.InstrumentationDataTable != null, "Expected InstrumentationDataTable to be non-null with synthesized PGO data to embed");
574
_compilation
.NodeFactory.InstrumentationDataTable.EmbedSynthesizedPgoDataForMethods(ref _additionalDependencies, _synthesizedPgoDependencies);
638
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))
1268
MethodIL methodIL = method.IsUnboxingThunk() ? null :
_compilation
.GetMethodIL(method);
1297
var calleeIL =
_compilation
.GetMethodIL(calleeMethod);
1306
if (
_compilation
.CanInline(callerMethod, calleeMethod))
1330
var methodIL =
_compilation
.GetMethodIL(HandleToObject(ftn));
1376
decl =
_compilation
.TypeSystemContext.GetMethodForInstantiatedType(decl.GetTypicalMethodDefinition(), (InstantiatedType)ownerTypeDesc);
1380
MethodDesc originalImpl =
_compilation
.ResolveVirtualMethod(decl, objType, out info->detail);
1417
var resolver =
_compilation
.NodeFactory.Resolver;
1433
if (!
_compilation
.CompilationModuleGroup.VersionsWithTypeReference(decl.OwningType))
1488
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout)
1492
ISymbolNode virtualResolutionNode =
_compilation
.SymbolNodeFactory.CheckVirtualFunctionOverride(methodWithTokenDecl, objType, methodWithTokenImpl);
1519
MethodILScope scope = jitInterface.
_compilation
.GetMethodIL(methodWithToken.Method);
1601
MetadataType placeholderType =
_compilation
.TypeSystemContext.SystemModule.GetType("System"u8, "SZGenericArrayEnumerator`1"u8, throwIfNotFound: false);
1805
result =
_compilation
.TypeSystemContext.GetAsyncVariantMethod((MethodDesc)result);
1866
if (!
_compilation
.CompilationModuleGroup.VersionsWithMethodBody(methodIL.OwningMethod.GetTypicalMethodDefinition()))
1872
recordToken = (
_compilation
.CompilationModuleGroup.VersionsWithType(owningType) ||
_compilation
.CompilationModuleGroup.CrossModuleInlineableType(owningType)) && owningType is EcmaType;
1880
_compilation
.TypeSystemContext.EnsureLoadableMethod(method);
1888
var resolver =
_compilation
.NodeFactory.Resolver;
1907
?
_compilation
.TypeSystemContext.GetAsyncVariantMethod(method)
1938
_compilation
.TypeSystemContext.EnsureLoadableType(owningClass);
1954
_compilation
.NodeFactory.Resolver.AddModuleTokenForType(type, HandleToModuleToken(ref pResolvedToken, out bool strippedInstantiation));
1969
_compilation
.TypeSystemContext.EnsureLoadableType(type);
2017
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(result));
2185
if (
_compilation
.IsEffectivelySealed(type))
2201
makeBeforeFieldInit &=
_compilation
.CompilationModuleGroup.VersionsWithType(type);
2264
ISymbolNode node =
_compilation
.SymbolNodeFactory.CheckTypeLayout(type);
2279
Debug.Assert(
_compilation
.IsInheritanceChainLayoutFixedInCurrentVersionBubble(type));
2295
if (!
_compilation
.IsInheritanceChainLayoutFixedInCurrentVersionBubble(type))
2572
if (!parNode->hasSignificantPadding && !
_compilation
.IsLayoutFixedInCurrentVersionBubble(type))
2713
ISymbolNode node =
_compilation
.SymbolNodeFactory.CheckTypeLayout(type);
2864
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.Object));
2867
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference));
2870
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle));
2873
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle));
2876
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle));
2879
ThrowHelper.ThrowTypeLoadException("System", "RuntimeArgumentHandle",
_compilation
.TypeSystemContext.SystemModule);
2883
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.String));
2886
return ObjectToHandle(
_compilation
.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8));
3081
return
_compilation
.IsEffectivelySealed(type);
3195
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);
3506
return ObjectToHandle(
_compilation
.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));
3656
HandleToObject(structHnd),
_compilation
.TypeSystemContext.Target.Architecture);
3703
ISymbolNode node =
_compilation
.SymbolNodeFactory.CheckTypeLayout(type);
3937
=> (chunk.flags & CorJitAllocMemFlag.CORJIT_ALLOCMEM_HAS_POINTERS_TO_CODE) != 0 && !
_compilation
.TypeSystemContext.Target.IsWindows;
4343
switch (
_compilation
.TypeSystemContext.Target.Architecture)
4360
TargetArchitecture arch =
_compilation
.TypeSystemContext.Target.Architecture;
4427
return owningMetadataType.Module ==
_compilation
.TypeSystemContext.SystemModule;
4436
flags.InstructionSetFlags.Add(
_compilation
.InstructionSetSupport.OptimisticFlags);
4446
TargetArchitecture targetArchitecture =
_compilation
.TypeSystemContext.Target.Architecture;
4453
Debug.Assert(
_compilation
.InstructionSetSupport.IsInstructionSetSupported(InstructionSet.X86_X86Base));
4457
Debug.Assert(
_compilation
.InstructionSetSupport.IsInstructionSetSupported(InstructionSet.ARM64_AdvSimd));
4461
if (targetArchitecture == TargetArchitecture.ARM && !
_compilation
.TypeSystemContext.Target.IsWindows)
4612
PgoSchemaElem[] pgoResultsSchemas =
_compilation
.ProfileData.GetAllowSynthesis(
_compilation
, methodDesc, out bool isSynthesized)?.SchemaData;
4614
if (pgoResultsSchemas != null && isSynthesized &&
_compilation
.ProfileData.EmbedPgoDataInR2RImage)
4662
instructionSet = InstructionSetFlags.ConvertToImpliedInstructionSetForVectorInstructionSets(
_compilation
.TypeSystemContext.Target.Architecture, instructionSet);
4664
Debug.Assert(!
_compilation
.InstructionSetSupport.NonSpecifiableFlags.HasInstructionSet(instructionSet));