/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Target/WebAssembly/ |
D | WebAssemblyExceptionInfoTest.cpp | 355 auto *MBB1 = MF->getBlockNumbered(1); in TEST() local 356 auto *WE0 = WEI.getExceptionFor(MBB1); in TEST() 358 EXPECT_EQ(WE0->getEHPad(), MBB1); in TEST() 365 EXPECT_EQ(WE0->getEHPad(), MBB1); in TEST() 370 EXPECT_EQ(WE0->getEHPad(), MBB1); in TEST() 375 EXPECT_EQ(WE0->getEHPad(), MBB1); in TEST() 514 auto *MBB1 = MF->getBlockNumbered(1); in TEST() local 515 auto *WE0 = WEI.getExceptionFor(MBB1); in TEST() 517 EXPECT_EQ(WE0->getEHPad(), MBB1); in TEST() 524 EXPECT_EQ(WE0->getEHPad(), MBB1); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 307 static unsigned ComputeCommonTailLength(MachineBasicBlock *MBB1, in ComputeCommonTailLength() argument 311 I1 = MBB1->end(); in ComputeCommonTailLength() 315 while (I1 != MBB1->begin() && I2 != MBB2->begin()) { in ComputeCommonTailLength() 319 if (I1==MBB1->begin()) { in ComputeCommonTailLength() 359 if (I1 == MBB1->begin() && I2 != MBB2->begin()) { in ComputeCommonTailLength() 368 if (I2 == MBB2->begin() && I1 != MBB1->begin()) { in ComputeCommonTailLength() 371 if (I1 == MBB1->begin()) in ComputeCommonTailLength() 400 while (I1 != MBB1->end() && I1->isCFIInstruction()) { in ComputeCommonTailLength() 633 ProfitableToMerge(MachineBasicBlock *MBB1, MachineBasicBlock *MBB2, in ProfitableToMerge() argument 642 auto EHScope1 = EHScopeMembership.find(MBB1); in ProfitableToMerge() [all …]
|
D | IfConversion.cpp | 727 MachineBasicBlock *MBB1, in verifySameBranchInstructions() argument 729 const MachineBasicBlock::reverse_iterator B1 = MBB1->rend(); in verifySameBranchInstructions() 731 MachineBasicBlock::reverse_iterator E1 = MBB1->rbegin(); in verifySameBranchInstructions() 1702 MachineBasicBlock &MBB1 = *BBI1->BB; in IfConvertDiamondCommon() local 1713 Redefs.addLiveIns(MBB1); in IfConvertDiamondCommon() 1719 MachineBasicBlock::iterator DI1 = MBB1.getFirstNonDebugInstr(); in IfConvertDiamondCommon() 1728 if (DI1 == MBB1.end()) in IfConvertDiamondCommon() 1742 for (const MachineInstr &MI : make_range(MBB1.begin(), DI1)) { in IfConvertDiamondCommon() 1748 BBI.BB->splice(BBI.BB->end(), &MBB1, MBB1.begin(), DI1); in IfConvertDiamondCommon() 1760 verifySameBranchInstructions(&MBB1, &MBB2); in IfConvertDiamondCommon() [all …]
|
D | SplitKit.cpp | 976 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()
|
D | LiveIntervals.cpp | 833 MachineBasicBlock *MBB1 = Indexes->getMBBFromIndex(Start); in intervalIsInOneMBB() local 835 return MBB1 == MBB2 ? MBB1 : nullptr; in intervalIsInOneMBB()
|
/external/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 330 static unsigned ComputeCommonTailLength(MachineBasicBlock *MBB1, in ComputeCommonTailLength() argument 334 I1 = MBB1->end(); in ComputeCommonTailLength() 338 while (I1 != MBB1->begin() && I2 != MBB2->begin()) { in ComputeCommonTailLength() 342 if (I1==MBB1->begin()) { in ComputeCommonTailLength() 381 if (I1 == MBB1->begin() && I2 != MBB2->begin()) { in ComputeCommonTailLength() 390 if (I2 == MBB2->begin() && I1 != MBB1->begin()) { in ComputeCommonTailLength() 393 if (I1 == MBB1->begin()) in ComputeCommonTailLength() 595 ProfitableToMerge(MachineBasicBlock *MBB1, MachineBasicBlock *MBB2, in ProfitableToMerge() argument 603 auto Funclet1 = FuncletMembership.find(MBB1); in ProfitableToMerge() 611 CommonTailLen = ComputeCommonTailLength(MBB1, MBB2, I1, I2); in ProfitableToMerge() [all …]
|
D | SplitKit.cpp | 775 MachineBasicBlock *MBB1 = LIS.getMBBFromIndex((*It1)->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()
|
D | LiveIntervalAnalysis.cpp | 797 MachineBasicBlock *MBB1 = Indexes->getMBBFromIndex(Start); in intervalIsInOneMBB() local 799 return MBB1 == MBB2 ? MBB1 : nullptr; in intervalIsInOneMBB()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCMIPeephole.cpp | 1029 MachineBasicBlock *MBB1 = nullptr, *MBBtoMoveCmp = nullptr; in eliminateRedundantCompare() local 1058 if (!eligibleForCompareElimination(MBB2, MBB1, MBBtoMoveCmp, MRI)) in eliminateRedundantCompare() 1061 MachineInstr *BI1 = &*MBB1->getFirstInstrTerminator(); in eliminateRedundantCompare() 1113 MBB1, &MBB2, MRI); in eliminateRedundantCompare() 1115 MBB1, &MBB2, MRI); in eliminateRedundantCompare() 1137 MBB1, &MBB2, MRI); in eliminateRedundantCompare() 1249 .addReg(BI1->getOperand(1).getReg()).addMBB(MBB1) in eliminateRedundantCompare()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIFixSGPRCopies.cpp | 634 MachineBasicBlock *MBB1 = MI.getOperand(4).getMBB(); in runOnMachineFunction() local 637 !predsHasDivergentTerminator(MBB1, TRI)) { in runOnMachineFunction()
|
D | AMDILCFGStructurizer.cpp | 1613 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()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 1671 MachineBasicBlock *MBB1 = *MBB->succ_begin(); in removeRedundantConditionalBranch() local 1673 if (MBB1 != MBB2) in removeRedundantConditionalBranch() 1680 SHOWNEWBLK(MBB1, "Removing redundant successor"); in removeRedundantConditionalBranch() 1681 MBB->removeSuccessor(MBB1, true); in removeRedundantConditionalBranch()
|