Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DBranchFolding.cpp335 static unsigned ComputeCommonTailLength(MachineBasicBlock *MBB1, in ComputeCommonTailLength() argument
339 MachineBasicBlock::iterator MBBI1 = MBB1->end(); in ComputeCommonTailLength()
344 MBBI1 = skipBackwardPastNonInstructions(MBBI1, MBB1); in ComputeCommonTailLength()
346 if (MBBI1 == MBB1->end() || MBBI2 == MBB2->end()) in ComputeCommonTailLength()
587 ProfitableToMerge(MachineBasicBlock *MBB1, MachineBasicBlock *MBB2, in ProfitableToMerge() argument
598 auto EHScope1 = EHScopeMembership.find(MBB1); in ProfitableToMerge()
606 CommonTailLen = ComputeCommonTailLength(MBB1, MBB2, I1, I2); in ProfitableToMerge()
609 LLVM_DEBUG(dbgs() << "Common tail length of " << printMBBReference(*MBB1) in ProfitableToMerge()
616 if (skipDebugInstructionsForward(MBB1->begin(), MBB1->end()) == I1) in ProfitableToMerge()
617 I1 = MBB1->begin(); in ProfitableToMerge()
[all …]
DMachineCSE.cpp145 MachineBasicBlock *MBB1);
807 auto MBB1 = PREMap[MI]; in ProcessBlockPRE() local
809 !DT->properlyDominates(MBB, MBB1) && in ProcessBlockPRE()
811 auto CMBB = DT->findNearestCommonDominator(MBB, MBB1); in ProcessBlockPRE()
815 if (!isProfitableToHoistInto(CMBB, MBB, MBB1)) in ProcessBlockPRE()
820 if (CMBB != MBB1) { in ProcessBlockPRE()
821 auto BB = MBB->getBasicBlock(), BB1 = MBB1->getBasicBlock(); in ProcessBlockPRE()
872 MachineBasicBlock *MBB1) { in isProfitableToHoistInto() argument
876 assert(DT->dominates(CandidateBB, MBB1) && in isProfitableToHoistInto()
879 MBFI->getBlockFreq(MBB) + MBFI->getBlockFreq(MBB1); in isProfitableToHoistInto()
DIfConversion.cpp839 MachineBasicBlock *MBB1, in verifySameBranchInstructions() argument
841 const MachineBasicBlock::reverse_iterator B1 = MBB1->rend(); in verifySameBranchInstructions()
843 MachineBasicBlock::reverse_iterator E1 = MBB1->rbegin(); in verifySameBranchInstructions()
1820 MachineBasicBlock &MBB1 = *BBI1->BB; in IfConvertDiamondCommon() local
1831 Redefs.addLiveIns(MBB1); in IfConvertDiamondCommon()
1837 MachineBasicBlock::iterator DI1 = MBB1.getFirstNonDebugInstr(); in IfConvertDiamondCommon()
1846 if (DI1 == MBB1.end()) in IfConvertDiamondCommon()
1865 for (const MachineInstr &MI : make_range(MBB1.begin(), DI1)) { in IfConvertDiamondCommon()
1871 BBI.BB->splice(BBI.BB->end(), &MBB1, MBB1.begin(), DI1); in IfConvertDiamondCommon()
1883 verifySameBranchInstructions(&MBB1, &MBB2); in IfConvertDiamondCommon()
[all …]
DSplitKit.cpp976 MachineBasicBlock *MBB1 = LIS.getMBBFromIndex((*It1)->def); in computeRedundantBackCopies() local
978 if (MBB1 == MBB2) { in computeRedundantBackCopies()
980 } else if (MDT.dominates(MBB1, MBB2)) { in computeRedundantBackCopies()
982 } else if (MDT.dominates(MBB2, MBB1)) { in computeRedundantBackCopies()
DLiveIntervals.cpp843 MachineBasicBlock *MBB1 = Indexes->getMBBFromIndex(Start); in intervalIsInOneMBB() local
845 return MBB1 == MBB2 ? MBB1 : nullptr; in intervalIsInOneMBB()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCMIPeephole.cpp1241 MachineBasicBlock *MBB1 = nullptr, *MBBtoMoveCmp = nullptr; in eliminateRedundantCompare() local
1270 if (!eligibleForCompareElimination(MBB2, MBB1, MBBtoMoveCmp, MRI)) in eliminateRedundantCompare()
1273 MachineInstr *BI1 = &*MBB1->getFirstInstrTerminator(); in eliminateRedundantCompare()
1325 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1327 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1349 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1461 .addReg(BI1->getOperand(1).getReg()).addMBB(MBB1) in eliminateRedundantCompare()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp1613 MachineBasicBlock *MBB1 = *MBB->succ_begin(); in removeRedundantConditionalBranch() local
1615 if (MBB1 != MBB2) in removeRedundantConditionalBranch()
1622 SHOWNEWBLK(MBB1, "Removing redundant successor"); in removeRedundantConditionalBranch()
1623 MBB->removeSuccessor(MBB1, true); in removeRedundantConditionalBranch()