LLVM: lib/Transforms/InstCombine/InstCombineNegator.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "instcombine"
Functions

DEBUG_TYPE

#define DEBUG_TYPE "instcombine"

DEBUG_COUNTER()

DEBUG_COUNTER ( NegatorCounter ,
"instcombine-negator" ,
"Controls Negator transformations in InstCombine pass" )

STATISTIC() [1/10]

STATISTIC ( NegatorMaxDepthVisited ,
"Negator: Maximal traversal depth ever " "reached while attempting to sink negation" )

STATISTIC() [2/10]

STATISTIC ( NegatorMaxInstructionsCreated ,
"Negator: Maximal number of new instructions created during negation " "attempt" )

STATISTIC() [3/10]

STATISTIC ( NegatorMaxTotalValuesVisited ,
"Negator: Maximal number of values ever visited while attempting to " "sink negation" )

STATISTIC() [4/10]

STATISTIC ( NegatorNumInstructionsCreatedTotal ,
"Negator: Number of new negated instructions created,
total" )

STATISTIC() [5/10]

STATISTIC ( NegatorNumInstructionsNegatedSuccess ,
"Negator: Number of new negated instructions created in successful " "negation sinking attempts" )

STATISTIC() [6/10]

STATISTIC ( NegatorNumNegationsFoundInCache ,
"Negator: How many negations did we retrieve/reuse from cache" )

STATISTIC() [7/10]

STATISTIC ( NegatorNumTreesNegated ,
"Negator: Number of negations successfully sinked" )

STATISTIC() [8/10]

STATISTIC ( NegatorNumValuesVisited ,
"Negator: Total number of values visited during attempts to sink negation" )

STATISTIC() [9/10]

STATISTIC ( NegatorTimesDepthLimitReached ,
"Negator: How many times did the traversal depth limit was reached " "during sinking" )

STATISTIC() [10/10]

STATISTIC ( NegatorTotalNegationsAttempted ,
"Negator: Number of negations attempted to be sinked" )

NegatorEnabled

cl::opt< bool > NegatorEnabled("instcombine-negator-enabled", cl::init(true), cl::desc("Should we attempt to sink negations?")) ( "instcombine-negator-enabled" , cl::init(true) , cl::desc("Should we attempt to sink negations?") ) static

NegatorMaxDepth