/external/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 110 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 127 BasicBlock *OldBB = SplitI->getParent(); in insertBoundsCheck() local 128 BasicBlock *Cont = OldBB->splitBasicBlock(SplitI); in insertBoundsCheck() 129 OldBB->getTerminator()->eraseFromParent(); in insertBoundsCheck() 135 BranchInst::Create(GetTrapBB(IRB), OldBB); in insertBoundsCheck() 140 BranchInst::Create(GetTrapBB(IRB), Cont, Or, OldBB); in insertBoundsCheck()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | GVNHoist.cpp | 392 const BasicBlock *OldBB = OldPt->getParent(); in hasMemoryUse() local 401 if (BB == OldBB && firstInBB(OldPt, Insn)) in hasMemoryUse() 448 const BasicBlock *OldBB = Def->getBlock(); in hasEHOrLoadsOnPath() local 449 assert(DT->dominates(NewBB, OldBB) && "invalid path"); in hasEHOrLoadsOnPath() 457 for (auto I = idf_begin(OldBB), E = idf_end(OldBB); I != E;) { in hasEHOrLoadsOnPath() 465 if (hasEHhelper(BB, OldBB, NBBsOnAllPaths)) in hasEHOrLoadsOnPath() 525 const BasicBlock *OldBB = OldPt->getParent(); in safeToHoistLdSt() local 545 } else if (hasEHOnPath(NewBB, OldBB, NBBsOnAllPaths)) in safeToHoistLdSt()
|
D | LoopInterchange.cpp | 1336 static void updateSuccessor(BranchInst *BI, BasicBlock *OldBB, in updateSuccessor() argument 1340 [OldBB](BasicBlock *BB) { return BB == OldBB; }) < 2 && in updateSuccessor() 1343 if (BI->getSuccessor(i) == OldBB) { in updateSuccessor() 1349 {DominatorTree::UpdateKind::Delete, BI->getParent(), OldBB}); in updateSuccessor()
|
D | SimpleLoopUnswitch.cpp | 883 auto CloneBlock = [&](BasicBlock *OldBB) { in buildClonedLoopBlocks() argument 885 BasicBlock *NewBB = CloneBasicBlock(OldBB, VMap, ".us", OldBB->getParent()); in buildClonedLoopBlocks() 890 VMap[OldBB] = NewBB; in buildClonedLoopBlocks()
|
/external/llvm/unittests/Analysis/ |
D | CFGTest.cpp | 383 BasicBlock *OldBB = S[0]; in TEST_F() local 386 S[0] = OldBB; in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | CFGTest.cpp | 383 BasicBlock *OldBB = S[0]; in TEST_F() local 386 S[0] = OldBB; in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 331 static void UpdateAnalysisInformation(BasicBlock *OldBB, BasicBlock *NewBB, in UpdateAnalysisInformation() argument 337 if (OldBB == DT->getRootNode()->getBlock()) { in UpdateAnalysisInformation() 351 Loop *L = LI->getLoopFor(OldBB); in UpdateAnalysisInformation() 368 if (!PL->contains(OldBB)) in UpdateAnalysisInformation() 395 while (PredLoop && !PredLoop->contains(OldBB)) in UpdateAnalysisInformation() 399 if (PredLoop && PredLoop->contains(OldBB) && in UpdateAnalysisInformation()
|
D | LoopUnrollAndJam.cpp | 402 auto updatePHIBlocks = [](BasicBlock *BB, BasicBlock *OldBB, in UnrollAndJamLoop() 405 int I = Phi.getBasicBlockIndex(OldBB); in UnrollAndJamLoop() 411 auto updatePHIBlocksAndValues = [](BasicBlock *BB, BasicBlock *OldBB, in UnrollAndJamLoop() argument 416 if (Phi.getIncomingBlock(b) == OldBB) { in UnrollAndJamLoop()
|
D | CloneFunction.cpp | 509 const BasicBlock *OldBB = OPN->getParent(); in CloneAndPruneIntoFromInst() local 510 BasicBlock *NewBB = cast<BasicBlock>(VMap[OldBB]); in CloneAndPruneIntoFromInst() 515 PHIToResolve[phino]->getParent() == OldBB; ++phino) { in CloneAndPruneIntoFromInst() 573 BasicBlock::const_iterator OldI = OldBB->begin(); in CloneAndPruneIntoFromInst()
|
D | ValueMapper.cpp | 58 BasicBlock *OldBB; member 62 : OldBB(Old.getBasicBlock()), in DelayedBasicBlock() 865 BasicBlock *BB = cast_or_null<BasicBlock>(mapValue(DBB.OldBB)); in flush() 866 DBB.TempBB->replaceAllUsesWith(BB ? BB : DBB.OldBB); in flush()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 320 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()
|
D | CloneFunction.cpp | 419 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/ |
D | ValueMapper.cpp | 38 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()
|
D | BasicBlockUtils.cpp | 278 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()
|
D | CloneFunction.cpp | 472 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/ |
D | LoopInfo.h | 684 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/ |
D | RegionInfo.cpp | 819 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-7.0/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 856 auto *OldBB = Inst->getParent(); in movementPreservesLCSSAForm() local 861 if (OldBB == NewBB) in movementPreservesLCSSAForm() 864 auto *OldLoop = getLoopFor(OldBB); in movementPreservesLCSSAForm()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | RegionInfo.h | 669 void splitBlock(BasicBlock* NewBB, BasicBlock *OldBB);
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonVLIWPacketizer.cpp | 1581 auto *OldBB = OldPacketMIs.front()->getParent(); in producesStall() local 1583 if (MLI->getLoopFor(OldBB) != MLI->getLoopFor(ThisBB)) in producesStall()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonVLIWPacketizer.cpp | 1810 auto *OldBB = OldPacketMIs.front()->getParent(); in producesStall() local 1812 if (MLI->getLoopFor(OldBB) != MLI->getLoopFor(ThisBB)) in producesStall()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 2523 BasicBlock *OldBB = CurInst->getParent(); in EvaluateFunction() local 2527 Values[PN] = getVal(Values, PN->getIncomingValueForBlock(OldBB)); in EvaluateFunction()
|