Home
last modified time | relevance | path

Searched refs:MBB2 (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DLexicalScopesTest.cpp94 MBB1->addSuccessor(MBB2); in LexicalScopesTest()
132 BuildMI(*MBB2, MBB2->end(), OutermostLoc, BeanInst); in TEST_F()
179 BuildMI(*MBB2, MBB2->end(), InBlockLoc, BeanInst); in TEST_F()
214 BuildMI(*MBB2, MBB2->end(), InlinedLoc, BeanInst); in TEST_F()
249 BuildMI(*MBB2, MBB2->end(), DebugLoc(), BeanInst); in TEST_F()
270 BuildMI(*MBB2, MBB2->end(), OutermostLoc, BeanInst); in TEST_F()
302 BuildMI(*MBB2, MBB2->end(), NotNestedBlockLoc, BeanInst); in TEST_F()
341 BuildMI(*MBB2, MBB2->end(), NotNestedBlockLoc, BeanInst); in TEST_F()
383 BuildMI(*MBB2, MBB2->end(), NotNestedBlockLoc, BeanInst); in TEST_F()
437 BuildMI(*MBB2, MBB2->end(), OutermostLoc, BeanInst); in TEST_F()
[all …]
H A DRegAllocScoreTest.cpp138 auto *MBB2 = MF->CreateMachineBasicBlock(); in TEST() local
140 MF->insert(MF->end(), MBB2); in TEST()
146 if (&MBB == MBB2) in TEST()
157 Next = MBB2->end(); in TEST()
158 Next = MBB2->insertAfter(Next, createMockLoad(*MF)); in TEST()
159 Next = MBB2->insertAfter(Next, createMockStore(*MF)); in TEST()
160 Next = MBB2->insertAfter(Next, createMockLoadStore(*MF)); in TEST()
162 MBB2->insertAfter(Next, ExpensiveRemat); in TEST()
H A DInstrRefLDVTest.cpp261 MBB0->addSuccessor(MBB2); in setupDiamondBlocks()
263 MBB2->addSuccessor(MBB3); in setupDiamondBlocks()
292 MBB1->addSuccessor(MBB2); in setupSimpleLoop()
334 MBB1->addSuccessor(MBB2); in setupNestedLoops()
335 MBB2->addSuccessor(MBB2); in setupNestedLoops()
336 MBB2->addSuccessor(MBB3); in setupNestedLoops()
378 MBB0->addSuccessor(MBB2); in setupNoDominatingLoop()
430 MBB2->addSuccessor(MBB2); in setupBadlyNestedLoops()
2175 AllBlocks.insert(MBB2); in TEST_F()
2331 AllBlocks.insert(MBB2); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DBranchFolding.cpp330 MachineBasicBlock::iterator MBBI2 = MBB2->end(); in ComputeCommonTailLength()
336 if (MBBI1 == MBB1->end() || MBBI2 == MBB2->end()) in ComputeCommonTailLength()
557 auto EHScope2 = EHScopeMembership.find(MBB2); in ProfitableToMerge()
575 if (skipDebugInstructionsForward(MBB2->begin(), MBB2->end(), false) == I2) in ProfitableToMerge()
576 I2 = MBB2->begin(); in ProfitableToMerge()
579 bool FullBlockTail2 = I2 == MBB2->begin(); in ProfitableToMerge()
586 if ((MBB1 == PredBB || MBB2 == PredBB) && in ProfitableToMerge()
634 if (SuccBB && MBB1 != PredBB && MBB2 != PredBB && in ProfitableToMerge()
637 !MBB2->back().isBarrier()) in ProfitableToMerge()
1253 if (MBB1->isSuccessor(MBB2)) return true; in IsBetterFallthrough()
[all …]
H A DIfConversion.cpp833 MachineBasicBlock *MBB2) { in verifySameBranchInstructions() argument
1819 MachineBasicBlock &MBB2 = *BBI2->BB; in IfConvertDiamondCommon() local
1830 Redefs.addLiveInsNoPristines(MBB2); in IfConvertDiamondCommon()
1853 MBB2.getParent()->eraseCallSiteInfo(&*DI2); in IfConvertDiamondCommon()
1856 if (DI2 == MBB2.end()) in IfConvertDiamondCommon()
1870 MBB2.erase(MBB2.begin(), DI2); in IfConvertDiamondCommon()
1881 verifySameBranchInstructions(&MBB1, &MBB2); in IfConvertDiamondCommon()
1918 while (DI2 != MBB2.begin()) { in IfConvertDiamondCommon()
1928 assert(DI2 != MBB2.begin()); in IfConvertDiamondCommon()
1945 if (TII->isProfitableToUnpredicate(MBB1, MBB2)) { in IfConvertDiamondCommon()
[all …]
H A DSplitKit.cpp978 MachineBasicBlock *MBB2 = LIS.getMBBFromIndex((*It2)->def); in computeRedundantBackCopies() local
979 if (MBB1 == MBB2) { in computeRedundantBackCopies()
981 } else if (MDT.dominates(MBB1, MBB2)) { in computeRedundantBackCopies()
983 } else if (MDT.dominates(MBB2, MBB1)) { in computeRedundantBackCopies()
H A DMachineSink.cpp772 if (MachineBasicBlock *MBB2 = in isProfitableToSinkTo() local
774 return isProfitableToSinkTo(Reg, MI, SuccToSinkTo, MBB2, AllSuccessors); in isProfitableToSinkTo()
H A DLiveIntervals.cpp843 MachineBasicBlock *MBB2 = Indexes->getMBBFromIndex(Stop); in intervalIsInOneMBB() local
844 return MBB1 == MBB2 ? MBB1 : nullptr; in intervalIsInOneMBB()
/llvm-project-15.0.7/llvm/unittests/Target/WebAssembly/
H A DWebAssemblyExceptionInfoTest.cpp180 auto *MBB2 = MF->getBlockNumbered(2); in TEST() local
181 auto *WE0 = WEI.getExceptionFor(MBB2); in TEST()
183 EXPECT_EQ(WE0->getEHPad(), MBB2); in TEST()
362 auto *MBB2 = MF->getBlockNumbered(2); in TEST() local
363 WE0 = WEI.getExceptionFor(MBB2); in TEST()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp1341 for (MachineBasicBlock &MBB2 : *MF) { in eliminateRedundantCompare()
1371 if (!eligibleForCompareElimination(MBB2, MBB1, MBBtoMoveCmp, MRI)) in eliminateRedundantCompare()
1377 MachineInstr *BI2 = &*MBB2.getFirstInstrTerminator(); in eliminateRedundantCompare()
1426 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1428 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1450 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1546 if (Inst->getParent() != &MBB2) in eliminateRedundantCompare()
1556 MBBtoMoveCmp->splice(I, &MBB2, MachineBasicBlock::iterator(CMPI2)); in eliminateRedundantCompare()
1560 BuildMI(MBB2, MBB2.begin(), DL, in eliminateRedundantCompare()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DR600MachineCFGStructurizer.cpp1577 MachineBasicBlock *MBB2 = *std::next(MBB->succ_begin()); in removeRedundantConditionalBranch() local
1578 if (MBB1 != MBB2) in removeRedundantConditionalBranch()