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

Go to the source code of this file.

Macros
#define DEBUG_TYPE "hexagon-cext-opt"
Variables
static cl::opt< unsigned > CountThreshold ("hexagon-cext-threshold", cl::init(3), cl::Hidden, cl::desc("Minimum number of extenders to trigger replacement"))
static cl::opt< unsigned > ReplaceLimit ("hexagon-cext-limit", cl::init(0), cl::Hidden, cl::desc("Maximum number of replacements"))
hexagon cext opt
hexagon cext Hexagon constant extender optimization
hexagon cext Hexagon constant extender false
hexagon cext Hexagon constant extender static false unsigned ReplaceCounter = 0

DEBUG_TYPE

#define DEBUG_TYPE "hexagon-cext-opt"

adjustDown()

adjustUp()

INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( HexagonConstExtenders ,
"hexagon-cext-opt" ,
"Hexagon constant-extender optimization" ,
false ,
false )

CountThreshold

cl::opt< unsigned > CountThreshold("hexagon-cext-threshold", cl::init(3), cl::Hidden, cl::desc("Minimum number of extenders to trigger replacement")) ( "hexagon-cext-threshold" , cl::init(3) , cl::Hidden , cl::desc("Minimum number of extenders to trigger replacement") ) static

false

hexagon cext Hexagon constant extender false

opt

optimization

hexagon cext Hexagon constant extender optimization

ReplaceCounter

hexagon cext Hexagon constant extender static false unsigned ReplaceCounter = 0 static

ReplaceLimit

cl::opt< unsigned > ReplaceLimit("hexagon-cext-limit", cl::init(0), cl::Hidden, cl::desc("Maximum number of replacements")) ( "hexagon-cext-limit" , cl::init(0) , cl::Hidden , cl::desc("Maximum number of replacements") ) static