Home
last modified time | relevance | path

Searched refs:NextMBB (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DGCEmptyBasicBlocks.cpp54 NextMBB; in runOnMachineFunction() local
55 MBB != LastMBB; MBB = NextMBB) { in runOnMachineFunction()
56 NextMBB = std::next(MBB); in runOnMachineFunction()
76 Pred->ReplaceUsesOfBlockWith(&*MBB, &*NextMBB); in runOnMachineFunction()
79 JTI->ReplaceMBBInJumpTables(&*MBB, &*NextMBB); in runOnMachineFunction()
H A DMachineLoopInfo.cpp111 MachineBasicBlock *NextMBB = &*std::next(BotMBB->getIterator()); in getBottomBlock() local
112 while (contains(NextMBB)) { in getBottomBlock()
113 BotMBB = NextMBB; in getBottomBlock()
116 NextMBB = &*std::next(BotMBB->getIterator()); in getBottomBlock()
H A DIfConversion.cpp1549 MachineBasicBlock &NextMBB = *NextBBI->BB; in IfConvertSimple() local
1572 Redefs.addLiveInsNoPristines(NextMBB); in IfConvertSimple()
1596 if (!canFallThroughTo(*BBI.BB, NextMBB)) { in IfConvertSimple()
1597 InsertUncondBranch(*BBI.BB, NextMBB, TII); in IfConvertSimple()
1635 MachineBasicBlock &NextMBB = *NextBBI->BB; in IfConvertTriangle() local
1673 Redefs.addLiveInsNoPristines(NextMBB); in IfConvertTriangle()
1681 CvtNext = MBPI->getEdgeProbability(&CvtMBB, &NextMBB); in IfConvertTriangle()
1683 BBNext = MBPI->getEdgeProbability(BBI.BB, &NextMBB); in IfConvertTriangle()
1735 bool isFallThrough = canFallThroughTo(*BBI.BB, NextMBB); in IfConvertTriangle()
1740 if (!HasEarlyExit && NextMBB.pred_size() == 1 && in IfConvertTriangle()
[all …]
H A DMachineBlockPlacement.cpp3810 MachineFunction::iterator NextMBB = std::next(MBB.getIterator()); in assignBlockOrder() local
3816 if (FTMBB && (NextMBB == EndIt || &*NextMBB != FTMBB)) { in assignBlockOrder()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AvoidTrailingCall.cpp99 MachineBasicBlock *NextMBB = MBB.getNextNode(); in runOnMachineFunction() local
100 if (NextMBB && !NextMBB->isEHFuncletEntry()) in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZMachineScheduler.cpp79 void SystemZPostRASchedStrategy::enterMBB(MachineBasicBlock *NextMBB) { in enterMBB() argument
80 assert ((SchedStates.find(NextMBB) == SchedStates.end()) && in enterMBB()
82 LLVM_DEBUG(dbgs() << "** Entering " << printMBBReference(*NextMBB)); in enterMBB()
84 MBB = NextMBB; in enterMBB()
H A DSystemZFrameLowering.cpp1397 MachineBasicBlock *NextMBB; in inlineStackProbe() local
1448 NextMBB = SystemZ::splitBlockBefore(StackAllocMI, &MBB); in inlineStackProbe()
1449 MBB.addSuccessor(NextMBB); in inlineStackProbe()
1454 BuildMI(*NextMBB, StackAllocMI, DL, ZII->get(SystemZ::LGR)) in inlineStackProbe()
1462 BuildMI(*NextMBB, StackAllocMI, DL, ZII->get(SystemZ::LGR)) in inlineStackProbe()
1466 BuildMI(*NextMBB, StackAllocMI, DL, ZII->get(SystemZ::LG)) in inlineStackProbe()
1475 BuildMI(StackExtMBB, DL, ZII->get(SystemZ::J)).addMBB(NextMBB); in inlineStackProbe()
1476 StackExtMBB->addSuccessor(NextMBB); in inlineStackProbe()
1481 fullyRecomputeLiveIns({StackExtMBB, NextMBB}); in inlineStackProbe()
H A DSystemZMachineScheduler.h131 void enterMBB(MachineBasicBlock *NextMBB) override;
H A DSystemZISelLowering.cpp10366 MachineBasicBlock *NextMBB = nullptr; in emitMemMemWrapper() local
10389 NextMBB = (EndMBB ? SystemZ::emitBlockAfter(LoopMBB) : LoopMBB); in emitMemMemWrapper()
10390 DoneMBB = SystemZ::emitBlockAfter(NextMBB); in emitMemMemWrapper()
10444 NextMBB = (EndMBB ? SystemZ::emitBlockAfter(LoopMBB) : LoopMBB); in emitMemMemWrapper()
10473 .addReg(NextDestReg).addMBB(NextMBB); in emitMemMemWrapper()
10477 .addReg(NextSrcReg).addMBB(NextMBB); in emitMemMemWrapper()
10480 .addReg(NextCountReg).addMBB(NextMBB); in emitMemMemWrapper()
10493 MBB->addSuccessor(NextMBB); in emitMemMemWrapper()
10505 MBB = NextMBB; in emitMemMemWrapper()
10535 .addReg(NextDestReg).addMBB(NextMBB); in emitMemMemWrapper()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp183 MachineBasicBlock *NextMBB = &*std::next(MBB); in expandBranches() local
184 assert(MBB->isSuccessor(NextMBB) && in expandBranches()
196 .addMBB(NextMBB) in expandBranches()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1155 MachineBasicBlock *NextMBB, in emitBitTestCase() argument
1195 addSuccessorWithProb(SwitchBB, NextMBB, BranchProbToNext); in emitBitTestCase()
1209 if (NextMBB != SwitchBB->getNextNode()) in emitBitTestCase()
1210 MIB.buildBr(*NextMBB); in emitBitTestCase()
1259 MachineBasicBlock *NextMBB = nullptr; in lowerSwitchWorkItem() local
1262 NextMBB = &*BBI; in lowerSwitchWorkItem()
1282 if (I->Kind == CC_Range && I->MBB == NextMBB) { in lowerSwitchWorkItem()
3741 MachineBasicBlock *NextMBB; in finalizeBasicBlock() local
3745 NextMBB = BTB.Cases[j + 1].TargetBB; in finalizeBasicBlock()
3748 NextMBB = BTB.Default; in finalizeBasicBlock()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h393 void emitBitTestCase(SwitchCG::BitTestBlock &BB, MachineBasicBlock *NextMBB,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp2022 MachineBasicBlock *NextMBB; in FinishBasicBlock() local
2026 NextMBB = BTB.Cases[j + 1].TargetBB; in FinishBasicBlock()
2029 NextMBB = BTB.Default; in FinishBasicBlock()
2032 NextMBB = BTB.Cases[j + 1].ThisBB; in FinishBasicBlock()
2035 SDB->visitBitTestCase(BTB, NextMBB, UnhandledProb, BTB.Reg, BTB.Cases[j], in FinishBasicBlock()
H A DSelectionDAGBuilder.h527 void visitBitTestCase(SwitchCG::BitTestBlock &BB, MachineBasicBlock *NextMBB,
H A DSelectionDAGBuilder.cpp3287 MachineBasicBlock *NextMBB, in visitBitTestCase() argument
3325 addSuccessorWithProb(SwitchBB, NextMBB, BranchProbToNext); in visitBitTestCase()
3336 if (NextMBB != NextBlock(SwitchBB)) in visitBitTestCase()
3338 DAG.getBasicBlock(NextMBB)); in visitBitTestCase()
12076 MachineBasicBlock *NextMBB = nullptr; in lowerWorkItem() local
12079 NextMBB = &*BBI; in lowerWorkItem()
12158 if (I->Kind == CC_Range && I->MBB == NextMBB) { in lowerWorkItem()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp4303 MachineFunction::iterator NextMBB = std::next(Parent->getIterator()); in verifyCFIntrinsic() local
4304 if (NextMBB == Parent->getParent()->end()) // Illegal intrinsic use. in verifyCFIntrinsic()
4306 UncondBrTarget = &*NextMBB; in verifyCFIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp3841 MachineBasicBlock *NextMBB = I.getMF()->getBlockNumbered(NextMBBNum); in selectBranchCond() local
3845 .addMBB(NextMBB) in selectBranchCond()