LLVM 22.0.0git
LanaiMemAluCombiner.cpp File Reference

Go to the source code of this file.

Macros

#define GET_INSTRMAP_INFO
#define DEBUG_TYPE   "lanai-mem-alu-combiner"

Functions

 STATISTIC (NumLdStAluCombined, "Number of memory and ALU instructions combined")
 INITIALIZE_PASS (LanaiMemAluCombiner, DEBUG_TYPE, "Lanai memory ALU combiner pass", false, false) namespace

Variables

static llvm::cl::opt< boolDisableMemAluCombiner ("disable-lanai-mem-alu-combiner", llvm::cl::init(false), llvm::cl::desc("Do not combine ALU and memory operators"), llvm::cl::Hidden)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "lanai-mem-alu-combiner"

Definition at line 39 of file LanaiMemAluCombiner.cpp.

◆ GET_INSTRMAP_INFO

#define GET_INSTRMAP_INFO

Definition at line 36 of file LanaiMemAluCombiner.cpp.

Function Documentation

◆ INITIALIZE_PASS()

◆ STATISTIC()

STATISTIC ( NumLdStAluCombined ,
"Number of memory and ALU instructions combined"  )

Variable Documentation

◆ DisableMemAluCombiner

llvm::cl::opt< bool > DisableMemAluCombiner("disable-lanai-mem-alu-combiner", llvm::cl::init(false), llvm::cl::desc("Do not combine ALU and memory operators"), llvm::cl::Hidden) ( "disable-lanai-mem-alu-combiner" ,
llvm::cl::init(false) ,
llvm::cl::desc("Do not combine ALU and memory operators") ,
llvm::cl::Hidden  )
static

Referenced by INITIALIZE_PASS().