Searched refs:MBB1 (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | BranchFolding.cpp | 296 static unsigned ComputeCommonTailLength(MachineBasicBlock *MBB1, in ComputeCommonTailLength() argument 300 I1 = MBB1->end(); in ComputeCommonTailLength() 304 while (I1 != MBB1->begin() && I2 != MBB2->begin()) { in ComputeCommonTailLength() 308 if (I1==MBB1->begin()) { in ComputeCommonTailLength() 347 if (I1 == MBB1->begin() && I2 != MBB2->begin()) { in ComputeCommonTailLength() 357 if (I2 == MBB2->begin() && I1 != MBB1->begin()) { in ComputeCommonTailLength() 360 if (I1 == MBB1->begin()) in ComputeCommonTailLength() 515 static bool ProfitableToMerge(MachineBasicBlock *MBB1, in ProfitableToMerge() argument 523 CommonTailLen = ComputeCommonTailLength(MBB1, MBB2, I1, I2); in ProfitableToMerge() 526 DEBUG(dbgs() << "Common tail length of BB#" << MBB1->getNumber() in ProfitableToMerge() [all …]
|
/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/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()
|