Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DBranchFolding.cpp325 MachineBasicBlock::iterator MBBI1 = MBB1->end(); in ComputeCommonTailLength()
551 auto EHScope1 = EHScopeMembership.find(MBB1); in ProfitableToMerge()
569 if (skipDebugInstructionsForward(MBB1->begin(), MBB1->end(), false) == I1) in ProfitableToMerge()
570 I1 = MBB1->begin(); in ProfitableToMerge()
574 bool FullBlockTail1 = I1 == MBB1->begin(); in ProfitableToMerge()
582 if ((MBB1 == PredBB || MBB2 == PredBB) && in ProfitableToMerge()
585 unsigned NumTerms = CountTerminators(MBB1 == PredBB ? MBB2 : MBB1, I); in ProfitableToMerge()
632 !MBB1->back().isBarrier() && in ProfitableToMerge()
644 MachineFunction *MF = MBB1->getParent(); in ProfitableToMerge()
1250 if (MBB1->isSuccessor(MBB2)) return true; in IsBetterFallthrough()
[all …]
H A DMachineCSE.cpp146 MachineBasicBlock *MBB1);
822 auto MBB1 = PREMap[MI]; in ProcessBlockPRE() local
824 !DT->properlyDominates(MBB, MBB1) && in ProcessBlockPRE()
826 auto CMBB = DT->findNearestCommonDominator(MBB, MBB1); in ProcessBlockPRE()
830 if (!isProfitableToHoistInto(CMBB, MBB, MBB1)) in ProcessBlockPRE()
835 if (CMBB != MBB1) { in ProcessBlockPRE()
836 auto BB = MBB->getBasicBlock(), BB1 = MBB1->getBasicBlock(); in ProcessBlockPRE()
901 MachineBasicBlock *MBB1) { in isProfitableToHoistInto() argument
905 assert(DT->dominates(CandidateBB, MBB1) && in isProfitableToHoistInto()
908 MBFI->getBlockFreq(MBB) + MBFI->getBlockFreq(MBB1); in isProfitableToHoistInto()
H A DIfConversion.cpp834 MachineBasicBlock *MBB1, in verifySameBranchInstructions() argument
1820 MachineBasicBlock &MBB1 = *BBI1->BB; in IfConvertDiamondCommon() local
1831 Redefs.addLiveIns(MBB1); in IfConvertDiamondCommon()
1846 if (DI1 == MBB1.end()) in IfConvertDiamondCommon()
1871 BBI.BB->splice(BBI.BB->end(), &MBB1, MBB1.begin(), DI1); in IfConvertDiamondCommon()
1883 verifySameBranchInstructions(&MBB1, &MBB2); in IfConvertDiamondCommon()
1887 DI1 = MBB1.end(); in IfConvertDiamondCommon()
1888 while (DI1 != MBB1.begin()) { in IfConvertDiamondCommon()
1897 assert(DI1 != MBB1.begin()); in IfConvertDiamondCommon()
1904 MBB1.getParent()->eraseCallSiteInfo(&*DI1); in IfConvertDiamondCommon()
[all …]
H A DSplitKit.cpp982 MachineBasicBlock *MBB1 = LIS.getMBBFromIndex((*It1)->def); in computeRedundantBackCopies() local
984 if (MBB1 == MBB2) { in computeRedundantBackCopies()
986 } else if (MDT.dominates(MBB1, MBB2)) { in computeRedundantBackCopies()
988 } else if (MDT.dominates(MBB2, MBB1)) { in computeRedundantBackCopies()
H A DLiveIntervals.cpp842 MachineBasicBlock *MBB1 = Indexes->getMBBFromIndex(Start); in intervalIsInOneMBB() local
844 return MBB1 == MBB2 ? MBB1 : nullptr; in intervalIsInOneMBB()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp1270 MachineBasicBlock *MBB1 = nullptr, *MBBtoMoveCmp = nullptr; in eliminateRedundantCompare() local
1299 if (!eligibleForCompareElimination(MBB2, MBB1, MBBtoMoveCmp, MRI)) in eliminateRedundantCompare()
1302 MachineInstr *BI1 = &*MBB1->getFirstInstrTerminator(); in eliminateRedundantCompare()
1354 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1356 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1378 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1490 .addReg(BI1->getOperand(1).getReg()).addMBB(MBB1) in eliminateRedundantCompare()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDILCFGStructurizer.cpp1588 MachineBasicBlock *MBB1 = *MBB->succ_begin(); in removeRedundantConditionalBranch() local
1590 if (MBB1 != MBB2) in removeRedundantConditionalBranch()
1597 SHOWNEWBLK(MBB1, "Removing redundant successor"); in removeRedundantConditionalBranch()
1598 MBB->removeSuccessor(MBB1, true); in removeRedundantConditionalBranch()