Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp573 const Instruction *OldTI = BB->getTerminator(); in CloneBlock() local
575 if (const BranchInst *BI = dyn_cast<BranchInst>(OldTI)) { in CloneBlock()
588 VMap[OldTI] = BranchInst::Create(Dest, NewBB); in CloneBlock()
593 } else if (const SwitchInst *SI = dyn_cast<SwitchInst>(OldTI)) { in CloneBlock()
603 VMap[OldTI] = BranchInst::Create(Dest, NewBB); in CloneBlock()
610 Instruction *NewInst = OldTI->clone(); in CloneBlock()
611 if (OldTI->hasName()) in CloneBlock()
612 NewInst->setName(OldTI->getName() + NameSuffix); in CloneBlock()
615 CloneDbgRecordsToHere(NewInst, OldTI->getIterator()); in CloneBlock()
617 VMap[OldTI] = NewInst; // Add instruction map to value. in CloneBlock()
[all …]
H A DSimplifyCFG.cpp4942 Instruction *OldTI = BB->getTerminator(); in SimplifyBranchOnICmpChain() local
4943 Builder.SetInsertPoint(OldTI); in SimplifyBranchOnICmpChain()
4960 OldTI->eraseFromParent(); in SimplifyBranchOnICmpChain()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonEarlyIfConv.cpp859 MachineBasicBlock::iterator OldTI = FP.SplitB->getFirstTerminator(); in convert() local
860 assert(OldTI != FP.SplitB->end()); in convert()
861 DebugLoc DL = OldTI->getDebugLoc(); in convert()
865 predicateBlockNB(FP.SplitB, OldTI, FP.TrueB, FP.PredR, true); in convert()
877 FP.SplitB->erase(OldTI, FP.SplitB->end()); in convert()