Displaying 1 result from an estimated 1 matches for "ilistification".
2004 Feb 13
0
[LLVMdev] ilistification of MachineBasicBlock
...basic
block (removals are very comomn in peephole optimizers and insertions in
register allocators)
2) After an insertion all std::vector<MachineInstr*>::iterators are
invalidated.
3) After an erase all std::vector<MachineInstr*>::iterators after
it are invalidated.
After ilistification, MachineBasicBlock uses an ilist<MachineInstr> data
structure (include/Support/ilist). The ilist (short for intrusive list)
is a lot like std::list but with the additional benefit of allowing the
conversion of a MachineInstr* to an ilist<MachineInstr>::iterator with
no cost whatsoev...