Searched refs:OldTI (Results 1 - 3 of 3) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
H A D | CloneFunction.cpp | 398 const TerminatorInst *OldTI = BB->getTerminator(); local 402 = Director->handleInstruction(VMap, OldTI, NewBB); 420 if (const BranchInst *BI = dyn_cast<BranchInst>(OldTI)) { 433 VMap[OldTI] = BranchInst::Create(Dest, NewBB); 438 } else if (const SwitchInst *SI = dyn_cast<SwitchInst>(OldTI)) { 448 VMap[OldTI] = BranchInst::Create(Dest, NewBB); 455 Instruction *NewInst = OldTI->clone(); 456 if (OldTI->hasName()) 457 NewInst->setName(OldTI->getName()+NameSuffix); 459 VMap[OldTI] [all...] |
H A D | SimplifyCFG.cpp | 1941 TerminatorInst *OldTI = DomBlock->getTerminator(); local 1942 Builder.SetInsertPoint(OldTI); 1944 OldTI->eraseFromParent(); 3189 TerminatorInst *OldTI = BB->getTerminator(); local 3190 Builder.SetInsertPoint(OldTI); 3197 OldTI->eraseFromParent(); 3697 auto *OldTI = NewDefault->getTerminator(); local 3698 new UnreachableInst(SI->getContext(), OldTI); 3699 EraseTerminatorInstAndDCECond(OldTI);
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonEarlyIfConv.cpp | 827 MachineBasicBlock::iterator OldTI = FP.SplitB->getFirstTerminator(); local 828 assert(OldTI != FP.SplitB->end()); 829 DebugLoc DL = OldTI->getDebugLoc(); 833 predicateBlockNB(FP.SplitB, OldTI, FP.TrueB, FP.PredR, true); 845 FP.SplitB->erase(OldTI, FP.SplitB->end());
|
Completed in 85 milliseconds