LLVM: lib/Target/Hexagon/HexagonBitSimplify.cpp File Reference (original) (raw)

Go to the source code of this file.

Namespaces
namespace llvm
This is an optimization pass for GlobalISel generic memory operations.
Functions
void llvm::initializeHexagonBitSimplifyPass (PassRegistry &Registry)
FunctionPass * llvm::createHexagonBitSimplify ()
INITIALIZE_PASS_BEGIN (HexagonBitSimplify, "hexagon-bit-simplify", "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(std::numeric_limits< unsigned >::max()))
static unsigned CountExtract = 0
static cl::opt< unsigned > MaxBitSplit ("hexbit-max-bitsplit", cl::Hidden, cl::init(std::numeric_limits< unsigned >::max()))
static unsigned CountBitSplit = 0
static cl::opt< unsigned > RegisterSetLimit ("hexbit-registerset-limit", cl::Hidden, cl::init(1000))
hexagon bit simplify
hexagon bit Hexagon bit simplification
hexagon bit Hexagon bit false

DEBUG_TYPE

#define DEBUG_TYPE "hexbit"

INITIALIZE_PASS()

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

INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( HexagonBitSimplify ,
"hexagon-bit-simplify" ,
"Hexagon bit simplification" ,
false ,
false
)

CountBitSplit

CountExtract

false

hexagon bit Hexagon bit false

GenBitSplit

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

GenExtract

MaxBitSplit

cl::opt< unsigned > MaxBitSplit("hexbit-max-bitsplit", cl::Hidden, cl::init(std::numeric_limits< unsigned >::max())) ( "hexbit-max-bitsplit" , cl::Hidden , cl::init(std::numeric_limits< unsigned >::max()) ) static

MaxExtract

cl::opt< unsigned > MaxExtract("hexbit-max-extract", cl::Hidden, cl::init(std::numeric_limits< unsigned >::max())) ( "hexbit-max-extract" , cl::Hidden , cl::init(std::numeric_limits< unsigned >::max()) ) static

PreserveTiedOps

cl::opt< bool > PreserveTiedOps("hexbit-keep-tied", cl::Hidden, cl::init(true), cl::desc("Preserve subregisters in tied operands")) ( "hexbit-keep-tied" , cl::Hidden , cl::init(true) , cl::desc("Preserve subregisters in tied operands") ) static

RegisterSetLimit

cl::opt< unsigned > RegisterSetLimit("hexbit-registerset-limit", cl::Hidden, cl::init(1000)) ( "hexbit-registerset-limit" , cl::Hidden , cl::init(1000) ) static

simplification

hexagon bit Hexagon bit simplification

simplify