Lines Matching defs:BalancedPartitioning
1 //===- BalancedPartitioning.cpp -------------------------------------------===//
9 // This file implements BalancedPartitioning, a recursive balanced graph
14 #include "llvm/Support/BalancedPartitioning.h"
29 void BalancedPartitioning::BPThreadPool::async(Func &&F) {
53 void BalancedPartitioning::BPThreadPool::wait() {
69 BalancedPartitioning::BalancedPartitioning(
78 void BalancedPartitioning::run(std::vector<BPFunctionNode> &Nodes) const {
112 void BalancedPartitioning::bisect(const FunctionNodeRange Nodes,
165 void BalancedPartitioning::runIterations(const FunctionNodeRange Nodes,
208 unsigned BalancedPartitioning::runIteration(const FunctionNodeRange Nodes,
268 bool BalancedPartitioning::moveFunctionNode(BPFunctionNode &N,
301 void BalancedPartitioning::split(const FunctionNodeRange Nodes,
316 float BalancedPartitioning::moveGain(const BPFunctionNode &N,
326 float BalancedPartitioning::logCost(unsigned X, unsigned Y) const {
330 float BalancedPartitioning::log2Cached(unsigned i) const {