Home
last modified time | relevance | path

Searched refs:CAlgo (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/bolt/include/bolt/Passes/
H A DReorderAlgorithm.h159 std::unique_ptr<ClusterAlgorithm> CAlgo;
164 : CAlgo(std::move(CAlgo)) {} in ReorderAlgorithm()
173 void setClusterAlgorithm(ClusterAlgorithm *CAlgo) { in setClusterAlgorithm() argument
174 this->CAlgo.reset(CAlgo); in setClusterAlgorithm()
197 : ReorderAlgorithm(std::move(CAlgo)) {} in OptimizeReorderAlgorithm()
209 std::unique_ptr<ClusterAlgorithm> CAlgo) in OptimizeBranchReorderAlgorithm() argument
210 : ReorderAlgorithm(std::move(CAlgo)) {} in OptimizeBranchReorderAlgorithm()
222 std::unique_ptr<ClusterAlgorithm> CAlgo) in OptimizeCacheReorderAlgorithm() argument
223 : ReorderAlgorithm(std::move(CAlgo)) {} in OptimizeCacheReorderAlgorithm()
247 std::unique_ptr<ClusterAlgorithm> CAlgo) in RandomClusterReorderAlgorithm() argument
[all …]
/llvm-project-15.0.7/bolt/lib/Passes/
H A DReorderAlgorithm.cpp510 CAlgo->clusterBasicBlocks(BF); in reorderBasicBlocks()
513 CAlgo->printClusters(); in reorderBasicBlocks()
526 CAlgo->clusterBasicBlocks(BF, /* ComputeEdges = */ true); in reorderBasicBlocks()
529 CAlgo->ClusterEdges; in reorderBasicBlocks()
533 std::vector<double> &AvgFreq = CAlgo->AvgFreq; in reorderBasicBlocks()
536 CAlgo->printClusters(); in reorderBasicBlocks()
635 CAlgo->clusterBasicBlocks(BF); in reorderBasicBlocks()
640 std::vector<double> &AvgFreq = CAlgo->AvgFreq; in reorderBasicBlocks()
643 CAlgo->printClusters(); in reorderBasicBlocks()
696 CAlgo->clusterBasicBlocks(BF); in reorderBasicBlocks()
[all …]
H A DBinaryPasses.cpp469 std::unique_ptr<ClusterAlgorithm> CAlgo; in modifyFunctionLayout() local
471 CAlgo.reset(new MinBranchGreedyClusterAlgorithm()); in modifyFunctionLayout()
473 CAlgo.reset(new PHGreedyClusterAlgorithm()); in modifyFunctionLayout()
477 Algo.reset(new OptimizeReorderAlgorithm(std::move(CAlgo))); in modifyFunctionLayout()
481 Algo.reset(new OptimizeBranchReorderAlgorithm(std::move(CAlgo))); in modifyFunctionLayout()
485 Algo.reset(new OptimizeCacheReorderAlgorithm(std::move(CAlgo))); in modifyFunctionLayout()
493 Algo.reset(new RandomClusterReorderAlgorithm(std::move(CAlgo))); in modifyFunctionLayout()