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);
3457
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);
1376
decl = _compilation.
TypeSystemContext
.GetMethodForInstantiatedType(decl.GetTypicalMethodDefinition(), (InstantiatedType)ownerTypeDesc);
1601
MetadataType placeholderType = _compilation.
TypeSystemContext
.SystemModule.GetType("System"u8, "SZGenericArrayEnumerator`1"u8, throwIfNotFound: false);
1805
result = _compilation.
TypeSystemContext
.GetAsyncVariantMethod((MethodDesc)result);
1880
_compilation.
TypeSystemContext
.EnsureLoadableMethod(method);
1907
? _compilation.
TypeSystemContext
.GetAsyncVariantMethod(method)
1938
_compilation.
TypeSystemContext
.EnsureLoadableType(owningClass);
1969
_compilation.
TypeSystemContext
.EnsureLoadableType(type);
2017
return ObjectToHandle(_compilation.
TypeSystemContext
.GetWellKnownType(result));
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));
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);
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;
4446
TargetArchitecture targetArchitecture = _compilation.
TypeSystemContext
.Target.Architecture;
4461
if (targetArchitecture == TargetArchitecture.ARM && !_compilation.
TypeSystemContext
.Target.IsWindows)
4662
instructionSet = InstructionSetFlags.ConvertToImpliedInstructionSetForVectorInstructionSets(_compilation.
TypeSystemContext
.Target.Architecture, instructionSet);