Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DBranchFolding.cpp308 MachineBasicBlock *MBB2, in ComputeCommonTailLength() argument
312 I2 = MBB2->end(); in ComputeCommonTailLength()
315 while (I1 != MBB1->begin() && I2 != MBB2->begin()) { in ComputeCommonTailLength()
321 if (I2==MBB2->begin()) { in ComputeCommonTailLength()
335 if (I2==MBB2->begin()) { in ComputeCommonTailLength()
359 if (I1 == MBB1->begin() && I2 != MBB2->begin()) { in ComputeCommonTailLength()
362 if (I2 == MBB2->begin()) in ComputeCommonTailLength()
368 if (I2 == MBB2->begin() && I1 != MBB1->begin()) { in ComputeCommonTailLength()
404 while (I2 != MBB2->end() && I2->isCFIInstruction()) { in ComputeCommonTailLength()
633 ProfitableToMerge(MachineBasicBlock *MBB1, MachineBasicBlock *MBB2, in ProfitableToMerge() argument
[all …]
DIfConversion.cpp728 MachineBasicBlock *MBB2) { in verifySameBranchInstructions() argument
730 const MachineBasicBlock::reverse_iterator B2 = MBB2->rend(); in verifySameBranchInstructions()
732 MachineBasicBlock::reverse_iterator E2 = MBB2->rbegin(); in verifySameBranchInstructions()
1703 MachineBasicBlock &MBB2 = *BBI2->BB; in IfConvertDiamondCommon() local
1714 Redefs.addLiveIns(MBB2); in IfConvertDiamondCommon()
1720 MachineBasicBlock::iterator DI2 = MBB2.getFirstNonDebugInstr(); in IfConvertDiamondCommon()
1735 if (DI2 == MBB2.end()) in IfConvertDiamondCommon()
1749 MBB2.erase(MBB2.begin(), DI2); in IfConvertDiamondCommon()
1760 verifySameBranchInstructions(&MBB1, &MBB2); in IfConvertDiamondCommon()
1784 while (DI2 != MBB2.begin()) { in IfConvertDiamondCommon()
[all …]
DMachineSink.cpp568 if (MachineBasicBlock *MBB2 = in isProfitableToSinkTo() local
570 return isProfitableToSinkTo(Reg, MI, SuccToSinkTo, MBB2, AllSuccessors); in isProfitableToSinkTo()
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()
DLiveIntervals.cpp834 MachineBasicBlock *MBB2 = Indexes->getMBBFromIndex(Stop); in intervalIsInOneMBB() local
835 return MBB1 == MBB2 ? MBB1 : nullptr; in intervalIsInOneMBB()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DBranchFolding.cpp297 MachineBasicBlock *MBB2, in ComputeCommonTailLength() argument
301 I2 = MBB2->end(); in ComputeCommonTailLength()
304 while (I1 != MBB1->begin() && I2 != MBB2->begin()) { in ComputeCommonTailLength()
310 if (I2==MBB2->begin()) in ComputeCommonTailLength()
323 if (I2==MBB2->begin()) { in ComputeCommonTailLength()
347 if (I1 == MBB1->begin() && I2 != MBB2->begin()) { in ComputeCommonTailLength()
350 if (I2 == MBB2->begin()) { in ComputeCommonTailLength()
357 if (I2 == MBB2->begin() && I1 != MBB1->begin()) { in ComputeCommonTailLength()
516 MachineBasicBlock *MBB2, in ProfitableToMerge() argument
523 CommonTailLen = ComputeCommonTailLength(MBB1, MBB2, I1, I2); in ProfitableToMerge()
[all …]
/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-7.0/llvm/unittests/Target/WebAssembly/
DWebAssemblyExceptionInfoTest.cpp180 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()
521 auto *MBB2 = MF->getBlockNumbered(2); in TEST() local
522 WE0 = WEI.getExceptionFor(MBB2); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCMIPeephole.cpp1028 for (MachineBasicBlock &MBB2 : *MF) { in eliminateRedundantCompare()
1058 if (!eligibleForCompareElimination(MBB2, MBB1, MBBtoMoveCmp, MRI)) in eliminateRedundantCompare()
1064 MachineInstr *BI2 = &*MBB2.getFirstInstrTerminator(); in eliminateRedundantCompare()
1113 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1115 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1137 MBB1, &MBB2, MRI); in eliminateRedundantCompare()
1233 if (Inst->getParent() != &MBB2) in eliminateRedundantCompare()
1243 MBBtoMoveCmp->splice(I, &MBB2, MachineBasicBlock::iterator(CMPI2)); in eliminateRedundantCompare()
1247 BuildMI(MBB2, MBB2.begin(), DL, in eliminateRedundantCompare()
/external/swiftshader/third_party/llvm-7.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()