Method Branch
Branch(BasicBlock)
Create an unconditional branch
Declaration
public Branch Branch(BasicBlock target)
Parameters
public Branch Branch(BasicBlock target)
BasicBlock | target | Target block for the branch |
Returns
Branch | Branch |
Branch(Value, BasicBlock, BasicBlock)
Creates a conditional branch instruction
Declaration
public Branch Branch(Value ifCondition, BasicBlock thenTarget, BasicBlock elseTarget)
Parameters
public Branch Branch(Value ifCondition, BasicBlock thenTarget, BasicBlock elseTarget)
Value | ifCondition | Condition for the branch |
BasicBlock | thenTarget | Target block for the branch when |
BasicBlock | elseTarget | Target block for the branch when |
Returns
Branch | Branch |