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));
1350
return
_compilation
.NodeFactory.GetReadyToRunHelperCell(id);
1357
var entrypoint =
_compilation
.NodeFactory.MethodEntrypoint(
1360
_compilation
.NodeFactory.Resolver.GetModuleTokenForMethod(method, true, true),
1429
if (methodDesc != null && (
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(methodDesc)
1494
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(resultMethod.OwningType))
1496
ModuleToken result =
_compilation
.NodeFactory.Resolver.GetModuleTokenForMethod(resultMethod, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1511
if (!(
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(resultField.OwningType) || resultField.OwningType.IsNonVersionable()))
1513
ModuleToken result =
_compilation
.NodeFactory.Resolver.GetModuleTokenForField(resultField, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1545
return
_compilation
.NodeFactory.Resolver.GetModuleTokenForType(paramType, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1547
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(ecmaType))
1549
return
_compilation
.NodeFactory.Resolver.GetModuleTokenForType(ecmaType, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1555
return
_compilation
.NodeFactory.Resolver.GetModuleTokenForType(typeDesc, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
1571
ISymbolNode str =
_compilation
.SymbolNodeFactory.StringLiteral(
1572
new ModuleToken(
_compilation
.NodeFactory.ManifestMetadataTable._mutableModule, metaTok));
1578
ISymbolNode stringObject =
_compilation
.SymbolNodeFactory.StringLiteral(
1609
&& ((TypeDesc)ResolveTokenInScope(
_compilation
.GetMethodIL(MethodBeingCompiled), MethodBeingCompiled, (mdToken)classTokenOrOffset)).IsWellKnownType(WellKnownType.Exception))
1687
if (!pHasSideEffects && !
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(type))
1824
pResult->fieldLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.RvaFieldAddress(ComputeFieldWithToken(field, ref pResolvedToken)));
1832
else if (field.OwningType.IsCanonicalSubtype(CanonicalFormKind.Any) ||
_compilation
.NodeFactory.Target.IsWasm)
1849
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && (fieldOffset <= FieldFixupSignature.MaxCheckableOffset))
1852
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
1895
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(field.OwningType) &&
1902
pResult->fieldLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.FieldAddress(ComputeFieldWithToken(field, ref pResolvedToken)));
1910
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && (fieldOffset <= FieldFixupSignature.MaxCheckableOffset))
1913
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
1917
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(helperId, field.OwningType)
2004
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) &&
2005
!
_compilation
.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(callerMethod))
2060
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(directMethod))
2072
ModuleToken moduleToken =
_compilation
.NodeFactory.Resolver.GetModuleTokenForMethod(directMethod, false, false);
2076
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckVirtualFunctionOverride(
2203
else if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) ||
2205
!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(targetMethod.GetTypicalMethodDefinition()))
2380
else if (targetMethod.HasInstantiation ||
_compilation
.NodeFactory.Target.IsWasm) // WASM doesn't currently support the stub dispatch path
2473
ISymbolNode node =
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.TypeHandle, type);
2541
_compilation
.NodeFactory.DetectGenericCycles(callerMethod, methodToCall);
2566
else if (
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(constrainedType))
2592
_compilation
.SymbolNodeFactory.InterfaceDispatchCell(
2641
MethodWithGCInfo targetCodeNode =
_compilation
.NodeFactory.CompiledMethodNode(compilableTarget);
2648
_compilation
.NodeFactory.MethodEntrypoint(
2672
_compilation
.NodeFactory.DynamicHelperCell(
2698
pResult->instParamLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
2704
pResult->instParamLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
2782
_compilation
.NodeFactory.DetectGenericCycles(MethodBeingCompiled, constrainedType);
2808
_compilation
.NodeFactory.DetectGenericCycles(MethodBeingCompiled, sharedMethod);
2819
ISymbolNode helper =
_compilation
.SymbolNodeFactory.GenericLookupHelper(
2938
Import import = (Import)
_compilation
.SymbolNodeFactory.ContinuationTypeSymbol(act);
2942
if (!
_compilation
.CompilationModuleGroup.VersionsWithType(type))
2945
Import typeHandleImport = (Import)
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(ReadyToRunHelperId.TypeHandle, type);
2973
symbolNode =
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
2994
symbolNode =
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
3001
symbolNode =
_compilation
.SymbolNodeFactory.CreateReadyToRunHelper(
3034
return !
_compilation
.IsLayoutFixedInCurrentVersionBubble(type) || (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && !((MetadataType)type).IsNonVersionable());
3043
if (!
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) && !
_compilation
.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(callerMethod))
3059
else if (!
_compilation
.IsLayoutFixedInCurrentVersionBubble(pMT))
3067
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3077
pResult->fieldLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.FieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3082
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset))
3085
if (
_compilation
.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types
3086
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3090
else if (
_compilation
.IsInheritanceChainLayoutFixedInCurrentVersionBubble(pMT.BaseType))
3092
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset))
3095
if (
_compilation
.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types
3096
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3103
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3110
if (
_compilation
.SymbolNodeFactory.VerifyTypeAndFieldLayout && !callerMethod.IsNonVersionable() && (pResult->offset <= FieldFixupSignature.MaxCheckableOffset))
3113
if (
_compilation
.CompilationModuleGroup.VersionsWithType(field.OwningType)) // Only verify versions with types
3114
AddPrecodeFixup(
_compilation
.SymbolNodeFactory.CheckFieldOffset(ComputeFieldWithToken(field, ref pResolvedToken)));
3122
pResult->fieldLookup = CreateConstLookupToSymbol(
_compilation
.SymbolNodeFactory.FieldBaseOffset(field.OwningType));
3145
*ppCookieVal = (IntPtr *)ObjectToHandle(
_compilation
.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.GSCookie));
3150
ppIndirection = (void*)ObjectToHandle(
_compilation
.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.IndirectTrapThreads));
3202
if (!
_compilation
.IsModuleInstrumented(ecmaMethod.Module))
3235
Debug.Assert(
_compilation
.CompilationModuleGroup.VersionsWithMethodBody(methodDesc));
3242
pLookup.addr = (void*)ObjectToHandle(
_compilation
.SymbolNodeFactory.GetPInvokeTargetNode(methodWithToken));
3247
pLookup.addr = (void*)ObjectToHandle(
_compilation
.SymbolNodeFactory.GetIndirectPInvokeTargetNode(methodWithToken));
3264
if (!
_compilation
.CompilationModuleGroup.VersionsWithMethodBody(method))
3272
stubIL =
_compilation
.GetMethodIL(method);
3276
Debug.Assert(!
_compilation
.NodeFactory.CompilationModuleGroup.GeneratesPInvoke(method));
3308
if (
_compilation
.NodeFactory.Target.Architecture == TargetArchitecture.X86)
3327
MethodIL methodIL =
_compilation
.GetMethodIL(MethodBeingCompiled);
3404
MethodIL methodIL =
_compilation
.GetMethodIL(typicalMethod);
3413
else if (!
_compilation
.CompilationModuleGroup.VersionsWithMethodBody(typicalMethod)
3416
Debug.Assert(
_compilation
.CompilationModuleGroup.CrossModuleInlineable(ecmaMethod) ||
3417
_compilation
.CompilationModuleGroup.IsNonVersionableWithILTokensThatDoNotNeedTranslation(ecmaMethod));
3418
bool needsTokenTranslation = !
_compilation
.CompilationModuleGroup.IsNonVersionableWithILTokensThatDoNotNeedTranslation(ecmaMethod);
3426
ISymbolNode ilBodyNode =
_compilation
.SymbolNodeFactory.CheckILBodyFixupSignature(typicalMethod);
3460
if (
_compilation
.TypeSystemContext.Target.Architecture != TargetArchitecture.X64)
3469
_compilation
.NodeFactory.MethodEntrypoint(
3490
if (
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithType(field.OwningType) && field.HasRva)
3553
if (type.IsValueType && type.IsTypeDefEquivalent && !
_compilation
.CompilationModuleGroup.VersionsWithTypeReference(type))
3567
return
_compilation
.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(method);
3574
WasmTypeNode typeNode =
_compilation
.NodeFactory.WasmTypeNode(typeArray);
3589
if ((callSig != null) &&
_compilation
.NodeFactory.Target.IsWasm)
3613
AddAdditionalDependency(
_compilation
.NodeFactory.WasmR2RToInterpreterThunk(wasmSig), "R2R-to-interpreter thunk for call site");
3620
if ((callSig != null) &&
_compilation
.NodeFactory.Target.IsWasm)
3644
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));
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);
1521
MethodILScope scope = jitInterface.
_compilation
.GetMethodIL(methodWithToken.Method);
1603
MetadataType placeholderType =
_compilation
.TypeSystemContext.SystemModule.GetType("System"u8, "SZGenericArrayEnumerator`1"u8, throwIfNotFound: false);
1807
result =
_compilation
.TypeSystemContext.GetAsyncVariantMethod((MethodDesc)result);
1868
if (!
_compilation
.CompilationModuleGroup.VersionsWithMethodBody(methodIL.OwningMethod.GetTypicalMethodDefinition()))
1874
recordToken = (
_compilation
.CompilationModuleGroup.VersionsWithType(owningType) ||
_compilation
.CompilationModuleGroup.CrossModuleInlineableType(owningType)) && owningType is EcmaType;
1882
_compilation
.TypeSystemContext.EnsureLoadableMethod(method);
1890
var resolver =
_compilation
.NodeFactory.Resolver;
1909
?
_compilation
.TypeSystemContext.GetAsyncVariantMethod(method)
1940
_compilation
.TypeSystemContext.EnsureLoadableType(owningClass);
1956
_compilation
.NodeFactory.Resolver.AddModuleTokenForType(type, HandleToModuleToken(ref pResolvedToken, out bool strippedInstantiation));
1971
_compilation
.TypeSystemContext.EnsureLoadableType(type);
2019
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(result));
2187
if (
_compilation
.IsEffectivelySealed(type))
2203
makeBeforeFieldInit &=
_compilation
.CompilationModuleGroup.VersionsWithType(type);
2266
ISymbolNode node =
_compilation
.SymbolNodeFactory.CheckTypeLayout(type);
2281
Debug.Assert(
_compilation
.IsInheritanceChainLayoutFixedInCurrentVersionBubble(type));
2297
if (!
_compilation
.IsInheritanceChainLayoutFixedInCurrentVersionBubble(type))
2574
if (!parNode->hasSignificantPadding && !
_compilation
.IsLayoutFixedInCurrentVersionBubble(type))
2715
ISymbolNode node =
_compilation
.SymbolNodeFactory.CheckTypeLayout(type);
2866
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.Object));
2869
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference));
2872
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle));
2875
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle));
2878
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle));
2881
ThrowHelper.ThrowTypeLoadException("System", "RuntimeArgumentHandle",
_compilation
.TypeSystemContext.SystemModule);
2885
return ObjectToHandle(
_compilation
.TypeSystemContext.GetWellKnownType(WellKnownType.String));
2888
return ObjectToHandle(
_compilation
.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8));
3083
return
_compilation
.IsEffectivelySealed(type);
3197
return (void*)ObjectToHandle(
_compilation
.GetFieldRvaData(fd));
3461
if (
_compilation
.NodeFactory.Target.IsWasm)
3466
else if (
_compilation
.NodeFactory.Target.IsWindows)
3476
pEEInfoOut.osType = TargetToOs(
_compilation
.NodeFactory.Target);
3481
DefType continuation =
_compilation
.TypeSystemContext.ContinuationType;
3487
DefType asyncHelpers =
_compilation
.TypeSystemContext.SystemModule.GetKnownType("System.Runtime.CompilerServices"u8, "AsyncHelpers"u8);
3508
return ObjectToHandle(
_compilation
.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap()));
3658
HandleToObject(structHnd),
_compilation
.TypeSystemContext.Target.Architecture);
3705
ISymbolNode node =
_compilation
.SymbolNodeFactory.CheckTypeLayout(type);
3939
=> (chunk.flags & CorJitAllocMemFlag.CORJIT_ALLOCMEM_HAS_POINTERS_TO_CODE) != 0 && !
_compilation
.TypeSystemContext.Target.IsWindows;
4345
switch (
_compilation
.TypeSystemContext.Target.Architecture)
4362
TargetArchitecture arch =
_compilation
.TypeSystemContext.Target.Architecture;
4429
return owningMetadataType.Module ==
_compilation
.TypeSystemContext.SystemModule;
4438
flags.InstructionSetFlags.Add(
_compilation
.InstructionSetSupport.OptimisticFlags);
4445
TargetArchitecture targetArchitecture =
_compilation
.TypeSystemContext.Target.Architecture;
4452
Debug.Assert(
_compilation
.InstructionSetSupport.IsInstructionSetSupported(InstructionSet.X86_X86Base));
4456
Debug.Assert(
_compilation
.InstructionSetSupport.IsInstructionSetSupported(InstructionSet.ARM64_AdvSimd));
4460
if (targetArchitecture == TargetArchitecture.ARM && !
_compilation
.TypeSystemContext.Target.IsWindows)
4611
PgoSchemaElem[] pgoResultsSchemas =
_compilation
.ProfileData.GetAllowSynthesis(
_compilation
, methodDesc, out bool isSynthesized)?.SchemaData;
4613
if (pgoResultsSchemas != null && isSynthesized &&
_compilation
.ProfileData.EmbedPgoDataInR2RImage)
4661
instructionSet = InstructionSetFlags.ConvertToImpliedInstructionSetForVectorInstructionSets(
_compilation
.TypeSystemContext.Target.Architecture, instructionSet);
4663
Debug.Assert(!
_compilation
.InstructionSetSupport.NonSpecifiableFlags.HasInstructionSet(instructionSet));