InstructionTerminatorValue

Functions in this group only apply to instructions that map to llvm::TerminatorInst instances.

Alias This

value

Members

Functions

condition
Value condition()

Return the condition of a branch instruction.

isConditional
bool isConditional()

Return if a branch is conditional.

setSuccessor
void setSuccessor(size_t idx, BasicBlock bb)

Update the specified successor to point at the provided block.

successor
BasicBlock successor(size_t idx)
successors
auto successors()
switchDefaultDest
BasicBlock switchDefaultDest()

Obtain the default destination basic block of a switch instruction.

Meta