![]() | NativeModule Class |
[This is preliminary documentation and is subject to change.]
Namespace: Llvm.NET
public sealed class NativeModule : IDisposable, IExtensiblePropertyContainer
The NativeModule type exposes the following members.
Name | Description | |
---|---|---|
![]() | NativeModule | Creates an unnamed module without debug information |
![]() | NativeModule(String) | Creates a new module with the specified id in a new context |
![]() | NativeModule(String, Context) | Creates an named module in a given context |
![]() | NativeModule(String, SourceLanguage, String, String, Boolean, String, UInt32) | Creates a named module with a root DICompileUnit to contain debugging information |
![]() | NativeModule(String, Context, SourceLanguage, String, String, Boolean, String, UInt32) | Creates a named module with a root DICompileUnit to contain debugging information |
Name | Description | |
---|---|---|
![]() | Context | Context this module belongs to |
![]() | DataLayoutString | Data layout string |
![]() | DIBuilder | DebugInfoBuilder to create debug information for this module |
![]() | DICompileUnit | Debug Compile unit for this module |
![]() | Functions | Enumerable collection of functions contained in this module |
![]() | Globals | Globals contained by this module |
![]() | Layout | Target data layout for this module |
![]() | ModuleFlags | |
![]() | Name | Name of the module |
![]() | TargetTriple | Target Triple describing the target, ABI and OS |
Name | Description | |
---|---|---|
![]() | AddAlias | Add an alias to the module |
![]() | AddFunction | Add a function with the specified signature to the module |
![]() | AddGlobal(ITypeRef, String) | Adds a global to this module |
![]() | AddGlobal(ITypeRef, Boolean, Linkage, Constant) | Adds a global to this module |
![]() | AddGlobal(ITypeRef, Boolean, Linkage, Constant, String) | Adds a global to this module |
![]() | AddModuleFlag(ModuleFlagBehavior, String, LlvmMetadata) | Adds a module flag to the module |
![]() | AddModuleFlag(ModuleFlagBehavior, String, UInt32) | Adds a module flag to the module |
![]() | AddNamedMetadataOperand | Adds operand value to named metadata |
![]() | AddVersionIdentMetadata | Adds an llvm.ident metadata string to the module |
![]() | AsString | Creates a string representation of the module |
![]() | CreateFunction(String, Boolean, IDebugTypeITypeRef, DIType, IDebugTypeITypeRef, DIType) | |
![]() | CreateFunction(DIScope, String, String, DIFile, UInt32, DebugFunctionType, Boolean, Boolean, UInt32, DebugInfoFlags, Boolean, MDNode, MDNode) | Creates a Function definition with Debug information |
![]() | CreateMDNode | Create an MDNode from a string |
![]() | Dispose | Releases all resources used by the NativeModule |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | (Overrides ObjectFinalize.) |
![]() | GetAlias | Get an alias by name |
![]() | GetFunction | Gets a function by name from this module |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetNamedGlobal | Retrieves a named global from the module |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetTypeByName | Retrieves a ITypeRef by name from the module |
![]() | Link | |
![]() ![]() | LoadFrom | Load a bit-code module from a given file |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Verify | Verifies a bit-code module |
![]() | WriteToFile | Writes a bit-code module to a file |
![]() | WriteToTextFile | Writes this module as LLVM IR source to a file |
Name | Description | |
---|---|---|
![]() ![]() | DebugMetadataVersion | Version of the Debug information Metadata |
![]() ![]() | DebugVersionValue | Name of the Debug Version information module flag |
![]() ![]() | DwarfVersionValue | Name of the Dwarf Version module flag |
Name | Description | |
---|---|---|
![]() ![]() | IExtensiblePropertyContainerAddExtendedPropertyValue | Adds a value to the container |
![]() ![]() | IExtensiblePropertyContainerTryGetExtendedPropertyValueT | Try to get a value from the container |