Method Branch
- Namespace
- Ubiquity.NET.Llvm.Instructions
- Assembly
- Ubiquity.NET.Llvm.dll
Branch(BasicBlock)
Create an unconditional branch
public Branch Branch(BasicBlock target)
Parameters
targetBasicBlockTarget block for the branch
Returns
Branch(Value, BasicBlock, BasicBlock)
Creates a conditional branch instruction
public Branch Branch(Value ifCondition, BasicBlock thenTarget, BasicBlock elseTarget)
Parameters
ifConditionValueCondition for the branch
thenTargetBasicBlockTarget block for the branch when
ifConditionevaluates to a non-zero valueelseTargetBasicBlockTarget block for the branch when
ifConditionevaluates to a zero value