Lines Matching defs:BalancedPartitioning
1 //===- BalancedPartitioning.cpp -------------------------------------------===//
9 // This file implements BalancedPartitioning, a recursive balanced graph
14 #include "llvm/Support/BalancedPartitioning.h"
30 void BalancedPartitioning::BPThreadPool::async(Func &&F) {
54 void BalancedPartitioning::BPThreadPool::wait() {
70 BalancedPartitioning::BalancedPartitioning(
79 void BalancedPartitioning::run(std::vector<BPFunctionNode> &Nodes) const {
113 void BalancedPartitioning::bisect(const FunctionNodeRange Nodes,
167 void BalancedPartitioning::runIterations(const FunctionNodeRange Nodes,
210 unsigned BalancedPartitioning::runIteration(const FunctionNodeRange Nodes,
270 bool BalancedPartitioning::moveFunctionNode(BPFunctionNode &N,
303 void BalancedPartitioning::split(const FunctionNodeRange Nodes,
318 float BalancedPartitioning::moveGain(const BPFunctionNode &N,
328 float BalancedPartitioning::logCost(unsigned X, unsigned Y) const {
332 float BalancedPartitioning::log2Cached(unsigned i) const {