Searched refs:BonusInst (Results 1 – 3 of 3) sorted by relevance
1487 Instruction *BonusInst = 0; in FoldBranchToCommonDest() local1491 BonusInst = &*FrontIt; in FoldBranchToCommonDest()1555 if (BonusInst) { in FoldBranchToCommonDest()1558 for (Instruction::op_iterator OI = BonusInst->op_begin(), in FoldBranchToCommonDest()1559 OE = BonusInst->op_end(); OI != OE; ++OI) { in FoldBranchToCommonDest()1613 if (BonusInst) { in FoldBranchToCommonDest()1614 NewBonus = BonusInst->clone(); in FoldBranchToCommonDest()1616 NewBonus->takeName(BonusInst); in FoldBranchToCommonDest()1617 BonusInst->setName(BonusInst->getName()+".old"); in FoldBranchToCommonDest()1623 if (BonusInst) New->replaceUsesOfWith(BonusInst, NewBonus); in FoldBranchToCommonDest()
2337 for (auto BonusInst = BB->begin(); Cond != &*BonusInst; ++BonusInst) { in FoldBranchToCommonDest() local2338 if (isa<DbgInfoIntrinsic>(BonusInst)) in FoldBranchToCommonDest()2340 Instruction *NewBonusInst = BonusInst->clone(); in FoldBranchToCommonDest()2343 VMap[&*BonusInst] = NewBonusInst; in FoldBranchToCommonDest()2353 NewBonusInst->takeName(&*BonusInst); in FoldBranchToCommonDest()2354 BonusInst->setName(BonusInst->getName() + ".old"); in FoldBranchToCommonDest()
2692 for (auto BonusInst = BB->begin(); Cond != &*BonusInst; ++BonusInst) { in FoldBranchToCommonDest() local2693 if (isa<DbgInfoIntrinsic>(BonusInst)) in FoldBranchToCommonDest()2695 Instruction *NewBonusInst = BonusInst->clone(); in FoldBranchToCommonDest()2698 VMap[&*BonusInst] = NewBonusInst; in FoldBranchToCommonDest()2708 NewBonusInst->takeName(&*BonusInst); in FoldBranchToCommonDest()2709 BonusInst->setName(BonusInst->getName() + ".old"); in FoldBranchToCommonDest()