Home
last modified time | relevance | path

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

/external/llvm/include/llvm/CodeGen/
DWinEHFuncInfo.h60 CatchHandler(BasicBlock *BB, Constant *Selector, BasicBlock *NextBB) in CatchHandler() argument
62 NextBB(NextBB), ExceptionObjectVar(nullptr), in CatchHandler()
71 BasicBlock *getNextBB() const { return NextBB; } in getNextBB()
85 BasicBlock *NextBB; variable
/external/llvm/lib/Target/AArch64/
DAArch64BranchRelaxation.cpp136 MachineBasicBlock *NextBB = std::next(MBBI); in BBHasFallthrough() local
137 if (NextBB == MBB->getParent()->end()) in BBHasFallthrough()
141 if (S == NextBB) in BBHasFallthrough()
424 MachineBasicBlock *NextBB = std::next(MachineFunction::iterator(MBB)); in fixupConditionalBranch() local
428 << NextBB->getNumber() << "\n"); in fixupConditionalBranch()
439 MIB.addMBB(NextBB); in fixupConditionalBranch()
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp99 CatchHandler *findCatchHandler(BasicBlock *BB, BasicBlock *&NextBB,
737 Constant *&Selector, BasicBlock *&NextBB) { in isSelectorDispatch() argument
753 NextBB = FBB; in isSelectorDispatch()
759 NextBB = TBB; in isSelectorDispatch()
954 BasicBlock *NextBB; in processSEHCatchHandler() local
956 bool Res = isSelectorDispatch(StartBB, HandlerBB, Selector, NextBB); in processSEHCatchHandler()
1214 BasicBlock *NextBB; in handleTypeIdFor() local
1216 CatchHandler, Selector, NextBB)) { in handleTypeIdFor()
1354 BasicBlock *NextBB = nullptr; in mapLandingPadBlocks() local
1383 CatchHandler *CatchAction = findCatchHandler(BB, NextBB, VisitedBlocks); in mapLandingPadBlocks()
[all …]
DTailDuplication.cpp699 MachineBasicBlock *NextBB = std::next(MachineFunction::iterator(PredBB)); in duplicateSimpleBB() local
707 PredTBB = NextBB; in duplicateSimpleBB()
709 PredFBB = NextBB; in duplicateSimpleBB()
724 if (PredFBB == NextBB) in duplicateSimpleBB()
726 if (PredTBB == NextBB && PredFBB == nullptr) in duplicateSimpleBB()
DMachineBlockPlacement.cpp904 MachineBasicBlock *NextBB = NextFI; in buildCFGChains() local
909 << getBlockName(BB) << " -> " << getBlockName(NextBB) in buildCFGChains()
911 Chain->merge(NextBB, nullptr); in buildCFGChains()
913 BB = NextBB; in buildCFGChains()
DBranchFolding.cpp483 MachineBasicBlock *NextBB = I; in FixTail() local
484 if (TBB == NextBB && !Cond.empty() && !FBB) { in FixTail()
1523 MachineBasicBlock *NextBB = in OptimizeBlock() local
1526 TII->InsertBranch(*MBB, NextBB, nullptr, CurCond, DebugLoc()); in OptimizeBlock()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2196 bool EvaluateBlock(BasicBlock::iterator CurInst, BasicBlock *&NextBB);
2286 BasicBlock *&NextBB) { in EvaluateBlock() argument
2566 NextBB = BI->getSuccessor(0); in EvaluateBlock()
2572 NextBB = BI->getSuccessor(!Cond->getZExtValue()); in EvaluateBlock()
2578 NextBB = SI->findCaseValue(Val).getCaseSuccessor(); in EvaluateBlock()
2582 NextBB = BA->getBasicBlock(); in EvaluateBlock()
2586 NextBB = nullptr; in EvaluateBlock()
2612 NextBB = II->getNormalDest(); in EvaluateBlock()
2651 BasicBlock *NextBB = nullptr; // Initialized to avoid compiler warnings. in EvaluateFunction() local
2654 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()
1648 MachineBasicBlock *NextBB = std::next(MachineFunction::iterator(MBB)); in fixupConditionalBr() local
1652 << NextBB->getNumber() << "\n"); in fixupConditionalBr()
1659 .addMBB(NextBB); in fixupConditionalBr()
1662 .addMBB(NextBB); in fixupConditionalBr()
/external/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp354 auto *NextBB = WorklistUnescaped.pop_back_val(); in markTails() local
355 if (Visited[NextBB] == UNESCAPED) { in markTails()
356 BB = NextBB; in markTails()
/external/llvm/lib/Target/ARM/
DARMConstantIslandPass.cpp575 MachineBasicBlock *NextBB = std::next(MBBI); in BBHasFallthrough() local
576 if (std::find(MBB->succ_begin(), MBB->succ_end(), NextBB) == MBB->succ_end()) in BBHasFallthrough()
1638 MachineBasicBlock *NextBB = std::next(MachineFunction::iterator(MBB)); in fixupConditionalBr() local
1642 << NextBB->getNumber() << "\n"); in fixupConditionalBr()
1647 .addMBB(NextBB).addImm(CC).addReg(CCReg); in fixupConditionalBr()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp1127 BasicBlock *NextBB = BasicBlock::Create(*DFS.Ctx, "", F); in loadShadow() local
1128 DT.addNewBlock(NextBB, LastBr->getParent()); in loadShadow()
1129 IRBuilder<> NextIRB(NextBB); in loadShadow()
1134 LastBr->setSuccessor(0, NextBB); in loadShadow()
DAddressSanitizer.cpp1057 BasicBlock *NextBB = CheckTerm->getSuccessor(0); in instrumentAddress() local
1061 BasicBlock::Create(*C, "", NextBB->getParent(), NextBB); in instrumentAddress()
1063 BranchInst *NewTerm = BranchInst::Create(CrashBlock, NextBB, Cmp2); in instrumentAddress()
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.cpp150 MachineBasicBlock *NextBB = in InsertBranch() local
152 if (NewTBB == NextBB) { in InsertBranch()