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