LLVM 20.0.0git
|
#include "llvm/Support/BalancedPartitioning.h"
Public Member Functions | |
BalancedPartitioning (const BalancedPartitioningConfig &Config) | |
void | run (std::vector< BPFunctionNode > &Nodes) const |
Run recursive graph partitioning that optimizes a given objective. | |
Static Protected Member Functions | |
static float | moveGain (const BPFunctionNode &N, bool FromLeftToRight, const SignaturesT &Signatures) |
Compute the move gain for uniform log-gap cost. | |
Friends | |
class | BalancedPartitioningTest_MoveGain_Test |
Definition at line 100 of file BalancedPartitioning.h.
BalancedPartitioning::BalancedPartitioning | ( | const BalancedPartitioningConfig & | Config | ) |
Definition at line 70 of file BalancedPartitioning.cpp.
References I.
|
staticprotected |
Compute the move gain for uniform log-gap cost.
Definition at line 318 of file BalancedPartitioning.cpp.
References N, and Signatures.
void BalancedPartitioning::run | ( | std::vector< BPFunctionNode > & | Nodes | ) | const |
Run recursive graph partitioning that optimizes a given objective.
Definition at line 79 of file BalancedPartitioning.cpp.
References llvm::dbgs(), llvm::format(), I, llvm::BalancedPartitioningConfig::IterationsPerSplit, LLVM_DEBUG, llvm::make_range(), llvm::BalancedPartitioningConfig::SplitDepth, llvm::stable_sort(), and llvm::BalancedPartitioningConfig::TaskSplitDepth.
|
friend |
Definition at line 197 of file BalancedPartitioning.h.