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