/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/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/llvm/include/llvm/Transforms/Utils/ |
D | Evaluator.h | 62 bool EvaluateBlock(BasicBlock::iterator CurInst, BasicBlock *&NextBB);
|
/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/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | TailDuplication.cpp | 682 MachineBasicBlock *NextBB = llvm::next(MachineFunction::iterator(PredBB)); in duplicateSimpleBB() local 690 PredTBB = NextBB; in duplicateSimpleBB() 692 PredFBB = NextBB; in duplicateSimpleBB() 707 if (PredFBB == NextBB) in duplicateSimpleBB() 709 if (PredTBB == NextBB && PredFBB == NULL) in duplicateSimpleBB()
|
D | BranchFolding.cpp | 459 MachineBasicBlock *NextBB = I; in FixTail() local 460 if (TBB == NextBB && !Cond.empty() && !FBB) { in FixTail() 1344 MachineBasicBlock *NextBB = llvm::next(MachineFunction::iterator(MBB)); in OptimizeBlock() local 1346 TII->InsertBranch(*MBB, NextBB, 0, CurCond, dl); in OptimizeBlock()
|
/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/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/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 437 MachineBasicBlock *NextBB = llvm::next(MBBI); in BBHasFallthrough() local 440 if (*I == NextBB) in BBHasFallthrough() 1511 MachineBasicBlock *NextBB = llvm::next(MachineFunction::iterator(MBB)); in FixUpConditionalBr() local 1515 << NextBB->getNumber() << "\n"); in FixUpConditionalBr() 1520 .addMBB(NextBB).addImm(CC).addReg(CCReg); in FixUpConditionalBr()
|
/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/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()
|
D | AddressSanitizer.cpp | 1173 BasicBlock *NextBB = CheckTerm->getSuccessor(0); in instrumentAddress() local 1180 BasicBlock::Create(*C, "", NextBB->getParent(), NextBB); in instrumentAddress() 1182 BranchInst *NewTerm = BranchInst::Create(CrashBlock, NextBB, Cmp2); in instrumentAddress()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 3677 if (auto *NextBB = BB->getSingleSuccessor()) { in isKnownNotFullPoison() local 3678 if (Visited.insert(NextBB).second) { in isKnownNotFullPoison() 3679 BB = NextBB; in isKnownNotFullPoison()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfo.cpp | 591 MachineBasicBlock *NextBB = &*++MBB.getIterator(); in InsertBranch() local 592 if (NewTBB == NextBB) { in InsertBranch()
|