Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86AvoidTrailingCall.cpp99 MachineBasicBlock *NextMBB = MBB.getNextNode(); in runOnMachineFunction() local
100 if (NextMBB && !NextMBB->isEHFuncletEntry()) in runOnMachineFunction()
/llvm-project-15.0.7/llvm/lib/CodeGen/
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.cpp1543 MachineBasicBlock &NextMBB = *NextBBI->BB; in IfConvertSimple() local
1566 Redefs.addLiveInsNoPristines(NextMBB); in IfConvertSimple()
1590 if (!canFallThroughTo(*BBI.BB, NextMBB)) { in IfConvertSimple()
1591 InsertUncondBranch(*BBI.BB, NextMBB, TII); in IfConvertSimple()
1629 MachineBasicBlock &NextMBB = *NextBBI->BB; in IfConvertTriangle() local
1667 Redefs.addLiveInsNoPristines(NextMBB); in IfConvertTriangle()
1675 CvtNext = MBPI->getEdgeProbability(&CvtMBB, &NextMBB); in IfConvertTriangle()
1677 BBNext = MBPI->getEdgeProbability(BBI.BB, &NextMBB); in IfConvertTriangle()
1729 bool isFallThrough = canFallThroughTo(*BBI.BB, NextMBB); in IfConvertTriangle()
1736 !NextMBB.hasAddressTaken()) { in IfConvertTriangle()
[all …]
H A DMachineBlockPlacement.cpp3573 MachineFunction::iterator NextMBB = std::next(MBB.getIterator()); in assignBlockOrder() local
3579 if (FTMBB && (NextMBB == EndIt || &*NextMBB != FTMBB)) { in assignBlockOrder()
/llvm-project-15.0.7/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 DSystemZMachineScheduler.h133 void enterMBB(MachineBasicBlock *NextMBB) override;
H A DSystemZFrameLowering.cpp1323 MachineBasicBlock *NextMBB; in inlineStackProbe() local
1356 NextMBB = SystemZ::splitBlockBefore(StackAllocMI, &MBB); in inlineStackProbe()
1357 MBB.addSuccessor(NextMBB); in inlineStackProbe()
1361 BuildMI(StackExtMBB, DL, ZII->get(SystemZ::J)).addMBB(NextMBB); in inlineStackProbe()
1362 StackExtMBB->addSuccessor(NextMBB); in inlineStackProbe()
1367 recomputeLiveIns(*NextMBB); in inlineStackProbe()
H A DSystemZISelLowering.cpp8309 MachineBasicBlock *NextMBB = nullptr; in emitMemMemWrapper() local
8333 DoneMBB = SystemZ::emitBlockAfter(NextMBB); in emitMemMemWrapper()
8416 .addReg(NextDestReg).addMBB(NextMBB); in emitMemMemWrapper()
8420 .addReg(NextSrcReg).addMBB(NextMBB); in emitMemMemWrapper()
8423 .addReg(NextCountReg).addMBB(NextMBB); in emitMemMemWrapper()
8436 MBB->addSuccessor(NextMBB); in emitMemMemWrapper()
8448 MBB = NextMBB; in emitMemMemWrapper()
8478 .addReg(NextDestReg).addMBB(NextMBB); in emitMemMemWrapper()
8482 .addReg(NextSrcReg).addMBB(NextMBB); in emitMemMemWrapper()
8521 MBB->addSuccessor(NextMBB); in emitMemMemWrapper()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizer.cpp440 MachineBasicBlock *NextMBB = NextMI->getOperand(0).getMBB(); in processSwitches() local
441 assert(NextMBB != nullptr); in processSwitches()
443 if (NextMBB->front().getOpcode() != SPIRV::G_ICMP || in processSwitches()
444 (NextMBB->front().getOperand(2).isReg() && in processSwitches()
445 NextMBB->front().getOperand(2).getReg() != CmpReg)) in processSwitches()
446 DefaultMBBs[CmpReg] = NextMBB; in processSwitches()
H A DSPIRVInstructionSelector.cpp1279 MachineBasicBlock *NextMBB = I.getMF()->getBlockNumbered(NextMBBNum); in selectBranchCond() local
1283 .addMBB(NextMBB) in selectBranchCond()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1058 MachineBasicBlock *NextMBB, in emitBitTestCase() argument
1098 addSuccessorWithProb(SwitchBB, NextMBB, BranchProbToNext); in emitBitTestCase()
1112 if (NextMBB != SwitchBB->getNextNode()) in emitBitTestCase()
1113 MIB.buildBr(*NextMBB); in emitBitTestCase()
1162 MachineBasicBlock *NextMBB = nullptr; in lowerSwitchWorkItem() local
1165 NextMBB = &*BBI; in lowerSwitchWorkItem()
1185 if (I->Kind == CC_Range && I->MBB == NextMBB) { in lowerSwitchWorkItem()
3105 MachineBasicBlock *NextMBB; in finalizeBasicBlock() local
3109 NextMBB = BTB.Cases[j + 1].TargetBB; in finalizeBasicBlock()
3112 NextMBB = BTB.Default; in finalizeBasicBlock()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp1719 MachineBasicBlock *NextMBB; in FinishBasicBlock() local
1723 NextMBB = BTB.Cases[j + 1].TargetBB; in FinishBasicBlock()
1726 NextMBB = BTB.Default; in FinishBasicBlock()
1729 NextMBB = BTB.Cases[j + 1].ThisBB; in FinishBasicBlock()
1732 SDB->visitBitTestCase(BTB, NextMBB, UnhandledProb, BTB.Reg, BTB.Cases[j], in FinishBasicBlock()
H A DSelectionDAGBuilder.h473 void visitBitTestCase(SwitchCG::BitTestBlock &BB, MachineBasicBlock *NextMBB,
H A DSelectionDAGBuilder.cpp2829 MachineBasicBlock* NextMBB, in visitBitTestCase() argument
2869 addSuccessorWithProb(SwitchBB, NextMBB, BranchProbToNext); in visitBitTestCase()
2880 if (NextMBB != NextBlock(SwitchBB)) in visitBitTestCase()
2882 DAG.getBasicBlock(NextMBB)); in visitBitTestCase()
10750 MachineBasicBlock *NextMBB = nullptr; in lowerWorkItem() local
10753 NextMBB = &*BBI; in lowerWorkItem()
10832 if (I->Kind == CC_Range && I->MBB == NextMBB) { in lowerWorkItem()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h350 void emitBitTestCase(SwitchCG::BitTestBlock &BB, MachineBasicBlock *NextMBB,
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp3255 MachineFunction::iterator NextMBB = std::next(Parent->getIterator()); in verifyCFIntrinsic() local
3256 if (NextMBB == Parent->getParent()->end()) // Illegal intrinsic use. in verifyCFIntrinsic()
3258 UncondBrTarget = &*NextMBB; in verifyCFIntrinsic()