LLVM: lib/Target/RISCV/RISCVLoadStoreOptimizer.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "riscv-load-store-opt"
#define RISCV_LOAD_STORE_OPT_NAME "RISC-V Load / Store Optimizer"

DEBUG_TYPE

#define DEBUG_TYPE "riscv-load-store-opt"

RISCV_LOAD_STORE_OPT_NAME

#define RISCV_LOAD_STORE_OPT_NAME "RISC-V Load / Store Optimizer"

INITIALIZE_PASS()

INITIALIZE_PASS ( RISCVLoadStoreOpt ,
DEBUG_TYPE ,
RISCV_LOAD_STORE_OPT_NAME ,
false ,
false )

mayAlias()

STATISTIC() [1/2]

STATISTIC ( NumLD2LW ,
"Number of LD instructions split back to LW" )

STATISTIC() [2/2]

STATISTIC ( NumSD2SW ,
"Number of SD instructions split back to SW" )

LdStLimit

cl::opt< unsigned > LdStLimit("riscv-load-store-scan-limit", cl::init(128), cl::Hidden) ( "riscv-load-store-scan-limit" , cl::init(128) , cl::Hidden ) static