LLVM 20.0.0git
Public Attributes | List of all members
llvm::BalancedPartitioningConfig Struct Reference

Algorithm parameters; default values are tuned on real-world binaries. More...

#include "llvm/Support/BalancedPartitioning.h"

Public Attributes

unsigned SplitDepth = 18
 The depth of the recursive bisection.
 
unsigned IterationsPerSplit = 40
 The maximum number of bp iterations per split.
 
float SkipProbability = 0.1f
 The probability for a vertex to skip a move from its current bucket to another bucket; it often helps to escape from a local optima.
 
unsigned TaskSplitDepth = 9
 Recursive subtasks up to the given depth are added to the queue and distributed among threads by ThreadPool; all subsequent calls are executed on the same thread.
 

Detailed Description

Algorithm parameters; default values are tuned on real-world binaries.

Definition at line 86 of file BalancedPartitioning.h.

Member Data Documentation

◆ IterationsPerSplit

unsigned llvm::BalancedPartitioningConfig::IterationsPerSplit = 40

The maximum number of bp iterations per split.

Definition at line 90 of file BalancedPartitioning.h.

Referenced by llvm::BalancedPartitioning::run().

◆ SkipProbability

float llvm::BalancedPartitioningConfig::SkipProbability = 0.1f

The probability for a vertex to skip a move from its current bucket to another bucket; it often helps to escape from a local optima.

Definition at line 93 of file BalancedPartitioning.h.

◆ SplitDepth

unsigned llvm::BalancedPartitioningConfig::SplitDepth = 18

The depth of the recursive bisection.

Definition at line 88 of file BalancedPartitioning.h.

Referenced by llvm::BalancedPartitioning::run().

◆ TaskSplitDepth

unsigned llvm::BalancedPartitioningConfig::TaskSplitDepth = 9

Recursive subtasks up to the given depth are added to the queue and distributed among threads by ThreadPool; all subsequent calls are executed on the same thread.

Definition at line 97 of file BalancedPartitioning.h.

Referenced by llvm::BalancedPartitioning::run().


The documentation for this struct was generated from the following file: