| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | LexicalScopesTest.cpp | 94 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 D | RegAllocScoreTest.cpp | 138 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 D | InstrRefLDVTest.cpp | 261 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 D | BranchFolding.cpp | 330 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 D | IfConversion.cpp | 833 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 D | SplitKit.cpp | 978 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 D | MachineSink.cpp | 772 if (MachineBasicBlock *MBB2 = in isProfitableToSinkTo() local 774 return isProfitableToSinkTo(Reg, MI, SuccToSinkTo, MBB2, AllSuccessors); in isProfitableToSinkTo()
|
| H A D | LiveIntervals.cpp | 843 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 D | WebAssemblyExceptionInfoTest.cpp | 180 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 D | PPCMIPeephole.cpp | 1341 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 D | R600MachineCFGStructurizer.cpp | 1577 MachineBasicBlock *MBB2 = *std::next(MBB->succ_begin()); in removeRedundantConditionalBranch() local 1578 if (MBB1 != MBB2) in removeRedundantConditionalBranch()
|