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.cpp611 for (const MachineBasicBlock *SuccMBB : MBB->successors()) { in runOnBlock() local
612 if (SuccMBB->isEHPad()) in runOnBlock()
614 for (const auto &LI : SuccMBB->liveins()) { in runOnBlock()
834 for (const MachineBasicBlock *SuccMBB : MBB.successors()) { in isLiveOut() local
836 unsigned SuccIdx = SuccMBB->getNumber(); in isLiveOut()
840 if (Kills.count(SuccMBB)) in isLiveOut()
H A DShrinkWrap.cpp418 MachineBasicBlock *SuccMBB = Worklist.pop_back_val(); in markAllReachable() local
419 if (!Visited.insert(SuccMBB).second) in markAllReachable()
421 Worklist.append(SuccMBB->succ_begin(), SuccMBB->succ_end()); in markAllReachable()
H A DBranchFolding.cpp1295 MachineBasicBlock &SuccMBB) { in copyDebugInfoToSuccessor() argument
1296 auto InsertBefore = SuccMBB.SkipPHIsAndLabels(SuccMBB.begin()); in copyDebugInfoToSuccessor()
1299 TII->duplicate(SuccMBB, InsertBefore, MI); in copyDebugInfoToSuccessor()
H A DMachineVerifier.cpp832 for (const MachineBasicBlock *SuccMBB : MBB->successors()) { in visitMachineBasicBlockBefore() local
834 if (SuccMBB == TBB || SuccMBB == FBB) in visitMachineBasicBlockBefore()
838 if (Fallthrough && SuccMBB == MBB->getNextNode()) in visitMachineBasicBlockBefore()
842 if (SuccMBB->isEHPad() || SuccMBB->isInlineAsmBrIndirectTarget()) in visitMachineBasicBlockBefore()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FlagsCopyLowering.cpp640 for (MachineBasicBlock *SuccMBB : UseMBB.successors()) in runOnMachineFunction()
641 if (SuccMBB->isLiveIn(X86::EFLAGS) && in runOnMachineFunction()
642 VisitedBlocks.insert(SuccMBB).second) { in runOnMachineFunction()
656 if (SuccMBB == TestMBB || !MDT->dominates(TestMBB, SuccMBB)) { in runOnMachineFunction()
665 SuccMBB->dump(); in runOnMachineFunction()
672 Blocks.push_back(SuccMBB); in runOnMachineFunction()
675 SuccMBB->removeLiveIn(X86::EFLAGS); in runOnMachineFunction()
H A DX86SpeculativeLoadHardening.cpp585 for (MachineBasicBlock *SuccMBB : MBB.successors()) in hardenEdgesWithLFENCE()
586 if (!SuccMBB->isEHPad()) in hardenEdgesWithLFENCE()
587 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.cpp582 for (auto &SuccMBB : MBB.successors()) in runOnMachineFunction() local
583 if (SuccMBB->isLiveIn(CRBit) || SuccMBB->isLiveIn(CRReg)) { in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LowerHomogeneousPrologEpilog.cpp426 for (const MachineBasicBlock *SuccMBB : MBB.successors()) { in shouldUseFrameHelper() local
427 if (SuccMBB->isLiveIn(AArch64::W16) || SuccMBB->isLiveIn(AArch64::X16)) in shouldUseFrameHelper()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonNewValueJump.cpp537 for (const MachineBasicBlock *SuccMBB : MBB->successors()) in runOnMachineFunction() local
538 if (SuccMBB->isLiveIn(predReg)) in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp2471 MachineBasicBlock *SuccMBB = MF->CreateMachineBasicBlock(); in split() local
2473 MF->insert(MBBIter, SuccMBB); in split()
2474 SuccMBB->transferSuccessorsAndUpdatePHIs(MBB); in split()
2475 MBB->addSuccessor(SuccMBB); in split()
2478 SuccMBB->splice(SuccMBB->end(), MBB, I, MBB->end()); in split()
2480 return SuccMBB; in split()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp1675 MachineBasicBlock *SuccMBB = in canUseAsEpilogue() local
1681 if (!SuccMBB) in canUseAsEpilogue()
1686 return SuccMBB->isReturnBlock() && SuccMBB->size() == 1; in canUseAsEpilogue()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp2266 MachineBasicBlock *SuccMBB = FuncInfo.MBBMap[SuccBB]; in handlePHINodesInSuccessorBlocks() local
2270 if (!SuccsHandled.insert(SuccMBB).second) in handlePHINodesInSuccessorBlocks()
2273 MachineBasicBlock::iterator MBBI = SuccMBB->begin(); in handlePHINodesInSuccessorBlocks()
H A DSelectionDAGBuilder.cpp11831 MachineBasicBlock *SuccMBB = FuncInfo.MBBMap[SuccBB]; in HandlePHINodesInSuccessorBlocks() local
11835 if (!SuccsHandled.insert(SuccMBB).second) in HandlePHINodesInSuccessorBlocks()
11838 MachineBasicBlock::iterator MBBI = SuccMBB->begin(); in HandlePHINodesInSuccessorBlocks()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp900 MachineBasicBlock *SuccMBB = nullptr; in parseBasicBlockSuccessors() local
901 if (parseMBBReference(SuccMBB)) in parseBasicBlockSuccessors()
915 MBB.addSuccessor(SuccMBB, BranchProbability::getRaw(Weight)); in parseBasicBlockSuccessors()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1461 for (const MachineBasicBlock *SuccMBB : MBB.successors()) { in emitBBAddrMapSection() local
1463 OutStreamer->emitULEB128IntValue(SuccMBB->getBBID()->BaseID); in emitBBAddrMapSection()
1466 MBPI->getEdgeProbability(&MBB, SuccMBB).getNumerator()); in emitBBAddrMapSection()