LLVM 20.0.0git
Namespaces | Macros | Functions | Variables
LanaiMemAluCombiner.cpp File Reference
#include "LanaiAluCode.h"
#include "LanaiTargetMachine.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/RegisterScavenging.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/Support/CommandLine.h"
#include "LanaiGenInstrInfo.inc"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Macros

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

Functions

 STATISTIC (NumLdStAluCombined, "Number of memory and ALU instructions combined")
 
void llvm::initializeLanaiMemAluCombinerPass (PassRegistry &)
 
 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 38 of file LanaiMemAluCombiner.cpp.

◆ GET_INSTRMAP_INFO

#define GET_INSTRMAP_INFO

Definition at line 35 of file LanaiMemAluCombiner.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( LanaiMemAluCombiner  ,
DEBUG_TYPE  ,
"Lanai memory ALU combiner pass"  ,
false  ,
false   
)

◆ 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().