Home
last modified time | relevance | path

Searched refs:OldBB (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp110 BasicBlock *OldBB = Inst->getParent(); in emitBranchToTrap() local
111 BasicBlock *Cont = OldBB->splitBasicBlock(Inst); in emitBranchToTrap()
112 OldBB->getTerminator()->eraseFromParent(); in emitBranchToTrap()
115 BranchInst::Create(getTrapBB(), Cont, Cmp, OldBB); in emitBranchToTrap()
117 BranchInst::Create(getTrapBB(), OldBB); in emitBranchToTrap()
/external/llvm/unittests/Analysis/
DCFGTest.cpp383 BasicBlock *OldBB = S[0]; in TEST_F() local
386 S[0] = OldBB; in TEST_F()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBasicBlockUtils.cpp320 static void UpdateAnalysisInformation(BasicBlock *OldBB, BasicBlock *NewBB, in UpdateAnalysisInformation() argument
326 Loop *L = LI ? LI->getLoopFor(OldBB) : 0; in UpdateAnalysisInformation()
342 if (!PL->contains(OldBB)) in UpdateAnalysisInformation()
374 while (PredLoop && !PredLoop->contains(OldBB)) in UpdateAnalysisInformation()
378 if (PredLoop && PredLoop->contains(OldBB) && in UpdateAnalysisInformation()
DCloneFunction.cpp419 const BasicBlock *OldBB = OPN->getParent(); in CloneAndPruneFunctionInto() local
420 BasicBlock *NewBB = cast<BasicBlock>(VMap[OldBB]); in CloneAndPruneFunctionInto()
425 PHIToResolve[phino]->getParent() == OldBB; ++phino) { in CloneAndPruneFunctionInto()
483 BasicBlock::const_iterator OldI = OldBB->begin(); in CloneAndPruneFunctionInto()
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp38 BasicBlock *OldBB; member
43 : OldBB(std::move(X.OldBB)), TempBB(std::move(X.TempBB)) {} in DelayedBasicBlock()
45 OldBB = std::move(X.OldBB); in operator =()
51 : OldBB(Old.getBasicBlock()), in DelayedBasicBlock()
849 BasicBlock *BB = cast_or_null<BasicBlock>(mapValue(DBB.OldBB)); in flush()
850 DBB.TempBB->replaceAllUsesWith(BB ? BB : DBB.OldBB); in flush()
DBasicBlockUtils.cpp278 static void UpdateAnalysisInformation(BasicBlock *OldBB, BasicBlock *NewBB, in UpdateAnalysisInformation() argument
290 Loop *L = LI->getLoopFor(OldBB); in UpdateAnalysisInformation()
301 if (!PL->contains(OldBB)) in UpdateAnalysisInformation()
328 while (PredLoop && !PredLoop->contains(OldBB)) in UpdateAnalysisInformation()
332 if (PredLoop && PredLoop->contains(OldBB) && in UpdateAnalysisInformation()
DCloneFunction.cpp472 const BasicBlock *OldBB = OPN->getParent(); in CloneAndPruneIntoFromInst() local
473 BasicBlock *NewBB = cast<BasicBlock>(VMap[OldBB]); in CloneAndPruneIntoFromInst()
478 PHIToResolve[phino]->getParent() == OldBB; ++phino) { in CloneAndPruneIntoFromInst()
536 BasicBlock::const_iterator OldI = OldBB->begin(); in CloneAndPruneIntoFromInst()
/external/llvm/include/llvm/Analysis/
DLoopInfo.h684 auto *OldBB = Inst->getParent(); in movementPreservesLCSSAForm() local
689 if (OldBB == NewBB) in movementPreservesLCSSAForm()
692 auto *OldLoop = getLoopFor(OldBB); in movementPreservesLCSSAForm()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DRegionInfo.cpp819 void RegionInfo::splitBlock(BasicBlock* NewBB, BasicBlock *OldBB) in splitBlock() argument
821 Region *R = getRegionFor(OldBB); in splitBlock()
825 while (R->getEntry() == OldBB && !R->isTopLevelRegion()) { in splitBlock()
830 setRegionFor(OldBB, R); in splitBlock()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DRegionInfo.h669 void splitBlock(BasicBlock* NewBB, BasicBlock *OldBB);
/external/llvm/lib/Target/Hexagon/
DHexagonVLIWPacketizer.cpp1581 auto *OldBB = OldPacketMIs.front()->getParent(); in producesStall() local
1583 if (MLI->getLoopFor(OldBB) != MLI->getLoopFor(ThisBB)) in producesStall()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DGlobalOpt.cpp2523 BasicBlock *OldBB = CurInst->getParent(); in EvaluateFunction() local
2527 Values[PN] = getVal(Values, PN->getIncomingValueForBlock(OldBB)); in EvaluateFunction()