Module

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(LLVMModuleRef m)
Undocumented in source.
this
this(string module_id)

Create a new, empty module in the global context.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Alias This

lx

Members

Functions

func
FunctionValue func(string name)
functions
FunctionRange functions()
Undocumented in source. Be warned that the author may not have intended to support it.
identifier
const(char)[] identifier()

Obtain the identifier of the module.

identifier
void identifier(string module_id)
Undocumented in source. Be warned that the author may not have intended to support it.
namedMetadata
NamedMetadataValue namedMetadata(string name)

Obtain the named metadata operands for a module.

toBuffer
auto toBuffer()

Writes a module to a new memory buffer and returns it.

toString
void toString(Writer w, FormatSpec!Char fmt)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
verify
VerifyResult verify()

Verifies that a module is valid.

Variables

lx
LLVMModuleRef lx;
Undocumented in source.

Meta