Home
last modified time | relevance | path

Searched refs:BonusInst (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyCFG.cpp1487 Instruction *BonusInst = 0; in FoldBranchToCommonDest() local
1491 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()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2337 for (auto BonusInst = BB->begin(); Cond != &*BonusInst; ++BonusInst) { in FoldBranchToCommonDest() local
2338 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2692 for (auto BonusInst = BB->begin(); Cond != &*BonusInst; ++BonusInst) { in FoldBranchToCommonDest() local
2693 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()