/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | PartialInlining.cpp | 582 auto GetReturnBlock = [&](BasicBlock *Succ1, BasicBlock *Succ2) { in computeOutliningInfo() argument 584 return std::make_tuple(Succ1, Succ2); in computeOutliningInfo() 585 if (IsReturnBlock(Succ2)) in computeOutliningInfo() 586 return std::make_tuple(Succ2, Succ1); in computeOutliningInfo() 592 auto GetCommonSucc = [&](BasicBlock *Succ1, BasicBlock *Succ2) { in computeOutliningInfo() argument 593 if (IsSuccessor(Succ1, Succ2)) in computeOutliningInfo() 594 return std::make_tuple(Succ1, Succ2); in computeOutliningInfo() 595 if (IsSuccessor(Succ2, Succ1)) in computeOutliningInfo() 596 return std::make_tuple(Succ2, Succ1); in computeOutliningInfo() 617 BasicBlock *Succ2 = *(succ_begin(CurrEntry) + 1); in computeOutliningInfo() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | PartialInlining.cpp | 573 auto GetReturnBlock = [&](BasicBlock *Succ1, BasicBlock *Succ2) { in computeOutliningInfo() argument 575 return std::make_tuple(Succ1, Succ2); in computeOutliningInfo() 576 if (IsReturnBlock(Succ2)) in computeOutliningInfo() 577 return std::make_tuple(Succ2, Succ1); in computeOutliningInfo() 583 auto GetCommonSucc = [&](BasicBlock *Succ1, BasicBlock *Succ2) { in computeOutliningInfo() argument 584 if (IsSuccessor(Succ1, Succ2)) in computeOutliningInfo() 585 return std::make_tuple(Succ1, Succ2); in computeOutliningInfo() 586 if (IsSuccessor(Succ2, Succ1)) in computeOutliningInfo() 587 return std::make_tuple(Succ2, Succ1); in computeOutliningInfo() 608 BasicBlock *Succ2 = *(succ_begin(CurrEntry) + 1); in computeOutliningInfo() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineBlockPlacement.cpp | 1045 MachineBasicBlock *Succ2 = BestB.Dest; in getBestTrellisSuccessor() local 1047 if (allowTailDupPlacement() && shouldTailDuplicate(Succ2) && in getBestTrellisSuccessor() 1048 canTailDuplicateUnplacedPreds(BB, Succ2, Chain, BlockFilter) && in getBestTrellisSuccessor() 1049 isProfitableToTailDup(BB, Succ2, MBPI->getEdgeProbability(BB, Succ1), in getBestTrellisSuccessor() 1052 MBPI->getEdgeProbability(BB, Succ2), AdjustedSumProb); in getBestTrellisSuccessor() 1053 dbgs() << " Selected: " << getBlockName(Succ2) in getBestTrellisSuccessor() 1056 Result.BB = Succ2; in getBestTrellisSuccessor() 1316 const MachineBasicBlock *Succ2 = *(BB->succ_begin() + 1); in getLayoutSuccessorProbThreshold() local 1317 if (Succ1->isSuccessor(Succ2) || Succ2->isSuccessor(Succ1)) { in getLayoutSuccessorProbThreshold()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineBlockPlacement.cpp | 1078 MachineBasicBlock *Succ2 = BestB.Dest; in getBestTrellisSuccessor() local 1080 if (allowTailDupPlacement() && shouldTailDuplicate(Succ2) && in getBestTrellisSuccessor() 1081 canTailDuplicateUnplacedPreds(BB, Succ2, Chain, BlockFilter) && in getBestTrellisSuccessor() 1082 isProfitableToTailDup(BB, Succ2, MBPI->getEdgeProbability(BB, Succ1), in getBestTrellisSuccessor() 1085 MBPI->getEdgeProbability(BB, Succ2), AdjustedSumProb); in getBestTrellisSuccessor() 1086 dbgs() << " Selected: " << getBlockName(Succ2) in getBestTrellisSuccessor() 1089 Result.BB = Succ2; in getBestTrellisSuccessor() 1351 const MachineBasicBlock *Succ2 = *(BB->succ_begin() + 1); in getLayoutSuccessorProbThreshold() local 1352 if (Succ1->isSuccessor(Succ2) || Succ2->isSuccessor(Succ1)) { in getLayoutSuccessorProbThreshold()
|
/external/llvm/lib/CodeGen/ |
D | MachineBlockPlacement.cpp | 528 const MachineBasicBlock *Succ2 = *(BB->succ_begin() + 1); in getLayoutSuccessorProbThreshold() local 529 if (Succ1->isSuccessor(Succ2) || Succ2->isSuccessor(Succ1)) { in getLayoutSuccessorProbThreshold()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | ScheduleDAGRRList.cpp | 865 for (auto &Succ2 : SU->Succs) { in UnscheduleNodeBottomUp() local 866 if (Succ2.isAssignedRegDep() && Succ2.getReg() == Reg && in UnscheduleNodeBottomUp() 867 Succ2.getSUnit()->getHeight() < LiveRegGens[Reg]->getHeight()) in UnscheduleNodeBottomUp() 868 LiveRegGens[Reg] = Succ2.getSUnit(); in UnscheduleNodeBottomUp()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | ScheduleDAGRRList.cpp | 900 for (auto &Succ2 : SU->Succs) { in UnscheduleNodeBottomUp() local 901 if (Succ2.isAssignedRegDep() && Succ2.getReg() == Reg && in UnscheduleNodeBottomUp() 902 Succ2.getSUnit()->getHeight() < LiveRegGens[Reg]->getHeight()) in UnscheduleNodeBottomUp() 903 LiveRegGens[Reg] = Succ2.getSUnit(); in UnscheduleNodeBottomUp()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | ScheduleDAGRRList.cpp | 900 for (auto &Succ2 : SU->Succs) { in UnscheduleNodeBottomUp() local 901 if (Succ2.isAssignedRegDep() && Succ2.getReg() == Reg && in UnscheduleNodeBottomUp() 902 Succ2.getSUnit()->getHeight() < LiveRegGens[Reg]->getHeight()) in UnscheduleNodeBottomUp() 903 LiveRegGens[Reg] = Succ2.getSUnit(); in UnscheduleNodeBottomUp()
|