LLVM  6.0.0svn
Namespaces | Macros | Functions | Variables
LanaiMemAluCombiner.cpp File Reference
#include "Lanai.h"
#include "LanaiTargetMachine.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/RegisterScavenging.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "LanaiGenInstrInfo.inc"
Include dependency graph for LanaiMemAluCombiner.cpp:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

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 40 of file LanaiMemAluCombiner.cpp.

◆ GET_INSTRMAP_INFO

#define GET_INSTRMAP_INFO

Definition at line 37 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)
static

Referenced by INITIALIZE_PASS().