100 references to NodeFactory
ILCompiler.ReadyToRun (100)
Compiler\ReadyToRunCodegenCompilation.cs (17)
41public CompilerTypeSystemContext TypeSystemContext => NodeFactory.TypeSystemContext; 64NodeFactory.AttachToDependencyGraph(_dependencyGraph, ilProvider); 71_methodILCache = new ILCache((ReadyToRunILProvider)ilProvider, NodeFactory.CompilationModuleGroup); 115return NodeFactory.CompilationModuleGroup.CanInline(caller, callee); 403_dependencyGraph.AddRoot(new Import(NodeFactory.EagerImports, instructionSetSupportSig), "Baseline instruction set support"); 425NodeFactory.SetMarkingComplete(); 431NodeFactory, 489EcmaModule inputModule = NodeFactory.TypeSystemContext.GetModuleFromPath(inputFile); 527if (NodeFactory.Target.IsWindows && NodeFactory.Format == ReadyToRunContainerFormat.PE) 531else if (NodeFactory.Target.IsApplePlatform && NodeFactory.Format == ReadyToRunContainerFormat.MachO) 630if (!NodeFactory.CompilationModuleGroup.VersionsWithModule(defType.Module)) 862_methodILCache = new ILCache(_methodILCache.ILProvider, NodeFactory.CompilationModuleGroup); 870NodeFactory.ManifestMetadataTable._mutableModule.DisableNewTokens = true; 895NodeFactory.ManifestMetadataTable._mutableModule.DisableNewTokens = false; 1064return NodeFactory.CopiedFieldRva(field);
JitInterface\CorInfoImpl.ReadyToRun.cs (66)
518AddResumptionStubFixup(_compilation.NodeFactory.CompiledMethodNode(asyncResumptionStub)); 520entryPoint = (void*)ObjectToHandle(_compilation.NodeFactory.CompiledMethodNode(asyncResumptionStub)); 711if ((_ilBodiesNeeded == null) && _compilation.NodeFactory.OptimizationFlags.DeterminismStress > 0) 736else if (data.Iterations <= _compilation.NodeFactory.OptimizationFlags.DeterminismStress) 779if (FunctionHasNonReferenceableTypedILCatchClause(methodIL, compilation.NodeFactory.CompilationModuleGroup)) 820if (FunctionHasNonReferenceableTypedILCatchClause(methodIL, _compilation.NodeFactory.CompilationModuleGroup)) 832(!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(MethodBeingCompiled) && 833_compilation.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(MethodBeingCompiled))) 840var resolver = _compilation.NodeFactory.Resolver; 851EntityHandle? handle = _compilation.NodeFactory.ManifestMetadataTable._mutableModule.TryGetExistingEntityHandle(ecmaMethod); 854resolver.AddModuleTokenForMethod(MethodBeingCompiled, new ModuleToken(_compilation.NodeFactory.ManifestMetadataTable._mutableModule, handle.Value)); 866if (_compilation.NodeFactory.Target.IsWasm && !MethodBeingCompiled.IsUnmanagedCallersOnly) 870_compilation.NodeFactory.WasmInterpreterToR2RThunk(wasmSig), 896if (_compilation.NodeFactory.Target.IsWasm) 1342return _compilation.NodeFactory.GetReadyToRunHelperCell(id); 1349var entrypoint = _compilation.NodeFactory.MethodEntrypoint( 1352_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(method, true, true), 1385if (methodDesc != null && (_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(methodDesc) 1454if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(resultMethod.OwningType)) 1456ModuleToken result = _compilation.NodeFactory.Resolver.GetModuleTokenForMethod(resultMethod, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1471if (!(_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(resultField.OwningType) || resultField.OwningType.IsNonVersionable())) 1473ModuleToken result = _compilation.NodeFactory.Resolver.GetModuleTokenForField(resultField, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1505return _compilation.NodeFactory.Resolver.GetModuleTokenForType(paramType, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1507if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(ecmaType)) 1509return _compilation.NodeFactory.Resolver.GetModuleTokenForType(ecmaType, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1515return _compilation.NodeFactory.Resolver.GetModuleTokenForType(typeDesc, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 1532new ModuleToken(_compilation.NodeFactory.ManifestMetadataTable._mutableModule, metaTok)); 1647if (!pHasSideEffects && !_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(type)) 1792else if (field.OwningType.IsCanonicalSubtype(CanonicalFormKind.Any) || _compilation.NodeFactory.Target.IsWasm) 1855if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(field.OwningType) && 1967if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(versioningCallerMethod) && 1968!_compilation.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(versioningCallerMethod)) 2023if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(directMethod)) 2035ModuleToken moduleToken = _compilation.NodeFactory.Resolver.GetModuleTokenForMethod(directMethod, false, false); 2173else if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) || 2175!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(targetMethod.GetTypicalMethodDefinition())) 2350(_compilation.NodeFactory.Target.IsWasm && 2500_compilation.NodeFactory.DetectGenericCycles(callerMethod, methodToCall); 2525else if (_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(constrainedType)) 2594&& !_compilation.NodeFactory.Target.IsWasm) 2605MethodWithGCInfo targetCodeNode = _compilation.NodeFactory.CompiledMethodNode(compilableTarget); 2612_compilation.NodeFactory.MethodEntrypoint( 2636_compilation.NodeFactory.DynamicHelperCell( 2643Debug.Assert(!pResult->sig.hasTypeArg() || _compilation.NodeFactory.Target.IsWasm); 2737return !_compilation.NodeFactory.Resolver.GetModuleTokenForType( 2811_compilation.NodeFactory.DetectGenericCycles(MethodBeingCompiled, constrainedType); 2837_compilation.NodeFactory.DetectGenericCycles(MethodBeingCompiled, sharedMethod); 3113if (!_compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(callerMethod) && !_compilation.NodeFactory.CompilationModuleGroup.CrossModuleInlineable(callerMethod)) 3234*ppCookieVal = (IntPtr *)ObjectToHandle(_compilation.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.GSCookie)); 3239ppIndirection = (void*)ObjectToHandle(_compilation.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.IndirectTrapThreads)); 3272if (!_compilation.NodeFactory.Target.IsWasm) 3303_compilation.NodeFactory, 3320if (!_compilation.NodeFactory.Target.IsWasm) 3333relocTarget = _compilation.NodeFactory.WasmMethodRelativeVirtualIP(_methodCodeNode); 3348_compilation.NodeFactory.WasmAsyncResumeInfoFixups.AddFixup(location, offset); 3420|| _compilation.NodeFactory.Target.IsWasm) 3459Debug.Assert(!_compilation.NodeFactory.CompilationModuleGroup.GeneratesPInvoke(method)); 3517if (_compilation.NodeFactory.Target.Architecture == TargetArchitecture.X86) 3678_compilation.NodeFactory.MethodEntrypoint( 3699if (_compilation.NodeFactory.CompilationModuleGroup.VersionsWithType(field.OwningType) && field.HasRva) 3776return _compilation.NodeFactory.CompilationModuleGroup.VersionsWithMethodBody(method); 3790if ((callSig != null) && _compilation.NodeFactory.Target.IsWasm) 3801AddAdditionalDependency(_compilation.NodeFactory.WasmR2RToInterpreterThunk(wasmSig), "R2R-to-interpreter thunk for call site"); 3808if ((callSig != null) && _compilation.NodeFactory.Target.IsWasm) 3831AddAdditionalDependency(_compilation.NodeFactory.WasmR2RToInterpreterThunk(wasmSig), "R2R-to-interpreter thunk for call site");
parent\parent\Common\JitInterface\CorInfoImpl.cs (17)
473_compilation.NodeFactory.Target.MinimumFunctionAlignment : 474_compilation.NodeFactory.Target.OptimumFunctionAlignment; 539_methodCodeNode.InitializeInliningInfo(inlineeArray, _compilation.NodeFactory); 583_compilation.NodeFactory.DetectGenericCycles(_methodCodeNode.Method, methodNode.Method); 597Debug.Assert(_compilation.NodeFactory.InstrumentationDataTable != null, "Expected InstrumentationDataTable to be non-null with synthesized PGO data to embed"); 598_compilation.NodeFactory.InstrumentationDataTable.EmbedSynthesizedPgoDataForMethods(ref _additionalDependencies, _synthesizedPgoDependencies); 1516var resolver = _compilation.NodeFactory.Resolver; 2035var resolver = _compilation.NodeFactory.Resolver; 2093_compilation.NodeFactory.Resolver.AddModuleTokenForType(type, HandleToModuleToken(ref pResolvedToken, out bool strippedInstantiation)); 3637if (_compilation.NodeFactory.Target.IsWasm) 3642else if (_compilation.NodeFactory.Target.IsWindows) 3652pEEInfoOut.osType = TargetToOs(_compilation.NodeFactory.Target); 3679NodeFactory factory = _compilation.NodeFactory; 3690WasmTypeNode typeNode = _compilation.NodeFactory.WasmTypeNode(typeArray); 3754_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(runtimeDeterminedResult, allowDynamicallyCreatedReference: true, throwIfNotFound: true), 3830_compilation.NodeFactory.Resolver.GetModuleTokenForMethod( 4755return (uint)node.GetAlignment(_compilation.NodeFactory);