40 references to TypeSystemContext
ILCompiler.ReadyToRun (40)
Compiler\ReadyToRunCodegenCompilation.cs (2)
1015
DefType continuation =
TypeSystemContext
.ContinuationType;
1016
TypeDesc asyncHelpers =
TypeSystemContext
.SystemModule.GetKnownType("System.Runtime.CompilerServices"u8, "AsyncHelpers"u8);
JitInterface\CorInfoImpl.ReadyToRun.cs (2)
518
MethodDesc asyncResumptionStub = _compilation.
TypeSystemContext
.GetAsyncResumptionStub(MethodBeingCompiled, MethodBeingCompiled.OwningType);
3487
if (_compilation.
TypeSystemContext
.Target.Architecture != TargetArchitecture.X64)
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (36)
412
if (_compilation.
TypeSystemContext
.Target.Architecture != TargetArchitecture.ARM64
413
&& _compilation.
TypeSystemContext
.Target.Architecture != TargetArchitecture.LoongArch64
414
&& _compilation.
TypeSystemContext
.Target.Architecture != TargetArchitecture.RiscV64)
539
TargetArchitecture architecture = _compilation.
TypeSystemContext
.Target.Architecture;
640
return _compilation.
TypeSystemContext
.Target.PointerSize;
998
if (_compilation.
TypeSystemContext
.Target.Architecture == TargetArchitecture.X86)
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);
1377
decl = _compilation.
TypeSystemContext
.GetMethodForInstantiatedType(decl.GetTypicalMethodDefinition(), (InstantiatedType)ownerTypeDesc);
1580
MetadataType placeholderType = _compilation.
TypeSystemContext
.SystemModule.GetType("System"u8, "SZGenericArrayEnumerator`1"u8, throwIfNotFound: false);
1784
result = _compilation.
TypeSystemContext
.GetAsyncVariantMethod((MethodDesc)result);
1859
_compilation.
TypeSystemContext
.EnsureLoadableMethod(method);
1878
? _compilation.
TypeSystemContext
.GetAsyncVariantMethod(method)
1909
_compilation.
TypeSystemContext
.EnsureLoadableType(owningClass);
1940
_compilation.
TypeSystemContext
.EnsureLoadableType(type);
2015
return ObjectToHandle(_compilation.
TypeSystemContext
.GetWellKnownType(result));
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));
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);
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;
4500
TargetArchitecture targetArchitecture = _compilation.
TypeSystemContext
.Target.Architecture;
4515
if (targetArchitecture == TargetArchitecture.ARM && !_compilation.
TypeSystemContext
.Target.IsWindows)
4716
instructionSet = InstructionSetFlags.ConvertToImpliedInstructionSetForVectorInstructionSets(_compilation.
TypeSystemContext
.Target.Architecture, instructionSet);