Home
last modified time | relevance | path

Searched refs:SuccMBB (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenCommonISel.cpp31 MachineBasicBlock *SuccMBB) { in addSuccessorMBB() argument
33 if (!SuccMBB) { in addSuccessorMBB()
36 SuccMBB = MF->CreateMachineBasicBlock(BB); in addSuccessorMBB()
37 MF->insert(++BBI, SuccMBB); in addSuccessorMBB()
41 SuccMBB, BranchProbabilityInfo::getBranchProbStackProtector(IsLikely)); in addSuccessorMBB()
42 return SuccMBB; in addSuccessorMBB()
H A DPHIEliminationUtils.cpp21 llvm::findPHICopyInsertPoint(MachineBasicBlock* MBB, MachineBasicBlock* SuccMBB, in findPHICopyInsertPoint() argument
34 bool EHPadSuccessor = SuccMBB->isEHPad(); in findPHICopyInsertPoint()
35 if (!EHPadSuccessor && !SuccMBB->isInlineAsmBrIndirectTarget()) in findPHICopyInsertPoint()
H A DPHIEliminationUtils.h20 findPHICopyInsertPoint(MachineBasicBlock* MBB, MachineBasicBlock* SuccMBB,
H A DLiveVariables.cpp604 for (const MachineBasicBlock *SuccMBB : MBB->successors()) { in runOnBlock() local
605 if (SuccMBB->isEHPad()) in runOnBlock()
607 for (const auto &LI : SuccMBB->liveins()) { in runOnBlock()
827 for (const MachineBasicBlock *SuccMBB : MBB.successors()) { in isLiveOut() local
829 unsigned SuccIdx = SuccMBB->getNumber(); in isLiveOut()
833 if (Kills.count(SuccMBB)) in isLiveOut()
H A DShrinkWrap.cpp422 MachineBasicBlock *SuccMBB = Worklist.pop_back_val(); in markAllReachable() local
423 if (!Visited.insert(SuccMBB).second) in markAllReachable()
425 Worklist.append(SuccMBB->succ_begin(), SuccMBB->succ_end()); in markAllReachable()
H A DBranchFolding.cpp1316 MachineBasicBlock &SuccMBB) { in copyDebugInfoToSuccessor() argument
1317 auto InsertBefore = SuccMBB.SkipPHIsAndLabels(SuccMBB.begin()); in copyDebugInfoToSuccessor()
1320 TII->duplicate(SuccMBB, InsertBefore, MI); in copyDebugInfoToSuccessor()
H A DMachineVerifier.cpp877 for (const MachineBasicBlock *SuccMBB : MBB->successors()) { in visitMachineBasicBlockBefore() local
879 if (SuccMBB == TBB || SuccMBB == FBB) in visitMachineBasicBlockBefore()
883 if (Fallthrough && SuccMBB == MBB->getNextNode()) in visitMachineBasicBlockBefore()
887 if (SuccMBB->isEHPad() || SuccMBB->isInlineAsmBrIndirectTarget()) in visitMachineBasicBlockBefore()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FlagsCopyLowering.cpp647 for (MachineBasicBlock *SuccMBB : UseMBB.successors()) in runOnMachineFunction()
648 if (SuccMBB->isLiveIn(X86::EFLAGS) && in runOnMachineFunction()
649 VisitedBlocks.insert(SuccMBB).second) { in runOnMachineFunction()
663 if (SuccMBB == TestMBB || !MDT->dominates(TestMBB, SuccMBB)) { in runOnMachineFunction()
672 SuccMBB->dump(); in runOnMachineFunction()
679 Blocks.push_back(SuccMBB); in runOnMachineFunction()
682 SuccMBB->removeLiveIn(X86::EFLAGS); in runOnMachineFunction()
H A DX86SpeculativeLoadHardening.cpp583 for (MachineBasicBlock *SuccMBB : MBB.successors()) in hardenEdgesWithLFENCE()
584 if (!SuccMBB->isEHPad()) in hardenEdgesWithLFENCE()
585 Blocks.insert(SuccMBB); in hardenEdgesWithLFENCE()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCodeGenCommonISel.h198 MachineBasicBlock *SuccMBB = nullptr);
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCPreEmitPeephole.cpp578 for (auto &SuccMBB : MBB.successors()) in runOnMachineFunction() local
579 if (SuccMBB->isLiveIn(CRBit) || SuccMBB->isLiveIn(CRReg)) { in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LowerHomogeneousPrologEpilog.cpp416 for (const MachineBasicBlock *SuccMBB : MBB.successors()) { in shouldUseFrameHelper() local
417 if (SuccMBB->isLiveIn(AArch64::W16) || SuccMBB->isLiveIn(AArch64::X16)) in shouldUseFrameHelper()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonNewValueJump.cpp529 for (const MachineBasicBlock *SuccMBB : MBB->successors()) in runOnMachineFunction() local
530 if (SuccMBB->isLiveIn(predReg)) in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp2303 MachineBasicBlock *SuccMBB = in canUseAsEpilogue() local
2309 if (!SuccMBB) in canUseAsEpilogue()
2314 return SuccMBB->isReturnBlock() && SuccMBB->size() == 1; in canUseAsEpilogue()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp2210 MachineBasicBlock *SuccMBB = FuncInfo.getMBB(SuccBB); in handlePHINodesInSuccessorBlocks() local
2214 if (!SuccsHandled.insert(SuccMBB).second) in handlePHINodesInSuccessorBlocks()
2217 MachineBasicBlock::iterator MBBI = SuccMBB->begin(); in handlePHINodesInSuccessorBlocks()
H A DSelectionDAGBuilder.cpp11985 MachineBasicBlock *SuccMBB = FuncInfo.getMBB(SuccBB); in HandlePHINodesInSuccessorBlocks() local
11989 if (!SuccsHandled.insert(SuccMBB).second) in HandlePHINodesInSuccessorBlocks()
11992 MachineBasicBlock::iterator MBBI = SuccMBB->begin(); in HandlePHINodesInSuccessorBlocks()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp901 MachineBasicBlock *SuccMBB = nullptr; in parseBasicBlockSuccessors() local
902 if (parseMBBReference(SuccMBB)) in parseBasicBlockSuccessors()
916 MBB.addSuccessor(SuccMBB, BranchProbability::getRaw(Weight)); in parseBasicBlockSuccessors()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1548 for (const MachineBasicBlock *SuccMBB : MBB.successors()) { in emitBBAddrMapSection() local
1550 OutStreamer->emitULEB128IntValue(SuccMBB->getBBID()->BaseID); in emitBBAddrMapSection()
1553 MBPI->getEdgeProbability(&MBB, SuccMBB).getNumerator()); in emitBBAddrMapSection()
H A DDwarfDebug.cpp2583 if (none_of(MBB->successors(), [&](auto *SuccMBB) { in findForceIsStmtInstrs() argument
2584 return PotentialIsStmtMBBInstrs.contains(SuccMBB); in findForceIsStmtInstrs()