LLVM API Documentation

Namespaces | Defines | 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/IR/Constants.h"
#include "llvm/PassSupport.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include <algorithm>
Include dependency graph for HexagonPeephole.cpp:

Go to the source code of this file.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Defines

#define DEBUG_TYPE   "hexagon-peephole"

Functions

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::ZeroOrMore, cl::init(false), cl::desc("Disable Peephole Optimization"))
static cl::opt< boolDisablePNotP ("disable-hexagon-pnotp", cl::Hidden, cl::ZeroOrMore, cl::init(false), cl::desc("Disable Optimization of PNotP"))
static cl::opt< boolDisableOptSZExt ("disable-hexagon-optszext", cl::Hidden, cl::ZeroOrMore, cl::init(false), cl::desc("Disable Optimization of Sign/Zero Extends"))
static cl::opt< boolDisableOptExtTo64 ("disable-hexagon-opt-ext-to-64", cl::Hidden, cl::ZeroOrMore, cl::init(false), cl::desc("Disable Optimization of extensions to i64."))

Define Documentation

#define DEBUG_TYPE   "hexagon-peephole"

Definition at line 59 of file HexagonPeephole.cpp.


Function Documentation

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

Variable Documentation

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

Referenced by INITIALIZE_PASS().

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

Referenced by INITIALIZE_PASS().

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

Referenced by INITIALIZE_PASS().

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

Referenced by INITIALIZE_PASS().