Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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 DReturnProtectorLowering.cpp47 for (auto &SuccMBB : MBB.successors()) in markUsedRegsInSuccessors() local
48 markUsedRegsInSuccessors(*SuccMBB, Used, Visited); in markUsedRegsInSuccessors()
265 for (auto &SuccMBB : RB->successors()) in determineReturnProtectorRegister() local
266 markUsedRegsInSuccessors(*SuccMBB, Used, Visited); in determineReturnProtectorRegister()
H A DMachineFunctionSplitter.cpp118 for (auto *SuccMBB : MBB->successors()) { in setDescendantEHBlocksCold() local
119 if (!SuccMBB->isEHPad()) in setDescendantEHBlocksCold()
120 WorkList.insert(SuccMBB); in setDescendantEHBlocksCold()
H A DPHIEliminationUtils.h20 findPHICopyInsertPoint(MachineBasicBlock* MBB, MachineBasicBlock* SuccMBB,
H A DLiveVariables.cpp594 for (const MachineBasicBlock *SuccMBB : MBB->successors()) { in runOnBlock() local
595 if (SuccMBB->isEHPad()) in runOnBlock()
597 for (const auto &LI : SuccMBB->liveins()) { in runOnBlock()
816 for (const MachineBasicBlock *SuccMBB : MBB.successors()) { in isLiveOut() local
818 unsigned SuccIdx = SuccMBB->getNumber(); in isLiveOut()
822 if (Kills.count(SuccMBB)) in isLiveOut()
H A DBranchFolding.cpp1282 MachineBasicBlock &SuccMBB) { in copyDebugInfoToSuccessor() argument
1283 auto InsertBefore = SuccMBB.SkipPHIsAndLabels(SuccMBB.begin()); in copyDebugInfoToSuccessor()
1286 TII->duplicate(SuccMBB, InsertBefore, MI); in copyDebugInfoToSuccessor()
H A DMachineVerifier.cpp772 for (const MachineBasicBlock *SuccMBB : MBB->successors()) { in visitMachineBasicBlockBefore() local
774 if (SuccMBB == TBB || SuccMBB == FBB) in visitMachineBasicBlockBefore()
778 if (Fallthrough && SuccMBB == MBB->getNextNode()) in visitMachineBasicBlockBefore()
782 if (SuccMBB->isEHPad() || SuccMBB->isInlineAsmBrIndirectTarget()) in visitMachineBasicBlockBefore()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86FlagsCopyLowering.cpp658 for (MachineBasicBlock *SuccMBB : UseMBB.successors()) in runOnMachineFunction()
659 if (SuccMBB->isLiveIn(X86::EFLAGS) && in runOnMachineFunction()
660 VisitedBlocks.insert(SuccMBB).second) { in runOnMachineFunction()
674 if (SuccMBB == TestMBB || !MDT->dominates(TestMBB, SuccMBB)) { in runOnMachineFunction()
683 SuccMBB->dump(); in runOnMachineFunction()
690 Blocks.push_back(SuccMBB); in runOnMachineFunction()
693 SuccMBB->removeLiveIn(X86::EFLAGS); in runOnMachineFunction()
H A DX86SpeculativeLoadHardening.cpp586 for (MachineBasicBlock *SuccMBB : MBB.successors()) in hardenEdgesWithLFENCE()
587 if (!SuccMBB->isEHPad()) in hardenEdgesWithLFENCE()
588 Blocks.insert(SuccMBB); in hardenEdgesWithLFENCE()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DCodeGenCommonISel.h196 MachineBasicBlock *SuccMBB = nullptr);
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64LowerHomogeneousPrologEpilog.cpp386 for (const MachineBasicBlock *SuccMBB : MBB.successors()) { in shouldUseFrameHelper() local
387 if (SuccMBB->isLiveIn(AArch64::W16) || SuccMBB->isLiveIn(AArch64::X16)) in shouldUseFrameHelper()
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp1340 MachineBasicBlock *SuccMBB = in canUseAsEpilogue() local
1346 if (!SuccMBB) in canUseAsEpilogue()
1351 return SuccMBB->isReturnBlock() && SuccMBB->size() == 1; in canUseAsEpilogue()
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonNewValueJump.cpp537 for (const MachineBasicBlock *SuccMBB : MBB->successors()) in runOnMachineFunction() local
538 if (SuccMBB->isLiveIn(predReg)) in runOnMachineFunction()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp2476 MachineBasicBlock *SuccMBB = MF->CreateMachineBasicBlock(); in split() local
2478 MF->insert(MBBIter, SuccMBB); in split()
2479 SuccMBB->transferSuccessorsAndUpdatePHIs(MBB); in split()
2480 MBB->addSuccessor(SuccMBB); in split()
2483 SuccMBB->splice(SuccMBB->end(), MBB, I, MBB->end()); in split()
2485 return SuccMBB; in split()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp2146 MachineBasicBlock *SuccMBB = FuncInfo.MBBMap[SuccBB]; in handlePHINodesInSuccessorBlocks() local
2150 if (!SuccsHandled.insert(SuccMBB).second) in handlePHINodesInSuccessorBlocks()
2153 MachineBasicBlock::iterator MBBI = SuccMBB->begin(); in handlePHINodesInSuccessorBlocks()
H A DSelectionDAGBuilder.cpp10904 MachineBasicBlock *SuccMBB = FuncInfo.MBBMap[SuccBB]; in HandlePHINodesInSuccessorBlocks() local
10908 if (!SuccsHandled.insert(SuccMBB).second) in HandlePHINodesInSuccessorBlocks()
10911 MachineBasicBlock::iterator MBBI = SuccMBB->begin(); in HandlePHINodesInSuccessorBlocks()
/openbsd/gnu/llvm/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp874 MachineBasicBlock *SuccMBB = nullptr; in parseBasicBlockSuccessors() local
875 if (parseMBBReference(SuccMBB)) in parseBasicBlockSuccessors()
889 MBB.addSuccessor(SuccMBB, BranchProbability::getRaw(Weight)); in parseBasicBlockSuccessors()