Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DBranchFolding.cpp331 MachineBasicBlock *MBB2, in ComputeCommonTailLength() argument
335 I2 = MBB2->end(); in ComputeCommonTailLength()
338 while (I1 != MBB1->begin() && I2 != MBB2->begin()) { in ComputeCommonTailLength()
344 if (I2==MBB2->begin()) in ComputeCommonTailLength()
357 if (I2==MBB2->begin()) { in ComputeCommonTailLength()
381 if (I1 == MBB1->begin() && I2 != MBB2->begin()) { in ComputeCommonTailLength()
384 if (I2 == MBB2->begin()) in ComputeCommonTailLength()
390 if (I2 == MBB2->begin() && I1 != MBB1->begin()) { in ComputeCommonTailLength()
595 ProfitableToMerge(MachineBasicBlock *MBB1, MachineBasicBlock *MBB2, in ProfitableToMerge() argument
605 auto Funclet2 = FuncletMembership.find(MBB2); in ProfitableToMerge()
[all …]
DMachineSink.cpp527 if (MachineBasicBlock *MBB2 = in isProfitableToSinkTo() local
529 return isProfitableToSinkTo(Reg, MI, SuccToSinkTo, MBB2, AllSuccessors); in isProfitableToSinkTo()
DSplitKit.cpp776 MachineBasicBlock *MBB2 = LIS.getMBBFromIndex((*It2)->def); in computeRedundantBackCopies() local
777 if (MBB1 == MBB2) { in computeRedundantBackCopies()
779 } else if (MDT.dominates(MBB1, MBB2)) { in computeRedundantBackCopies()
781 } else if (MDT.dominates(MBB2, MBB1)) { in computeRedundantBackCopies()
DLiveIntervalAnalysis.cpp798 MachineBasicBlock *MBB2 = Indexes->getMBBFromIndex(Stop); in intervalIsInOneMBB() local
799 return MBB1 == MBB2 ? MBB1 : nullptr; in intervalIsInOneMBB()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DBranchFolding.cpp336 MachineBasicBlock *MBB2, in ComputeCommonTailLength() argument
340 MachineBasicBlock::iterator MBBI2 = MBB2->end(); in ComputeCommonTailLength()
345 MBBI2 = skipBackwardPastNonInstructions(MBBI2, MBB2); in ComputeCommonTailLength()
346 if (MBBI1 == MBB1->end() || MBBI2 == MBB2->end()) in ComputeCommonTailLength()
587 ProfitableToMerge(MachineBasicBlock *MBB1, MachineBasicBlock *MBB2, in ProfitableToMerge() argument
600 auto EHScope2 = EHScopeMembership.find(MBB2); in ProfitableToMerge()
606 CommonTailLen = ComputeCommonTailLength(MBB1, MBB2, I1, I2); in ProfitableToMerge()
610 << " and " << printMBBReference(*MBB2) << " is " in ProfitableToMerge()
618 if (skipDebugInstructionsForward(MBB2->begin(), MBB2->end()) == I2) in ProfitableToMerge()
619 I2 = MBB2->begin(); in ProfitableToMerge()
[all …]
DIfConversion.cpp840 MachineBasicBlock *MBB2) { in verifySameBranchInstructions() argument
842 const MachineBasicBlock::reverse_iterator B2 = MBB2->rend(); in verifySameBranchInstructions()
844 MachineBasicBlock::reverse_iterator E2 = MBB2->rbegin(); in verifySameBranchInstructions()
1821 MachineBasicBlock &MBB2 = *BBI2->BB; in IfConvertDiamondCommon() local
1832 Redefs.addLiveIns(MBB2); in IfConvertDiamondCommon()
1838 MachineBasicBlock::iterator DI2 = MBB2.getFirstNonDebugInstr(); in IfConvertDiamondCommon()
1855 MBB2.getParent()->eraseCallSiteInfo(&*DI2); in IfConvertDiamondCommon()
1858 if (DI2 == MBB2.end()) in IfConvertDiamondCommon()
1872 MBB2.erase(MBB2.begin(), DI2); in IfConvertDiamondCommon()
1883 verifySameBranchInstructions(&MBB1, &MBB2); in IfConvertDiamondCommon()
[all …]
DSplitKit.cpp977 MachineBasicBlock *MBB2 = LIS.getMBBFromIndex((*It2)->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()
DMachineSink.cpp596 if (MachineBasicBlock *MBB2 = in isProfitableToSinkTo() local
598 return isProfitableToSinkTo(Reg, MI, SuccToSinkTo, MBB2, AllSuccessors); in isProfitableToSinkTo()
DLiveIntervals.cpp844 MachineBasicBlock *MBB2 = Indexes->getMBBFromIndex(Stop); in intervalIsInOneMBB() local
845 return MBB1 == MBB2 ? MBB1 : nullptr; in intervalIsInOneMBB()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCMIPeephole.cpp1240 for (MachineBasicBlock &MBB2 : *MF) { in eliminateRedundantCompare()
1270 if (!eligibleForCompareElimination(MBB2, MBB1, MBBtoMoveCmp, MRI)) in eliminateRedundantCompare()
1276 MachineInstr *BI2 = &*MBB2.getFirstInstrTerminator(); in eliminateRedundantCompare()
1325 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1327 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1349 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1445 if (Inst->getParent() != &MBB2) in eliminateRedundantCompare()
1455 MBBtoMoveCmp->splice(I, &MBB2, MachineBasicBlock::iterator(CMPI2)); in eliminateRedundantCompare()
1459 BuildMI(MBB2, MBB2.begin(), DL, in eliminateRedundantCompare()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp1614 MachineBasicBlock *MBB2 = *std::next(MBB->succ_begin()); in removeRedundantConditionalBranch() local
1615 if (MBB1 != MBB2) in removeRedundantConditionalBranch()
/external/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp1672 MachineBasicBlock *MBB2 = *std::next(MBB->succ_begin()); in removeRedundantConditionalBranch() local
1673 if (MBB1 != MBB2) in removeRedundantConditionalBranch()