LLVM  15.0.0git
Macros | Variables
CodeLayout.cpp File Reference
#include "llvm/Transforms/Utils/CodeLayout.h"
#include "llvm/Support/CommandLine.h"
Include dependency graph for CodeLayout.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "code-layout"
 

Variables

cl::opt< bool > EnableExtTspBlockPlacement ("enable-ext-tsp-block-placement", cl::Hidden, cl::init(false), cl::desc("Enable machine block placement based on the ext-tsp model, " "optimizing I-cache utilization."))
 
cl::opt< bool > ApplyExtTspWithoutProfile ("ext-tsp-apply-without-profile", cl::desc("Whether to apply ext-tsp placement for instances w/o profile"), cl::init(true), cl::Hidden)
 
static cl::opt< doubleForwardWeight ("ext-tsp-forward-weight", cl::Hidden, cl::init(0.1), cl::desc("The weight of forward jumps for ExtTSP value"))
 
static cl::opt< doubleBackwardWeight ("ext-tsp-backward-weight", cl::Hidden, cl::init(0.1), cl::desc("The weight of backward jumps for ExtTSP value"))
 
static cl::opt< unsigned > ForwardDistance ("ext-tsp-forward-distance", cl::Hidden, cl::init(1024), cl::desc("The maximum distance (in bytes) of a forward jump for ExtTSP"))
 
static cl::opt< unsigned > BackwardDistance ("ext-tsp-backward-distance", cl::Hidden, cl::init(640), cl::desc("The maximum distance (in bytes) of a backward jump for ExtTSP"))
 
static cl::opt< unsigned > MaxChainSize ("ext-tsp-max-chain-size", cl::Hidden, cl::init(4096), cl::desc("The maximum size of a chain to create."))
 
static cl::opt< unsigned > ChainSplitThreshold ("ext-tsp-chain-split-threshold", cl::Hidden, cl::init(128), cl::desc("The maximum size of a chain to apply splitting"))
 
static cl::opt< bool > EnableChainSplitAlongJumps ("ext-tsp-enable-chain-split-along-jumps", cl::Hidden, cl::init(true), cl::desc("The maximum size of a chain to apply splitting"))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "code-layout"

Definition at line 45 of file CodeLayout.cpp.

Variable Documentation

◆ ApplyExtTspWithoutProfile

cl::opt<bool> ApplyExtTspWithoutProfile("ext-tsp-apply-without-profile", cl::desc("Whether to apply ext-tsp placement for instances w/o profile"), cl::init(true), cl::Hidden)

◆ BackwardDistance

cl::opt<unsigned> BackwardDistance("ext-tsp-backward-distance", cl::Hidden, cl::init(640), cl::desc("The maximum distance (in bytes) of a backward jump for ExtTSP"))
static

◆ BackwardWeight

cl::opt<double> BackwardWeight("ext-tsp-backward-weight", cl::Hidden, cl::init(0.1), cl::desc("The weight of backward jumps for ExtTSP value"))
static

◆ ChainSplitThreshold

cl::opt<unsigned> ChainSplitThreshold("ext-tsp-chain-split-threshold", cl::Hidden, cl::init(128), cl::desc("The maximum size of a chain to apply splitting"))
static

◆ EnableChainSplitAlongJumps

cl::opt<bool> EnableChainSplitAlongJumps("ext-tsp-enable-chain-split-along-jumps", cl::Hidden, cl::init(true), cl::desc("The maximum size of a chain to apply splitting"))
static

◆ EnableExtTspBlockPlacement

cl::opt<bool> EnableExtTspBlockPlacement("enable-ext-tsp-block-placement", cl::Hidden, cl::init(false), cl::desc("Enable machine block placement based on the ext-tsp model, " "optimizing I-cache utilization."))

◆ ForwardDistance

cl::opt<unsigned> ForwardDistance("ext-tsp-forward-distance", cl::Hidden, cl::init(1024), cl::desc("The maximum distance (in bytes) of a forward jump for ExtTSP"))
static

◆ ForwardWeight

cl::opt<double> ForwardWeight("ext-tsp-forward-weight", cl::Hidden, cl::init(0.1), cl::desc("The weight of forward jumps for ExtTSP value"))
static

◆ MaxChainSize

cl::opt<unsigned> MaxChainSize("ext-tsp-max-chain-size", cl::Hidden, cl::init(4096), cl::desc("The maximum size of a chain to create."))
static