/external/llvm/lib/Transforms/Utils/ |
D | Evaluator.cpp | 193 BasicBlock *&NextBB) { in EvaluateBlock() argument 477 NextBB = BI->getSuccessor(0); in EvaluateBlock() 483 NextBB = BI->getSuccessor(!Cond->getZExtValue()); in EvaluateBlock() 489 NextBB = SI->findCaseValue(Val).getCaseSuccessor(); in EvaluateBlock() 493 NextBB = BA->getBasicBlock(); in EvaluateBlock() 497 NextBB = nullptr; in EvaluateBlock() 523 NextBB = II->getNormalDest(); in EvaluateBlock() 562 BasicBlock *NextBB = nullptr; // Initialized to avoid compiler warnings. in EvaluateFunction() local 565 if (!EvaluateBlock(CurInst, NextBB)) in EvaluateFunction() 568 if (!NextBB) { in EvaluateFunction() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | Evaluator.cpp | 329 BasicBlock *&NextBB) { in EvaluateBlock() argument 612 NextBB = BI->getSuccessor(0); in EvaluateBlock() 618 NextBB = BI->getSuccessor(!Cond->getZExtValue()); in EvaluateBlock() 624 NextBB = SI->findCaseValue(Val)->getCaseSuccessor(); in EvaluateBlock() 628 NextBB = BA->getBasicBlock(); in EvaluateBlock() 632 NextBB = nullptr; in EvaluateBlock() 659 NextBB = II->getNormalDest(); in EvaluateBlock() 698 BasicBlock *NextBB = nullptr; // Initialized to avoid compiler warnings. in EvaluateFunction() local 701 if (!EvaluateBlock(CurInst, NextBB)) in EvaluateFunction() 704 if (!NextBB) { in EvaluateFunction() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIInsertSkips.cpp | 59 bool skipIfDead(MachineInstr &MI, MachineBasicBlock &NextBB); 149 bool SIInsertSkips::skipIfDead(MachineInstr &MI, MachineBasicBlock &NextBB) { in skipIfDead() argument 163 .addMBB(&NextBB); in skipIfDead() 441 MachineFunction::iterator NextBB; in runOnMachineFunction() local 446 BI != BE; BI = NextBB) { in runOnMachineFunction() 447 NextBB = std::next(BI); in runOnMachineFunction() 493 if (NextBB != BE && skipIfDead(MI, *NextBB)) { in runOnMachineFunction() 495 NextBB = std::next(BI); in runOnMachineFunction()
|
D | SILowerControlFlow.cpp | 527 MachineFunction::iterator NextBB; in runOnMachineFunction() local 529 BI != BE; BI = NextBB) { in runOnMachineFunction() 530 NextBB = std::next(BI); in runOnMachineFunction()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SILowerControlFlow.cpp | 79 bool skipIfDead(MachineInstr &MI, MachineBasicBlock &NextBB); 211 bool SILowerControlFlow::skipIfDead(MachineInstr &MI, MachineBasicBlock &NextBB) { in skipIfDead() argument 220 SkipBB->addSuccessor(&NextBB); in skipIfDead() 226 .addMBB(&NextBB); in skipIfDead() 696 MachineFunction::iterator NextBB; in runOnMachineFunction() local 699 BI != BE; BI = NextBB) { in runOnMachineFunction() 700 NextBB = std::next(BI); in runOnMachineFunction() 751 if (skipIfDead(MI, *NextBB)) { in runOnMachineFunction() 752 NextBB = std::next(BI); in runOnMachineFunction() 762 if (skipIfDead(MI, *NextBB)) { in runOnMachineFunction() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64BranchRelaxation.cpp | 147 auto NextBB = std::next(MBBI); in BBHasFallthrough() local 148 if (NextBB == MBB->getParent()->end()) in BBHasFallthrough() 152 if (S == &*NextBB) in BBHasFallthrough() 433 MachineBasicBlock *NextBB = &*std::next(MachineFunction::iterator(MBB)); in fixupConditionalBranch() local 437 << NextBB->getNumber() << "\n"); in fixupConditionalBranch() 448 MIB.addMBB(NextBB); in fixupConditionalBranch()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InlineCost.cpp | 271 void findDeadBlocks(BasicBlock *CurrBB, BasicBlock *NextBB); 1865 void CallAnalyzer::findDeadBlocks(BasicBlock *CurrBB, BasicBlock *NextBB) { in findDeadBlocks() argument 1881 if (Succ == NextBB || !IsNewlyDead(Succ)) in findDeadBlocks() 2003 BasicBlock *NextBB = BI->getSuccessor(SimpleCond->isZero() ? 1 : 0); in analyze() local 2004 BBWorklist.insert(NextBB); in analyze() 2005 KnownSuccessors[BB] = NextBB; in analyze() 2006 findDeadBlocks(BB, NextBB); in analyze() 2014 BasicBlock *NextBB = SI->findCaseValue(SimpleCond)->getCaseSuccessor(); in analyze() local 2015 BBWorklist.insert(NextBB); in analyze() 2016 KnownSuccessors[BB] = NextBB; in analyze() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | BranchRelaxation.cpp | 385 MachineBasicBlock &NextBB = *std::next(MachineFunction::iterator(MBB)); in fixupConditionalBranch() local 389 << printMBBReference(NextBB) << '\n'); in fixupConditionalBranch() 393 insertBranch(MBB, &NextBB, TBB, Cond); in fixupConditionalBranch()
|
D | TailDuplicator.cpp | 731 MachineBasicBlock *NextBB = PredBB->getNextNode(); in duplicateSimpleBB() local 739 PredTBB = NextBB; in duplicateSimpleBB() 741 PredFBB = NextBB; in duplicateSimpleBB() 756 if (PredFBB == NextBB) in duplicateSimpleBB() 758 if (PredTBB == NextBB && PredFBB == nullptr) in duplicateSimpleBB()
|
D | ExpandMemCmp.cpp | 412 BasicBlock *NextBB = (BlockIndex == (LoadCmpBlocks.size() - 1)) in emitLoadCompareBlockMultipleLoads() local 417 BranchInst *CmpBr = BranchInst::Create(ResBlock.BB, NextBB, Cmp); in emitLoadCompareBlockMultipleLoads() 483 BasicBlock *NextBB = (BlockIndex == (LoadCmpBlocks.size() - 1)) in emitLoadCompareBlock() local 488 BranchInst *CmpBr = BranchInst::Create(NextBB, ResBlock.BB, Cmp); in emitLoadCompareBlock()
|
D | BranchFolding.cpp | 472 MachineBasicBlock *NextBB = &*I; in FixTail() local 473 if (TBB == NextBB && !Cond.empty() && !FBB) { in FixTail() 1735 MachineBasicBlock *NextBB = &*std::next(MBB->getIterator()); in OptimizeBlock() local 1737 TII->insertBranch(*MBB, NextBB, nullptr, CurCond, DebugLoc()); in OptimizeBlock()
|
D | MachineBlockPlacement.cpp | 2634 MachineBasicBlock *NextBB = &*NextFI; in buildCFGChains() local 2639 << getBlockName(BB) << " -> " << getBlockName(NextBB) in buildCFGChains() 2641 Chain->merge(NextBB, nullptr); in buildCFGChains() 2646 BB = NextBB; in buildCFGChains()
|
/external/llvm/lib/CodeGen/ |
D | TailDuplicator.cpp | 673 MachineBasicBlock *NextBB = &*std::next(PredBB->getIterator()); in duplicateSimpleBB() local 681 PredTBB = NextBB; in duplicateSimpleBB() 683 PredFBB = NextBB; in duplicateSimpleBB() 698 if (PredFBB == NextBB) in duplicateSimpleBB() 700 if (PredTBB == NextBB && PredFBB == nullptr) in duplicateSimpleBB()
|
D | MachineBlockPlacement.cpp | 1425 MachineBasicBlock *NextBB = &*NextFI; in buildCFGChains() local 1430 << getBlockName(BB) << " -> " << getBlockName(NextBB) in buildCFGChains() 1432 Chain->merge(NextBB, nullptr); in buildCFGChains() 1434 BB = NextBB; in buildCFGChains()
|
D | BranchFolding.cpp | 512 MachineBasicBlock *NextBB = &*I; in FixTail() local 513 if (TBB == NextBB && !Cond.empty() && !FBB) { in FixTail() 1563 MachineBasicBlock *NextBB = &*std::next(MBB->getIterator()); in OptimizeBlock() local 1565 TII->InsertBranch(*MBB, NextBB, nullptr, CurCond, DebugLoc()); in OptimizeBlock()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Evaluator.h | 62 bool EvaluateBlock(BasicBlock::iterator CurInst, BasicBlock *&NextBB);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | Evaluator.h | 63 bool EvaluateBlock(BasicBlock::iterator CurInst, BasicBlock *&NextBB);
|
/external/llvm/lib/Target/Mips/ |
D | MipsConstantIslandPass.cpp | 597 MachineBasicBlock *NextBB = &*std::next(MBBI); in BBHasFallthrough() local 600 if (*I == NextBB) in BBHasFallthrough() 1630 MachineBasicBlock *NextBB = &*++MBB->getIterator(); in fixupConditionalBr() local 1634 << NextBB->getNumber() << "\n"); in fixupConditionalBr() 1641 .addMBB(NextBB); in fixupConditionalBr() 1644 .addMBB(NextBB); in fixupConditionalBr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsConstantIslandPass.cpp | 596 MachineBasicBlock *NextBB = &*std::next(MBBI); in BBHasFallthrough() local 599 if (*I == NextBB) in BBHasFallthrough() 1609 MachineBasicBlock *NextBB = &*++MBB->getIterator(); in fixupConditionalBr() local 1613 << printMBBReference(*NextBB) << "\n"); in fixupConditionalBr() 1620 .addMBB(NextBB); in fixupConditionalBr() 1623 .addMBB(NextBB); in fixupConditionalBr()
|
/external/llvm/lib/Transforms/Scalar/ |
D | TailRecursionElimination.cpp | 293 auto *NextBB = WorklistUnescaped.pop_back_val(); in markTails() local 294 if (Visited[NextBB] == UNESCAPED) { in markTails() 295 BB = NextBB; in markTails()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | TailRecursionElimination.cpp | 300 auto *NextBB = WorklistUnescaped.pop_back_val(); in markTails() local 301 if (Visited[NextBB] == UNESCAPED) { in markTails() 302 BB = NextBB; in markTails()
|
/external/llvm/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 670 MachineBasicBlock *NextBB = &*std::next(MBBI); in BBHasFallthrough() local 671 if (std::find(MBB->succ_begin(), MBB->succ_end(), NextBB) == MBB->succ_end()) in BBHasFallthrough() 1770 MachineBasicBlock *NextBB = &*++MBB->getIterator(); in fixupConditionalBr() local 1774 << NextBB->getNumber() << "\n"); in fixupConditionalBr() 1779 .addMBB(NextBB).addImm(CC).addReg(CCReg); in fixupConditionalBr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 624 MachineBasicBlock *NextBB = &*std::next(MBBI); in BBHasFallthrough() local 625 if (!MBB->isSuccessor(NextBB)) in BBHasFallthrough() 1709 MachineBasicBlock *NextBB = &*++MBB->getIterator(); in fixupConditionalBr() local 1713 << printMBBReference(*NextBB) << "\n"); in fixupConditionalBr() 1718 .addMBB(NextBB).addImm(CC).addReg(CCReg); in fixupConditionalBr()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 1137 BasicBlock *NextBB = BasicBlock::Create(*DFS.Ctx, "", F); in loadShadow() local 1138 DT.addNewBlock(NextBB, LastBr->getParent()); in loadShadow() 1139 IRBuilder<> NextIRB(NextBB); in loadShadow() 1144 LastBr->setSuccessor(0, NextBB); in loadShadow()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 1276 BasicBlock *NextBB = BasicBlock::Create(*DFS.Ctx, "", F); in loadShadow() local 1277 DT.addNewBlock(NextBB, LastBr->getParent()); in loadShadow() 1278 IRBuilder<> NextIRB(NextBB); in loadShadow() 1284 LastBr->setSuccessor(0, NextBB); in loadShadow()
|