Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DGCEmptyBasicBlocks.cpp55 NextMBB; in runOnMachineFunction() local
56 MBB != LastMBB; MBB = NextMBB) { in runOnMachineFunction()
57 NextMBB = std::next(MBB); in runOnMachineFunction()
77 Pred->ReplaceUsesOfBlockWith(&*MBB, &*NextMBB); in runOnMachineFunction()
80 JTI->ReplaceMBBInJumpTables(&*MBB, &*NextMBB); in runOnMachineFunction()
H A DMachineLoopInfo.cpp80 MachineBasicBlock *NextMBB = &*std::next(BotMBB->getIterator()); in getBottomBlock() local
81 while (contains(NextMBB)) { in getBottomBlock()
82 BotMBB = NextMBB; in getBottomBlock()
85 NextMBB = &*std::next(BotMBB->getIterator()); in getBottomBlock()
H A DIfConversion.cpp1529 MachineBasicBlock &NextMBB = *NextBBI->BB; in IfConvertSimple() local
1552 Redefs.addLiveInsNoPristines(NextMBB); in IfConvertSimple()
1576 if (!canFallThroughTo(*BBI.BB, NextMBB)) { in IfConvertSimple()
1577 InsertUncondBranch(*BBI.BB, NextMBB, TII); in IfConvertSimple()
1615 MachineBasicBlock &NextMBB = *NextBBI->BB; in IfConvertTriangle() local
1653 Redefs.addLiveInsNoPristines(NextMBB); in IfConvertTriangle()
1661 CvtNext = MBPI->getEdgeProbability(&CvtMBB, &NextMBB); in IfConvertTriangle()
1663 BBNext = MBPI->getEdgeProbability(BBI.BB, &NextMBB); in IfConvertTriangle()
1715 bool isFallThrough = canFallThroughTo(*BBI.BB, NextMBB); in IfConvertTriangle()
1722 !NextMBB.hasAddressTaken()) { in IfConvertTriangle()
[all …]
H A DMachineBlockPlacement.cpp3610 MachineFunction::iterator NextMBB = std::next(MBB.getIterator()); in assignBlockOrder() local
3616 if (FTMBB && (NextMBB == EndIt || &*NextMBB != FTMBB)) { in assignBlockOrder()
/freebsd-14.2/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-14.2/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.cpp1360 MachineBasicBlock *NextMBB; in inlineStackProbe() local
1411 NextMBB = SystemZ::splitBlockBefore(StackAllocMI, &MBB); in inlineStackProbe()
1412 MBB.addSuccessor(NextMBB); in inlineStackProbe()
1417 BuildMI(*NextMBB, StackAllocMI, DL, ZII->get(SystemZ::LGR)) in inlineStackProbe()
1425 BuildMI(*NextMBB, StackAllocMI, DL, ZII->get(SystemZ::LGR)) in inlineStackProbe()
1429 BuildMI(*NextMBB, StackAllocMI, DL, ZII->get(SystemZ::LG)) in inlineStackProbe()
1438 BuildMI(StackExtMBB, DL, ZII->get(SystemZ::J)).addMBB(NextMBB); in inlineStackProbe()
1439 StackExtMBB->addSuccessor(NextMBB); in inlineStackProbe()
1446 anyChange = recomputeLiveIns(*StackExtMBB) || recomputeLiveIns(*NextMBB); in inlineStackProbe()
H A DSystemZMachineScheduler.h133 void enterMBB(MachineBasicBlock *NextMBB) override;
H A DSystemZISelLowering.cpp8884 MachineBasicBlock *NextMBB = nullptr; in emitMemMemWrapper() local
8908 DoneMBB = SystemZ::emitBlockAfter(NextMBB); in emitMemMemWrapper()
8991 .addReg(NextDestReg).addMBB(NextMBB); in emitMemMemWrapper()
8995 .addReg(NextSrcReg).addMBB(NextMBB); in emitMemMemWrapper()
8998 .addReg(NextCountReg).addMBB(NextMBB); in emitMemMemWrapper()
9011 MBB->addSuccessor(NextMBB); in emitMemMemWrapper()
9023 MBB = NextMBB; in emitMemMemWrapper()
9053 .addReg(NextDestReg).addMBB(NextMBB); in emitMemMemWrapper()
9057 .addReg(NextSrcReg).addMBB(NextMBB); in emitMemMemWrapper()
9098 MBB->addSuccessor(NextMBB); in emitMemMemWrapper()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp184 MachineBasicBlock *NextMBB = &*std::next(MBB); in expandBranches() local
185 assert(MBB->isSuccessor(NextMBB) && in expandBranches()
197 .addMBB(NextMBB) in expandBranches()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizer.cpp554 MachineBasicBlock *NextMBB = NextMI->getOperand(0).getMBB(); in processSwitches() local
557 if (NextMBB->front().getOpcode() != SPIRV::G_ICMP || in processSwitches()
558 (NextMBB->front().getOperand(2).isReg() && in processSwitches()
559 NextMBB->front().getOperand(2).getReg() != CompareReg)) { in processSwitches()
561 DefaultMBB = NextMBB; in processSwitches()
H A DSPIRVInstructionSelector.cpp1480 MachineBasicBlock *NextMBB = I.getMF()->getBlockNumbered(NextMBBNum); in selectBranchCond() local
1484 .addMBB(NextMBB) in selectBranchCond()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1143 MachineBasicBlock *NextMBB, in emitBitTestCase() argument
1183 addSuccessorWithProb(SwitchBB, NextMBB, BranchProbToNext); in emitBitTestCase()
1197 if (NextMBB != SwitchBB->getNextNode()) in emitBitTestCase()
1198 MIB.buildBr(*NextMBB); in emitBitTestCase()
1247 MachineBasicBlock *NextMBB = nullptr; in lowerSwitchWorkItem() local
1250 NextMBB = &*BBI; in lowerSwitchWorkItem()
1270 if (I->Kind == CC_Range && I->MBB == NextMBB) { in lowerSwitchWorkItem()
3383 MachineBasicBlock *NextMBB; in finalizeBasicBlock() local
3387 NextMBB = BTB.Cases[j + 1].TargetBB; in finalizeBasicBlock()
3390 NextMBB = BTB.Default; in finalizeBasicBlock()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h386 void emitBitTestCase(SwitchCG::BitTestBlock &BB, MachineBasicBlock *NextMBB,
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp1888 MachineBasicBlock *NextMBB; in FinishBasicBlock() local
1892 NextMBB = BTB.Cases[j + 1].TargetBB; in FinishBasicBlock()
1895 NextMBB = BTB.Default; in FinishBasicBlock()
1898 NextMBB = BTB.Cases[j + 1].ThisBB; in FinishBasicBlock()
1901 SDB->visitBitTestCase(BTB, NextMBB, UnhandledProb, BTB.Reg, BTB.Cases[j], in FinishBasicBlock()
H A DSelectionDAGBuilder.h519 void visitBitTestCase(SwitchCG::BitTestBlock &BB, MachineBasicBlock *NextMBB,
H A DSelectionDAGBuilder.cpp3069 MachineBasicBlock* NextMBB, in visitBitTestCase() argument
3108 addSuccessorWithProb(SwitchBB, NextMBB, BranchProbToNext); in visitBitTestCase()
3119 if (NextMBB != NextBlock(SwitchBB)) in visitBitTestCase()
3121 DAG.getBasicBlock(NextMBB)); in visitBitTestCase()
11405 MachineBasicBlock *NextMBB = nullptr; in lowerWorkItem() local
11408 NextMBB = &*BBI; in lowerWorkItem()
11487 if (I->Kind == CC_Range && I->MBB == NextMBB) { in lowerWorkItem()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp4130 MachineFunction::iterator NextMBB = std::next(Parent->getIterator()); in verifyCFIntrinsic() local
4131 if (NextMBB == Parent->getParent()->end()) // Illegal intrinsic use. in verifyCFIntrinsic()
4133 UncondBrTarget = &*NextMBB; in verifyCFIntrinsic()