LLVM 20.0.0git
Namespaces | Macros | Functions | Variables
HexagonPeephole.cpp File Reference
#include "Hexagon.h"
#include "HexagonTargetMachine.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/IR/Constants.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetMachine.h"
#include <algorithm>

Go to the source code of this file.

Namespaces

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

Macros

#define DEBUG_TYPE   "hexagon-peephole"
 

Functions

FunctionPassllvm::createHexagonPeephole ()
 
void llvm::initializeHexagonPeepholePass (PassRegistry &)
 
 INITIALIZE_PASS (HexagonPeephole, "hexagon-peephole", "Hexagon Peephole", false, false) bool HexagonPeephole
 

Variables

static cl::opt< boolDisableHexagonPeephole ("disable-hexagon-peephole", cl::Hidden, cl::desc("Disable Peephole Optimization"))
 
static cl::opt< boolDisablePNotP ("disable-hexagon-pnotp", cl::Hidden, cl::desc("Disable Optimization of PNotP"))
 
static cl::opt< boolDisableOptSZExt ("disable-hexagon-optszext", cl::Hidden, cl::init(true), cl::desc("Disable Optimization of Sign/Zero Extends"))
 
static cl::opt< boolDisableOptExtTo64 ("disable-hexagon-opt-ext-to-64", cl::Hidden, cl::init(true), cl::desc("Disable Optimization of extensions to i64."))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "hexagon-peephole"

Definition at line 57 of file HexagonPeephole.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( HexagonPeephole  ,
"hexagon-peephole"  ,
"Hexagon Peephole"  ,
false  ,
false   
)

Variable Documentation

◆ DisableHexagonPeephole

cl::opt< bool > DisableHexagonPeephole("disable-hexagon-peephole", cl::Hidden, cl::desc("Disable Peephole Optimization")) ( "disable-hexagon-peephole"  ,
cl::Hidden  ,
cl::desc("Disable Peephole Optimization")   
)
static

Referenced by INITIALIZE_PASS().

◆ DisableOptExtTo64

cl::opt< bool > DisableOptExtTo64("disable-hexagon-opt-ext-to-64", cl::Hidden, cl::init(true), cl::desc("Disable Optimization of extensions to i64.")) ( "disable-hexagon-opt-ext-to-64"  ,
cl::Hidden  ,
cl::init(true ,
cl::desc("Disable Optimization of extensions to i64.")   
)
static

Referenced by INITIALIZE_PASS().

◆ DisableOptSZExt

cl::opt< bool > DisableOptSZExt("disable-hexagon-optszext", cl::Hidden, cl::init(true), cl::desc("Disable Optimization of Sign/Zero Extends")) ( "disable-hexagon-optszext"  ,
cl::Hidden  ,
cl::init(true ,
cl::desc("Disable Optimization of Sign/Zero Extends")   
)
static

Referenced by INITIALIZE_PASS().

◆ DisablePNotP

cl::opt< bool > DisablePNotP("disable-hexagon-pnotp", cl::Hidden, cl::desc("Disable Optimization of PNotP")) ( "disable-hexagon-pnotp"  ,
cl::Hidden  ,
cl::desc("Disable Optimization of PNotP")   
)
static

Referenced by INITIALIZE_PASS().