Home
last modified time | relevance | path

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

/trueos/contrib/llvm/lib/Transforms/Utils/
HDCloneFunction.cpp301 const TerminatorInst *OldTI = BB->getTerminator(); in CloneBlock() local
303 if (const BranchInst *BI = dyn_cast<BranchInst>(OldTI)) { in CloneBlock()
316 VMap[OldTI] = BranchInst::Create(Dest, NewBB); in CloneBlock()
321 } else if (const SwitchInst *SI = dyn_cast<SwitchInst>(OldTI)) { in CloneBlock()
331 VMap[OldTI] = BranchInst::Create(Dest, NewBB); in CloneBlock()
338 Instruction *NewInst = OldTI->clone(); in CloneBlock()
339 if (OldTI->hasName()) in CloneBlock()
340 NewInst->setName(OldTI->getName()+NameSuffix); in CloneBlock()
342 VMap[OldTI] = NewInst; // Add instruction map to value. in CloneBlock()
HDSimplifyCFG.cpp1833 TerminatorInst *OldTI = DomBlock->getTerminator(); in FoldTwoEntryPHINode() local
1834 Builder.SetInsertPoint(OldTI); in FoldTwoEntryPHINode()
1836 OldTI->eraseFromParent(); in FoldTwoEntryPHINode()
2792 TerminatorInst *OldTI = BB->getTerminator(); in SimplifyBranchOnICmpChain() local
2793 Builder.SetInsertPoint(OldTI); in SimplifyBranchOnICmpChain()
2800 OldTI->eraseFromParent(); in SimplifyBranchOnICmpChain()