LLVM  5.0.0
Namespaces | Macros | Functions | Variables
HexagonBitSimplify.cpp File Reference
#include "HexagonBitTracker.h"
#include "HexagonTargetMachine.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <iterator>
#include <limits>
#include <utility>
#include <vector>
Include dependency graph for HexagonBitSimplify.cpp:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Macros

#define DEBUG_TYPE   "hexbit"
 

Functions

void llvm::initializeHexagonBitSimplifyPass (PassRegistry &Registry)
 
FunctionPass * llvm::createHexagonBitSimplify ()
 
 INITIALIZE_PASS_BEGIN (HexagonBitSimplify,"hexbit","Hexagon bit simplification", false, false) INITIALIZE_PASS_END(HexagonBitSimplify
 
FunctionPass * llvm::createHexagonLoopRescheduling ()
 
void llvm::initializeHexagonLoopReschedulingPass (PassRegistry &)
 
 INITIALIZE_PASS (HexagonLoopRescheduling,"hexagon-loop-resched","Hexagon Loop Rescheduling", false, false) HexagonLoopRescheduling
 

Variables

static cl::opt< bool > PreserveTiedOps ("hexbit-keep-tied", cl::Hidden, cl::init(true), cl::desc("Preserve subregisters in tied operands"))
 
static cl::opt< bool > GenExtract ("hexbit-extract", cl::Hidden, cl::init(true), cl::desc("Generate extract instructions"))
 
static cl::opt< bool > GenBitSplit ("hexbit-bitsplit", cl::Hidden, cl::init(true), cl::desc("Generate bitsplit instructions"))
 
static cl::opt< unsigned > MaxExtract ("hexbit-max-extract", cl::Hidden, cl::init(UINT_MAX))
 
static unsigned CountExtract = 0
 
static cl::opt< unsigned > MaxBitSplit ("hexbit-max-bitsplit", cl::Hidden, cl::init(UINT_MAX))
 
static unsigned CountBitSplit = 0
 
 hexbit
 
Hexagon bit simplification
 
Hexagon bit false
 

Macro Definition Documentation

#define DEBUG_TYPE   "hexbit"

Definition at line 43 of file HexagonBitSimplify.cpp.

Function Documentation

INITIALIZE_PASS ( HexagonLoopRescheduling  ,
"hexagon-loop-resched"  ,
"Hexagon Loop Rescheduling"  ,
false  ,
false   
)

Definition at line 2816 of file HexagonBitSimplify.cpp.

References B, and llvm::MachineOperand::getMBB().

INITIALIZE_PASS_BEGIN ( HexagonBitSimplify  ,
"hexbit"  ,
"Hexagon bit simplification"  ,
false  ,
false   
)

Variable Documentation

unsigned CountBitSplit = 0
static

Definition at line 59 of file HexagonBitSimplify.cpp.

unsigned CountExtract = 0
static

Definition at line 56 of file HexagonBitSimplify.cpp.

Hexagon bit false

Definition at line 258 of file HexagonBitSimplify.cpp.

cl::opt<bool> GenBitSplit("hexbit-bitsplit", cl::Hidden, cl::init(true), cl::desc("Generate bitsplit instructions"))
static
cl::opt<bool> GenExtract("hexbit-extract", cl::Hidden, cl::init(true), cl::desc("Generate extract instructions"))
static
hexbit

Definition at line 258 of file HexagonBitSimplify.cpp.

cl::opt<unsigned> MaxBitSplit("hexbit-max-bitsplit", cl::Hidden, cl::init(UINT_MAX))
static
cl::opt<unsigned> MaxExtract("hexbit-max-extract", cl::Hidden, cl::init(UINT_MAX))
static
cl::opt<bool> PreserveTiedOps("hexbit-keep-tied", cl::Hidden, cl::init(true), cl::desc("Preserve subregisters in tied operands"))
static
Hexagon bit simplification

Definition at line 258 of file HexagonBitSimplify.cpp.