/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/llvm-project/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-10.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-10.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 | 1325 static void updateSuccessor(BranchInst *BI, BasicBlock *OldBB, in updateSuccessor() argument 1331 [OldBB](BasicBlock *BB) { in updateSuccessor() 1332 return BB == OldBB; in updateSuccessor() 1336 if (Op == OldBB) { in updateSuccessor() 1345 {DominatorTree::UpdateKind::Delete, BI->getParent(), OldBB}); in updateSuccessor()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | GVNHoist.cpp | 649 const BasicBlock *OldBB = OldPt->getParent(); in hasMemoryUse() local 658 if (BB == OldBB && firstInBB(OldPt, Insn)) in hasMemoryUse() 698 const BasicBlock *OldBB = Def->getBlock(); in hasEHOrLoadsOnPath() local 699 assert(DT->dominates(NewBB, OldBB) && "invalid path"); in hasEHOrLoadsOnPath() 707 for (auto I = idf_begin(OldBB), E = idf_end(OldBB); I != E;) { in hasEHOrLoadsOnPath() 715 if (hasEHhelper(BB, OldBB, NBBsOnAllPaths)) in hasEHOrLoadsOnPath() 770 const BasicBlock *OldBB = OldPt->getParent(); in safeToHoistLdSt() local 790 } else if (hasEHOnPath(NewBB, OldBB, NBBsOnAllPaths)) in safeToHoistLdSt()
|
D | LoopInterchange.cpp | 1359 static void updateSuccessor(BranchInst *BI, BasicBlock *OldBB, in updateSuccessor() argument 1365 [OldBB](BasicBlock *BB) { in updateSuccessor() 1366 return BB == OldBB; in updateSuccessor() 1370 if (Op == OldBB) { in updateSuccessor() 1379 {DominatorTree::UpdateKind::Delete, BI->getParent(), OldBB}); in updateSuccessor()
|
/external/llvm/unittests/Analysis/ |
D | CFGTest.cpp | 383 BasicBlock *OldBB = S[0]; in TEST_F() local 386 S[0] = OldBB; in TEST_F()
|
/external/llvm-project/llvm/unittests/Analysis/ |
D | CFGTest.cpp | 396 BasicBlock *OldBB = S[0]; in TEST_F() local 399 S[0] = OldBB; in TEST_F()
|
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 552 static void UpdateAnalysisInformation(BasicBlock *OldBB, BasicBlock *NewBB, in UpdateAnalysisInformation() argument 559 if (OldBB == DT->getRootNode()->getBlock()) { in UpdateAnalysisInformation() 570 MSSAU->wireOldPredecessorsToNewImmediatePredecessor(OldBB, NewBB, Preds); in UpdateAnalysisInformation() 577 Loop *L = LI->getLoopFor(OldBB); in UpdateAnalysisInformation() 594 if (!PL->contains(OldBB)) in UpdateAnalysisInformation() 621 while (PredLoop && !PredLoop->contains(OldBB)) in UpdateAnalysisInformation() 625 if (PredLoop && PredLoop->contains(OldBB) && in UpdateAnalysisInformation()
|
D | LoopUnrollAndJam.cpp | 412 auto updatePHIBlocks = [](BasicBlock *BB, BasicBlock *OldBB, in UnrollAndJamLoop() 415 int I = Phi.getBasicBlockIndex(OldBB); in UnrollAndJamLoop() 421 auto updatePHIBlocksAndValues = [](BasicBlock *BB, BasicBlock *OldBB, in UnrollAndJamLoop() argument 426 if (Phi.getIncomingBlock(b) == OldBB) { in UnrollAndJamLoop()
|
D | CloneFunction.cpp | 524 const BasicBlock *OldBB = OPN->getParent(); in CloneAndPruneIntoFromInst() local 525 BasicBlock *NewBB = cast<BasicBlock>(VMap[OldBB]); in CloneAndPruneIntoFromInst() 530 PHIToResolve[phino]->getParent() == OldBB; ++phino) { in CloneAndPruneIntoFromInst() 588 BasicBlock::const_iterator OldI = OldBB->begin(); in CloneAndPruneIntoFromInst()
|
D | ValueMapper.cpp | 57 BasicBlock *OldBB; member 61 : OldBB(Old.getBasicBlock()), in DelayedBasicBlock() 847 BasicBlock *BB = cast_or_null<BasicBlock>(mapValue(DBB.OldBB)); in flush() 848 DBB.TempBB->replaceAllUsesWith(BB ? BB : DBB.OldBB); in flush()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 573 static void UpdateAnalysisInformation(BasicBlock *OldBB, BasicBlock *NewBB, in UpdateAnalysisInformation() argument 580 if (OldBB == DT->getRootNode()->getBlock()) { in UpdateAnalysisInformation() 591 MSSAU->wireOldPredecessorsToNewImmediatePredecessor(OldBB, NewBB, Preds); in UpdateAnalysisInformation() 598 Loop *L = LI->getLoopFor(OldBB); in UpdateAnalysisInformation() 615 if (!PL->contains(OldBB)) in UpdateAnalysisInformation() 642 while (PredLoop && !PredLoop->contains(OldBB)) in UpdateAnalysisInformation() 646 if (PredLoop && PredLoop->contains(OldBB) && in UpdateAnalysisInformation()
|
D | CloneFunction.cpp | 528 const BasicBlock *OldBB = OPN->getParent(); in CloneAndPruneIntoFromInst() local 529 BasicBlock *NewBB = cast<BasicBlock>(VMap[OldBB]); in CloneAndPruneIntoFromInst() 534 PHIToResolve[phino]->getParent() == OldBB; ++phino) { in CloneAndPruneIntoFromInst() 592 BasicBlock::const_iterator OldI = OldBB->begin(); in CloneAndPruneIntoFromInst()
|
D | ValueMapper.cpp | 56 BasicBlock *OldBB; member 60 : OldBB(Old.getBasicBlock()), in DelayedBasicBlock() 844 BasicBlock *BB = cast_or_null<BasicBlock>(mapValue(DBB.OldBB)); in flush() 845 DBB.TempBB->replaceAllUsesWith(BB ? BB : DBB.OldBB); in flush()
|
D | LoopUnrollAndJam.cpp | 464 auto updatePHIBlocksAndValues = [](BasicBlock *BB, BasicBlock *OldBB, in UnrollAndJamLoop() 469 if (Phi.getIncomingBlock(b) == OldBB) { in UnrollAndJamLoop()
|
/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-10.0/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 1111 auto *OldBB = Inst->getParent(); in movementPreservesLCSSAForm() local 1116 if (OldBB == NewBB) in movementPreservesLCSSAForm() 1119 auto *OldLoop = getLoopFor(OldBB); in movementPreservesLCSSAForm()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 1141 auto *OldBB = Inst->getParent(); in movementPreservesLCSSAForm() local 1146 if (OldBB == NewBB) in movementPreservesLCSSAForm() 1149 auto *OldLoop = getLoopFor(OldBB); in movementPreservesLCSSAForm()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Instruction.cpp | 681 void Instruction::replaceSuccessorWith(BasicBlock *OldBB, BasicBlock *NewBB) { in replaceSuccessorWith() argument 684 if (getSuccessor(Idx) == OldBB) in replaceSuccessorWith()
|
/external/llvm-project/llvm/lib/IR/ |
D | Instruction.cpp | 718 void Instruction::replaceSuccessorWith(BasicBlock *OldBB, BasicBlock *NewBB) { in replaceSuccessorWith() argument 721 if (getSuccessor(Idx) == OldBB) in replaceSuccessorWith()
|