FunctionValue

Functions in this group operate on LLVMValueRef instances that correspond to llvm::Function instances.

Alias This

value

Members

Functions

asValue
Value asValue()
Undocumented in source. Be warned that the author may not have intended to support it.
basicBlocks
auto basicBlocks()
callConv
LxCallConv callConv()

Obtain the calling function of a function.

countBasicBlocks
auto countBasicBlocks()

Obtain the number of basic blocks in a function.

entryBlock
EntryBasicBlock entryBlock()

Obtain the basic block that corresponds to the entry point of a function.

hasPersonalityFn
bool hasPersonalityFn()

Check whether the given function has a personality function.

intrinsicId
FuncIntrinsicId intrinsicId()

Obtain the ID number from a function instance.

parameters
auto parameters()
personalityFn
FunctionValue personalityFn()

Obtain the personality function attached to the function.

remove
void remove()

Remove a function from its containing module and deletes it.

Variables

value
LxFunctionValue value;
Undocumented in source.

Meta