Home
last modified time | relevance | path

Searched refs:BestSavePos (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Passes/
H A DShrinkWrapping.cpp782 BestSavePos = std::vector<std::vector<MCInst *>>(BC.MRI->getNumRegs()); in computeSaveLocations()
822 BestSavePos[I].push_back(First); in computeSaveLocations()
842 std::stable_sort(BestSavePos[I].begin(), BestSavePos[I].end(), in computeSaveLocations()
851 for (MCInst *Pos : BestSavePos[I]) { in computeSaveLocations()
870 BestSavePos[A].size() ? InsnToBB[BestSavePos[A].back()] : nullptr; in computeDomOrder()
872 BestSavePos[B].size() ? InsnToBB[BestSavePos[B].back()] : nullptr; in computeDomOrder()
879 if (DA.doesADominateB(*BestSavePos[A].back(), *BestSavePos[B].back())) in computeDomOrder()
881 if (DA.doesADominateB(*BestSavePos[B].back(), *BestSavePos[A].back())) in computeDomOrder()
896 assert(BestSaveCount[CSR].size() == BestSavePos[CSR].size() && in isBestSavePosCold()
902 BestPosSave = BestSavePos[CSR].back(); in isBestSavePosCold()
[all …]
/llvm-project-15.0.7/bolt/include/bolt/Passes/
H A DShrinkWrapping.h308 std::vector<std::vector<MCInst *>> BestSavePos; variable