Return the n-th instruction.
Close the block
do nothing if block is already closed
Is this block closed?
Emitting does not set touched to true.
Add a new instruction at the end of the block, using the same source position as the last emitted instruction
The semantics of this are a little odd but it's designed to work seamlessly with the existing code.
Enter ignore mode: new 'emit'ted instructions will not be added to this basic block.
Is this block the start block of an exception handler?
Apply a function to all the instructions of the block.
return the underlying array of instructions
Does this block have the given flag?
When set, the
emit methods will be ignored.
Return the index of inst.
Return an iterator over the instructions in this basic block.
if cond is true, closes this block, entersIgnoreMode, and removes the block from its list of blocks.
Same as killIf but with the logic of the condition reversed
Return the last instruction of this basic block.
The number of instructions in this basic block so far.
Is this block the head of a while?
Returns the predecessors of this block.
Removes instructions found at the given positions.
Remove the last instruction of this basic block.
Replace the given instruction with the new one.
Replace the instruction at the given position.
Replaces all instructions found in the map.
Has this basic block been modified since the last call to 'successors'?
Local variables that are in scope at entry of this basic block.