Method PositionBefore
- Namespace
- Ubiquity.NET.Llvm.Instructions
- Assembly
- Ubiquity.NET.Llvm.dll
PositionBefore(Instruction)
Positions the builder before the given instruction
public void PositionBefore(Instruction instr)
Parameters
instr
InstructionInstruction to position the builder before
Remarks
This method will position the builder to add new instructions immediately before the specified instruction.
note
It is important to keep in mind that this can change the
block this builder is targeting. That is, instr
is not required to come from the same block the instruction builder is
currently referencing.