| File: Compiler\CompilationModuleGroup.Aot.cs | Web Access |
| Project: src\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj (ILCompiler.Compiler) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Internal.TypeSystem; namespace ILCompiler { public partial class CompilationModuleGroup : IInliningPolicy { /// <summary> /// If true, type dictionary of "type" is in the module to be compiled /// </summary> public abstract bool ContainsTypeDictionary(TypeDesc type); /// <summary> /// If true, the generic dictionary of "method" is in the set of input assemblies being compiled /// </summary> public abstract bool ContainsMethodDictionary(MethodDesc method); /// <summary> /// If true, "method" is imported from the set of reference assemblies /// </summary> public abstract bool ImportsMethod(MethodDesc method, bool unboxingStub); /// <summary> /// If true, all code is compiled into a single module /// </summary> public abstract bool IsSingleFileCompilation { get; } /// <summary> /// If true, the full type should be generated. This occurs in situations where the type is /// shared between modules (generics, parameterized types), or the type lives in a different module /// and therefore needs a full VTable /// </summary> public abstract bool ShouldProduceFullVTable(TypeDesc type); /// <summary> /// If true, the necessary type should be promoted to a full type should be generated. /// </summary> public abstract bool ShouldPromoteToFullType(TypeDesc type); /// <summary> /// If true, if a type is in the dependency graph, its non-generic methods that can be transformed /// into code must be. /// </summary> public abstract bool PresenceOfEETypeImpliesAllMethodsOnType(TypeDesc type); /// <summary> /// If true, the type will not be linked into the same module as the current compilation and therefore /// accessed through the target platform's import mechanism (ie, Import Address Table on Windows) /// </summary> public abstract bool ShouldReferenceThroughImportTable(TypeDesc type); /// <summary> /// If true, instance methods will only be generated once their owning type is created. /// </summary> public abstract bool AllowInstanceMethodOptimization(MethodDesc method); /// <summary> /// If true, virtual methods on abstract types will only be generated once a non-abstract derived /// type that doesn't override the virtual method is created. /// </summary> public abstract bool AllowVirtualMethodOnAbstractTypeOptimization(MethodDesc method); } }