Home
last modified time | relevance | path

Searched refs:MBB1 (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DBranchFolding.cpp329 MachineBasicBlock::iterator MBBI1 = MBB1->end(); in ComputeCommonTailLength()
549 auto EHScope1 = EHScopeMembership.find(MBB1); in ProfitableToMerge()
567 if (skipDebugInstructionsForward(MBB1->begin(), MBB1->end(), false) == I1) in ProfitableToMerge()
568 I1 = MBB1->begin(); in ProfitableToMerge()
572 bool FullBlockTail1 = I1 == MBB1->begin(); in ProfitableToMerge()
580 if ((MBB1 == PredBB || MBB2 == PredBB) && in ProfitableToMerge()
583 unsigned NumTerms = CountTerminators(MBB1 == PredBB ? MBB2 : MBB1, I); in ProfitableToMerge()
630 !MBB1->back().isBarrier() && in ProfitableToMerge()
642 MachineFunction *MF = MBB1->getParent(); in ProfitableToMerge()
1255 if (MBB1->isSuccessor(MBB2)) return true; in IsBetterFallthrough()
[all …]
H A DMachineCSE.cpp158 MachineBasicBlock *MBB1);
840 auto MBB1 = PREMap[&MI]; in ProcessBlockPRE() local
842 !DT->properlyDominates(MBB, MBB1) && in ProcessBlockPRE()
844 auto CMBB = DT->findNearestCommonDominator(MBB, MBB1); in ProcessBlockPRE()
848 if (!isProfitableToHoistInto(CMBB, MBB, MBB1)) in ProcessBlockPRE()
853 if (CMBB != MBB1) { in ProcessBlockPRE()
854 auto BB = MBB->getBasicBlock(), BB1 = MBB1->getBasicBlock(); in ProcessBlockPRE()
928 MachineBasicBlock *MBB1) { in isProfitableToHoistInto() argument
932 assert(DT->dominates(CandidateBB, MBB1) && in isProfitableToHoistInto()
935 MBFI->getBlockFreq(MBB) + MBFI->getBlockFreq(MBB1); in isProfitableToHoistInto()
H A DIfConversion.cpp828 MachineBasicBlock *MBB1, in verifySameBranchInstructions() argument
1804 MachineBasicBlock &MBB1 = *BBI1->BB; in IfConvertDiamondCommon() local
1815 Redefs.addLiveInsNoPristines(MBB1); in IfConvertDiamondCommon()
1830 if (DI1 == MBB1.end()) in IfConvertDiamondCommon()
1855 BBI.BB->splice(BBI.BB->end(), &MBB1, MBB1.begin(), DI1); in IfConvertDiamondCommon()
1867 verifySameBranchInstructions(&MBB1, &MBB2); in IfConvertDiamondCommon()
1871 DI1 = MBB1.end(); in IfConvertDiamondCommon()
1872 while (DI1 != MBB1.begin()) { in IfConvertDiamondCommon()
1881 assert(DI1 != MBB1.begin()); in IfConvertDiamondCommon()
1888 MBB1.getParent()->eraseCallSiteInfo(&*DI1); in IfConvertDiamondCommon()
[all …]
H A DSplitKit.cpp990 MachineBasicBlock *MBB1 = LIS.getMBBFromIndex((*It1)->def); in computeRedundantBackCopies() local
992 if (MBB1 == MBB2) { in computeRedundantBackCopies()
994 } else if (MDT.dominates(MBB1, MBB2)) { in computeRedundantBackCopies()
996 } else if (MDT.dominates(MBB2, MBB1)) { in computeRedundantBackCopies()
H A DLiveIntervals.cpp830 MachineBasicBlock *MBB1 = Indexes->getMBBFromIndex(Start); in intervalIsInOneMBB() local
832 return MBB1 == MBB2 ? MBB1 : nullptr; in intervalIsInOneMBB()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp1611 MachineBasicBlock *MBB1 = nullptr, *MBBtoMoveCmp = nullptr; in eliminateRedundantCompare() local
1640 if (!eligibleForCompareElimination(MBB2, MBB1, MBBtoMoveCmp, MRI)) in eliminateRedundantCompare()
1643 MachineInstr *BI1 = &*MBB1->getFirstInstrTerminator(); in eliminateRedundantCompare()
1695 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1697 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1719 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1838 .addReg(BI1->getOperand(1).getReg()).addMBB(MBB1) in eliminateRedundantCompare()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600MachineCFGStructurizer.cpp1576 MachineBasicBlock *MBB1 = *MBB->succ_begin(); in removeRedundantConditionalBranch() local
1578 if (MBB1 != MBB2) in removeRedundantConditionalBranch()
1585 SHOWNEWBLK(MBB1, "Removing redundant successor"); in removeRedundantConditionalBranch()
1586 MBB->removeSuccessor(MBB1, true); in removeRedundantConditionalBranch()