| NativeModule Methods |
[This is preliminary documentation and is subject to change.]
The NativeModule type exposes the following members.
| 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 | ||
| 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 | |
|---|---|---|
| IExtensiblePropertyContainerAddExtendedPropertyValue | Adds a value to the container | |
| IExtensiblePropertyContainerTryGetExtendedPropertyValueT | Try to get a value from the container |