FunctionValue

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

Alias This

value

Members

Functions

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.

instrinsicId
FuncInstrinsicId instrinsicId()

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.

Meta