Lines Matching defs:InsertPos
99 void Instruction::insertBefore(Instruction *InsertPos) {
100 insertBefore(InsertPos->getIterator());
105 void Instruction::insertBefore(BasicBlock::iterator InsertPos) {
106 insertBefore(*InsertPos->getParent(), InsertPos);
111 void Instruction::insertAfter(Instruction *InsertPos) {
112 BasicBlock *DestParent = InsertPos->getParent();
114 DestParent->getInstList().insertAfter(InsertPos->getIterator(), this);
117 void Instruction::insertAfter(BasicBlock::iterator InsertPos) {
118 BasicBlock *DestParent = InsertPos->getParent();
120 DestParent->getInstList().insertAfter(InsertPos, this);
135 InstListType::iterator InsertPos) {
138 BB.getInstList().insert(InsertPos, this);
144 // DbgVariableRecords attached to InsertPos. But if it's not set, then any
146 bool InsertAtHead = InsertPos.getHeadBit();
148 DbgMarker *SrcMarker = BB.getMarker(InsertPos);
162 adoptDbgRecords(&BB, InsertPos, false);