JITFunction

Class wrapper for gcc_jit_function

Constructors

this
this()
this
this(gcc_jit_function* func)

Members

Functions

dump
void dump(string path)

Dump function to dot file.

getFunction
gcc_jit_function* getFunction()

Returns the internal gcc_jit_function object.

getParam
JITParam getParam(int index)

Get a specific param of a function by index.

newBlock
JITBlock newBlock()
JITBlock newBlock(string name)

Create a new JITBlock. The name can be null, or you can give it a meaningful name, which may show up in dumps of the internal representation, and in error messages.

newLocal
JITLValue newLocal(JITLocation loc, JITType type, string name)
JITLValue newLocal(JITType type, string name)

Create a new local variable.

Inherited Members

From JITObject

getContext
JITContext getContext()

Return the context this JITObject is within.

toString
string toString()

Get a human-readable description of this object.

getObject
gcc_jit_object* getObject()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta