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.cpp626 const Instruction *OldTI = BB->getTerminator(); in CloneBlock() local
628 if (const BranchInst *BI = dyn_cast<BranchInst>(OldTI)) { in CloneBlock()
643 VMap[OldTI] = NewBI; in CloneBlock()
648 } else if (const SwitchInst *SI = dyn_cast<SwitchInst>(OldTI)) { in CloneBlock()
660 VMap[OldTI] = NewBI; in CloneBlock()
667 Instruction *NewInst = OldTI->clone(); in CloneBlock()
668 if (OldTI->hasName()) in CloneBlock()
669 NewInst->setName(OldTI->getName() + NameSuffix); in CloneBlock()
672 CloneDbgRecordsToHere(NewInst, OldTI->getIterator()); in CloneBlock()
674 VMap[OldTI] = NewInst; // Add instruction map to value. in CloneBlock()
[all …]
H A DSimplifyCFG.cpp5092 Instruction *OldTI = BB->getTerminator(); in simplifyBranchOnICmpChain() local
5093 Builder.SetInsertPoint(OldTI); in simplifyBranchOnICmpChain()
5110 OldTI->eraseFromParent(); in simplifyBranchOnICmpChain()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonEarlyIfConv.cpp852 MachineBasicBlock::iterator OldTI = FP.SplitB->getFirstTerminator(); in convert() local
853 assert(OldTI != FP.SplitB->end()); in convert()
854 DebugLoc DL = OldTI->getDebugLoc(); in convert()
858 predicateBlockNB(FP.SplitB, OldTI, FP.TrueB, FP.PredR, true); in convert()
870 FP.SplitB->erase(OldTI, FP.SplitB->end()); in convert()