Lines Matching refs:InsertPt
745 BasicBlock::iterator InsertPt = UserBB->getFirstInsertionPt();
746 assert(InsertPt != UserBB->end());
748 CI->getType(), "", &*InsertPt);
835 auto *InsertPt = AddI->hasOneUse() ? CI : AddI;
838 CallInst::Create(F, {A, B}, "uadd.overflow", InsertPt);
839 auto *UAdd = ExtractValueInst::Create(UAddWithOverflow, 0, "uadd", InsertPt);
841 ExtractValueInst::Create(UAddWithOverflow, 1, "overflow", InsertPt);
885 BasicBlock::iterator InsertPt = UserBB->getFirstInsertionPt();
886 assert(InsertPt != UserBB->end());
889 CI->getOperand(0), CI->getOperand(1), "", &*InsertPt);
982 BasicBlock::iterator InsertPt = TruncUserBB->getFirstInsertionPt();
983 assert(InsertPt != TruncUserBB->end());
987 "", &*InsertPt);
990 "", &*InsertPt);
1081 BasicBlock::iterator InsertPt = UserBB->getFirstInsertionPt();
1082 assert(InsertPt != UserBB->end());
1086 "", &*InsertPt);
1089 "", &*InsertPt);
1153 Instruction *InsertPt = CI;
1158 Builder.SetInsertPoint(InsertPt);
1231 CondBlock = IfBlock->splitBasicBlock(InsertPt->getIterator(), "cond.load");
1232 Builder.SetInsertPoint(InsertPt);
1241 CondBlock->splitBasicBlock(InsertPt->getIterator(), "else");
1242 Builder.SetInsertPoint(InsertPt);
1299 Instruction *InsertPt = CI;
1301 Builder.SetInsertPoint(InsertPt);
1354 IfBlock->splitBasicBlock(InsertPt->getIterator(), "cond.store");
1355 Builder.SetInsertPoint(InsertPt);
1364 CondBlock->splitBasicBlock(InsertPt->getIterator(), "else");
1365 Builder.SetInsertPoint(InsertPt);
1416 Instruction *InsertPt = CI;
1420 Builder.SetInsertPoint(InsertPt);
1484 CondBlock = IfBlock->splitBasicBlock(InsertPt, "cond.load");
1485 Builder.SetInsertPoint(InsertPt);
1495 BasicBlock *NewIfBlock = CondBlock->splitBasicBlock(InsertPt, "else");
1496 Builder.SetInsertPoint(InsertPt);
1553 Instruction *InsertPt = CI;
1555 Builder.SetInsertPoint(InsertPt);
1598 BasicBlock *CondBlock = IfBlock->splitBasicBlock(InsertPt, "cond.store");
1599 Builder.SetInsertPoint(InsertPt);
1608 BasicBlock *NewIfBlock = CondBlock->splitBasicBlock(InsertPt, "else");
1609 Builder.SetInsertPoint(InsertPt);
2268 SExtBuilder(Instruction *InsertPt, Value *Opnd, Type *Ty)
2269 : TypePromotionAction(InsertPt) {
2270 IRBuilder<> Builder(InsertPt);
2293 ZExtBuilder(Instruction *InsertPt, Value *Opnd, Type *Ty)
2294 : TypePromotionAction(InsertPt) {
2295 IRBuilder<> Builder(InsertPt);
4253 BasicBlock::iterator InsertPt = UserBB->getFirstInsertionPt();
4254 assert(InsertPt != UserBB->end());
4255 InsertedTrunc = new TruncInst(I, Src->getType(), "", &*InsertPt);
4667 BasicBlock::iterator InsertPt = UserBB->getFirstInsertionPt();
4668 assert(InsertPt != UserBB->end());
4671 SVI->getOperand(2), "", &*InsertPt);