Home
last modified time | relevance | path

Searched refs:NextBB (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/Target/AArch64/
DAArch64BranchRelaxation.cpp147 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/lib/CodeGen/
DTailDuplication.cpp713 MachineBasicBlock *NextBB = &*std::next(PredBB->getIterator()); in duplicateSimpleBB() local
721 PredTBB = NextBB; in duplicateSimpleBB()
723 PredFBB = NextBB; in duplicateSimpleBB()
738 if (PredFBB == NextBB) in duplicateSimpleBB()
740 if (PredTBB == NextBB && PredFBB == nullptr) in duplicateSimpleBB()
DMachineBlockPlacement.cpp1146 MachineBasicBlock *NextBB = &*NextFI; in buildCFGChains() local
1151 << getBlockName(BB) << " -> " << getBlockName(NextBB) in buildCFGChains()
1153 Chain->merge(NextBB, nullptr); in buildCFGChains()
1155 BB = NextBB; in buildCFGChains()
DBranchFolding.cpp493 MachineBasicBlock *NextBB = &*I; in FixTail() local
494 if (TBB == NextBB && !Cond.empty() && !FBB) { in FixTail()
1532 MachineBasicBlock *NextBB = &*std::next(MBB->getIterator()); in OptimizeBlock() local
1534 TII->InsertBranch(*MBB, NextBB, nullptr, CurCond, DebugLoc()); in OptimizeBlock()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2330 bool EvaluateBlock(BasicBlock::iterator CurInst, BasicBlock *&NextBB);
2418 BasicBlock *&NextBB) { in EvaluateBlock() argument
2702 NextBB = BI->getSuccessor(0); in EvaluateBlock()
2708 NextBB = BI->getSuccessor(!Cond->getZExtValue()); in EvaluateBlock()
2714 NextBB = SI->findCaseValue(Val).getCaseSuccessor(); in EvaluateBlock()
2718 NextBB = BA->getBasicBlock(); in EvaluateBlock()
2722 NextBB = nullptr; in EvaluateBlock()
2748 NextBB = II->getNormalDest(); in EvaluateBlock()
2787 BasicBlock *NextBB = nullptr; // Initialized to avoid compiler warnings. in EvaluateFunction() local
2790 if (!EvaluateBlock(CurInst, NextBB)) in EvaluateFunction()
[all …]
/external/llvm/lib/Target/Mips/
DMipsConstantIslandPass.cpp606 MachineBasicBlock *NextBB = &*std::next(MBBI); in BBHasFallthrough() local
609 if (*I == NextBB) in BBHasFallthrough()
1645 MachineBasicBlock *NextBB = &*++MBB->getIterator(); in fixupConditionalBr() local
1649 << NextBB->getNumber() << "\n"); in fixupConditionalBr()
1656 .addMBB(NextBB); in fixupConditionalBr()
1659 .addMBB(NextBB); in fixupConditionalBr()
/external/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp361 auto *NextBB = WorklistUnescaped.pop_back_val(); in markTails() local
362 if (Visited[NextBB] == UNESCAPED) { in markTails()
363 BB = NextBB; in markTails()
/external/llvm/lib/Target/ARM/
DARMConstantIslandPass.cpp657 MachineBasicBlock *NextBB = &*std::next(MBBI); in BBHasFallthrough() local
658 if (std::find(MBB->succ_begin(), MBB->succ_end(), NextBB) == MBB->succ_end()) in BBHasFallthrough()
1766 MachineBasicBlock *NextBB = &*++MBB->getIterator(); in fixupConditionalBr() local
1770 << NextBB->getNumber() << "\n"); in fixupConditionalBr()
1775 .addMBB(NextBB).addImm(CC).addReg(CCReg); in fixupConditionalBr()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp1143 BasicBlock *NextBB = BasicBlock::Create(*DFS.Ctx, "", F); in loadShadow() local
1144 DT.addNewBlock(NextBB, LastBr->getParent()); in loadShadow()
1145 IRBuilder<> NextIRB(NextBB); in loadShadow()
1150 LastBr->setSuccessor(0, NextBB); in loadShadow()
DAddressSanitizer.cpp1103 BasicBlock *NextBB = CheckTerm->getSuccessor(0); in instrumentAddress() local
1110 BasicBlock::Create(*C, "", NextBB->getParent(), NextBB); in instrumentAddress()
1112 BranchInst *NewTerm = BranchInst::Create(CrashBlock, NextBB, Cmp2); in instrumentAddress()
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.cpp505 MachineBasicBlock *NextBB = &*++MBB.getIterator(); in InsertBranch() local
506 if (NewTBB == NextBB) { in InsertBranch()