Go to the source code of this file.
|
namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations.
|
|
static cl::opt< int > | MaxHoistedThreshold ("gvn-max-hoisted", cl::Hidden, cl::init(-1), cl::desc("Max number of instructions to hoist " "(default unlimited = -1)")) |
static cl::opt< int > | MaxNumberOfBBSInPath ("gvn-hoist-max-bbs", cl::Hidden, cl::init(4), cl::desc("Max number of basic blocks on the path between " "hoisting locations (default = 4, unlimited = -1)")) |
static cl::opt< int > | MaxDepthInBB ("gvn-hoist-max-depth", cl::Hidden, cl::init(100), cl::desc("Hoist instructions from the beginning of the BB up to the " "maximum specified depth (default = 100, unlimited = -1)")) |
static cl::opt< int > | MaxChainLength ("gvn-hoist-max-chain-length", cl::Hidden, cl::init(10), cl::desc("Maximum length of dependent chains to hoist " "(default = 10, unlimited = -1)")) |
◆ DEBUG_TYPE
#define DEBUG_TYPE "gvn-hoist" |
◆ STATISTIC() [1/8]
STATISTIC |
( |
NumCallsHoisted | , |
|
|
"Number of calls hoisted" | ) |
◆ STATISTIC() [2/8]
STATISTIC |
( |
NumCallsRemoved | , |
|
|
"Number of calls removed" | ) |
◆ STATISTIC() [3/8]
◆ STATISTIC() [4/8]
STATISTIC |
( |
NumLoadsHoisted | , |
|
|
"Number of loads hoisted" | ) |
◆ STATISTIC() [5/8]
STATISTIC |
( |
NumLoadsRemoved | , |
|
|
"Number of loads removed" | ) |
◆ STATISTIC() [6/8]
◆ STATISTIC() [7/8]
STATISTIC |
( |
NumStoresHoisted | , |
|
|
"Number of stores hoisted" | ) |
◆ STATISTIC() [8/8]
STATISTIC |
( |
NumStoresRemoved | , |
|
|
"Number of stores removed" | ) |
◆ MaxChainLength
cl::opt< int > MaxChainLength("gvn-hoist-max-chain-length", cl::Hidden, cl::init(10), cl::desc("Maximum length of dependent chains to hoist " "(default = 10, unlimited = -1)")) |
( |
"gvn-hoist-max-chain-length" | , |
|
|
cl::Hidden | , |
|
|
cl::init(10) | , |
|
|
cl::desc("Maximum length of dependent chains to hoist " "(default = 10, unlimited = -1)") | ) |
|
static |
◆ MaxDepthInBB
cl::opt< int > MaxDepthInBB("gvn-hoist-max-depth", cl::Hidden, cl::init(100), cl::desc("Hoist instructions from the beginning of the BB up to the " "maximum specified depth (default = 100, unlimited = -1)")) |
( |
"gvn-hoist-max-depth" | , |
|
|
cl::Hidden | , |
|
|
cl::init(100) | , |
|
|
cl::desc("Hoist instructions from the beginning of the BB up to the " "maximum specified depth (default = 100, unlimited = -1)") | ) |
|
static |
◆ MaxHoistedThreshold
◆ MaxNumberOfBBSInPath
cl::opt< int > MaxNumberOfBBSInPath("gvn-hoist-max-bbs", cl::Hidden, cl::init(4), cl::desc("Max number of basic blocks on the path between " "hoisting locations (default = 4, unlimited = -1)")) |
( |
"gvn-hoist-max-bbs" | , |
|
|
cl::Hidden | , |
|
|
cl::init(4) | , |
|
|
cl::desc("Max number of basic blocks on the path between " "hoisting locations (default = 4, unlimited = -1)") | ) |
|
static |