47 references to TypeSystemContext
ILCompiler.ReadyToRun (47)
Compiler\ReadyToRunCodegenCompilation.cs (8)
1026DefType continuation = TypeSystemContext.ContinuationType; 1027TypeDesc asyncHelpers = TypeSystemContext.SystemModule.GetKnownType("System.Runtime.CompilerServices"u8, "AsyncHelpers"u8); 1039TypeDesc voidType = TypeSystemContext.GetWellKnownType(WellKnownType.Void); 1040TypeDesc taskType = TypeSystemContext.SystemModule.GetKnownType("System.Threading.Tasks"u8, "Task"u8); 1041TypeDesc valueTaskType = TypeSystemContext.SystemModule.GetKnownType("System.Threading.Tasks"u8, "ValueTask"u8); 1042MetadataType taskOfTType = TypeSystemContext.SystemModule.GetKnownType("System.Threading.Tasks"u8, "Task`1"u8); 1043MetadataType valueTaskOfTType = TypeSystemContext.SystemModule.GetKnownType("System.Threading.Tasks"u8, "ValueTask`1"u8); 1044TypeDesc methodVar = TypeSystemContext.GetSignatureVariable(0, method: true);
JitInterface\CorInfoImpl.ReadyToRun.cs (2)
518MethodDesc asyncResumptionStub = _compilation.TypeSystemContext.GetAsyncResumptionStub(MethodBeingCompiled, MethodBeingCompiled.OwningType); 3443if (_compilation.TypeSystemContext.Target.Architecture != TargetArchitecture.X64)
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (37)
412if (_compilation.TypeSystemContext.Target.Architecture != TargetArchitecture.ARM64 413&& _compilation.TypeSystemContext.Target.Architecture != TargetArchitecture.LoongArch64 414&& _compilation.TypeSystemContext.Target.Architecture != TargetArchitecture.RiscV64) 539TargetArchitecture architecture = _compilation.TypeSystemContext.Target.Architecture; 640return _compilation.TypeSystemContext.Target.PointerSize; 996if (_compilation.TypeSystemContext.Target.Architecture == TargetArchitecture.X86) 1259method = _compilation.TypeSystemContext.GetMethodForInstantiatedType(method.GetTypicalMethodDefinition(), (InstantiatedType)type); 1285MethodDesc instantiatedMethod = _compilation.TypeSystemContext.GetMethodForInstantiatedType(method.GetTypicalMethodDefinition(), instantiatedCtxType); 1288instantiatedMethod = _compilation.TypeSystemContext.GetInstantiatedMethod(instantiatedMethod, method.Instantiation); 1409decl = _compilation.TypeSystemContext.GetMethodForInstantiatedType(decl.GetTypicalMethodDefinition(), (InstantiatedType)ownerTypeDesc); 1682MetadataType placeholderType = _compilation.TypeSystemContext.SystemModule.GetType("System"u8, "SZGenericArrayEnumerator`1"u8, throwIfNotFound: false); 1886result = _compilation.TypeSystemContext.GetAsyncVariantMethod((MethodDesc)result); 1961_compilation.TypeSystemContext.EnsureLoadableMethod(method); 1980? _compilation.TypeSystemContext.GetAsyncVariantMethod(method) 2011_compilation.TypeSystemContext.EnsureLoadableType(owningClass); 2042_compilation.TypeSystemContext.EnsureLoadableType(type); 2117return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(result)); 2964return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.Object)); 2967return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.TypedReference)); 2970return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeTypeHandle)); 2973return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeFieldHandle)); 2976return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.RuntimeMethodHandle)); 2979ThrowHelper.ThrowTypeLoadException("System", "RuntimeArgumentHandle", _compilation.TypeSystemContext.SystemModule); 2983return ObjectToHandle(_compilation.TypeSystemContext.GetWellKnownType(WellKnownType.String)); 2986return ObjectToHandle(_compilation.TypeSystemContext.SystemModule.GetKnownType("System"u8, "RuntimeType"u8)); 3581DefType continuation = _compilation.TypeSystemContext.ContinuationType; 3587DefType asyncHelpers = _compilation.TypeSystemContext.SystemModule.GetKnownType("System.Runtime.CompilerServices"u8, "AsyncHelpers"u8); 3617CompilerTypeSystemContext context = _compilation.TypeSystemContext; 3688return ObjectToHandle(_compilation.TypeSystemContext.GetContinuationType(gcMapBuilder.ToGCMap())); 3838HandleToObject(structHnd), _compilation.TypeSystemContext.Target.Architecture); 4119=> (chunk.flags & CorJitAllocMemFlag.CORJIT_ALLOCMEM_HAS_POINTERS_TO_CODE) != 0 && !_compilation.TypeSystemContext.Target.IsWindows; 4527switch (_compilation.TypeSystemContext.Target.Architecture) 4555TargetArchitecture arch = _compilation.TypeSystemContext.Target.Architecture; 4622return owningMetadataType.Module == _compilation.TypeSystemContext.SystemModule; 4641TargetArchitecture targetArchitecture = _compilation.TypeSystemContext.Target.Architecture; 4656if (targetArchitecture == TargetArchitecture.ARM && !_compilation.TypeSystemContext.Target.IsWindows) 4860instructionSet = InstructionSetFlags.ConvertToImpliedInstructionSetForVectorInstructionSets(_compilation.TypeSystemContext.Target.Architecture, instructionSet);