LLVM: lib/Transforms/Scalar/LoopVersioningLICM.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "loop-versioning-licm"
Variables
static const char * LICMVersioningMetaData = "llvm.loop.licm_versioning.disable"
static cl::opt< float > LVInvarThreshold ("licm-versioning-invariant-threshold", cl::desc("LoopVersioningLICM's minimum allowed percentage " "of possible invariant instructions per loop"), cl::init(25), cl::Hidden)
Threshold minimum allowed percentage for possible invariant instructions in a loop.
static cl::opt< unsigned > LVLoopDepthThreshold ("licm-versioning-max-depth-threshold", cl::desc("LoopVersioningLICM's threshold for maximum allowed loop nest/depth"), cl::init(2), cl::Hidden)
Threshold for maximum allowed loop nest/depth.

DEBUG_TYPE

#define DEBUG_TYPE "loop-versioning-licm"

LICMVersioningMetaData

const char* LICMVersioningMetaData = "llvm.loop.licm_versioning.disable" static

LVInvarThreshold

cl::opt< float > LVInvarThreshold("licm-versioning-invariant-threshold", cl::desc("LoopVersioningLICM's minimum allowed percentage " "of possible invariant instructions per loop"), cl::init(25), cl::Hidden) ( "licm-versioning-invariant-threshold" , cl::desc("LoopVersioningLICM's minimum allowed percentage " "of possible invariant instructions per loop") , cl::init(25) , cl::Hidden ) static

Threshold minimum allowed percentage for possible invariant instructions in a loop.

LVLoopDepthThreshold

cl::opt< unsigned > LVLoopDepthThreshold("licm-versioning-max-depth-threshold", cl::desc( "LoopVersioningLICM's threshold for maximum allowed loop nest/depth"), cl::init(2), cl::Hidden) ( "licm-versioning-max-depth-threshold" , cl::desc( "LoopVersioningLICM's threshold for maximum allowed loop nest/depth") , cl::init(2) , cl::Hidden ) static

Threshold for maximum allowed loop nest/depth.