40 references to TypeSystemContext
ILCompiler.ReadyToRun (40)
Compiler\ReadyToRunCodegenCompilation.cs (2)
1014
DefType continuation =
TypeSystemContext
.ContinuationType;
1015
TypeDesc asyncHelpers =
TypeSystemContext
.SystemModule.GetKnownType("System.Runtime.CompilerServices"u8, "AsyncHelpers"u8);
JitInterface\CorInfoImpl.ReadyToRun.cs (2)
520
MethodDesc asyncResumptionStub = _compilation.
TypeSystemContext
.GetAsyncResumptionStub(MethodBeingCompiled, MethodBeingCompiled.OwningType);
3460
if (_compilation.
TypeSystemContext
.Target.Architecture != TargetArchitecture.X64)
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (36)
410
if (_compilation.
TypeSystemContext
.Target.Architecture != TargetArchitecture.ARM64
411
&& _compilation.
TypeSystemContext
.Target.Architecture != TargetArchitecture.LoongArch64
412
&& _compilation.
TypeSystemContext
.Target.Architecture != TargetArchitecture.RiscV64)
537
TargetArchitecture architecture = _compilation.
TypeSystemContext
.Target.Architecture;
638
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);
1603
MetadataType placeholderType = _compilation.
TypeSystemContext
.SystemModule.GetType("System"u8, "SZGenericArrayEnumerator`1"u8, throwIfNotFound: false);
1807
result = _compilation.
TypeSystemContext
.GetAsyncVariantMethod((MethodDesc)result);
1882
_compilation.
TypeSystemContext
.EnsureLoadableMethod(method);
1909
? _compilation.
TypeSystemContext
.GetAsyncVariantMethod(method)
1940
_compilation.
TypeSystemContext
.EnsureLoadableType(owningClass);
1971
_compilation.
TypeSystemContext
.EnsureLoadableType(type);
2019
return ObjectToHandle(_compilation.
TypeSystemContext
.GetWellKnownType(result));
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));
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);
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;
4445
TargetArchitecture targetArchitecture = _compilation.
TypeSystemContext
.Target.Architecture;
4460
if (targetArchitecture == TargetArchitecture.ARM && !_compilation.
TypeSystemContext
.Target.IsWindows)
4661
instructionSet = InstructionSetFlags.ConvertToImpliedInstructionSetForVectorInstructionSets(_compilation.
TypeSystemContext
.Target.Architecture, instructionSet);