LLVM 22.0.0git
ProfileVerify.cpp File Reference

Go to the source code of this file.

Variables

static cl::opt< int64_t > DefaultFunctionEntryCount ("profcheck-default-function-entry-count", cl::init(1000))
static cl::opt< boolAnnotateSelect ("profcheck-annotate-select", cl::init(true), cl::desc("Also inject (if missing) and verify MD_prof for " "`select` instructions"))
static cl::opt< uint32_tSelectTrueWeight ("profcheck-default-select-true-weight", cl::init(2U), cl::desc("When annotating `select` instructions, this value will be used " "for the first ('true') case."))
static cl::opt< uint32_tSelectFalseWeight ("profcheck-default-select-false-weight", cl::init(3U), cl::desc("When annotating `select` instructions, this value will be used " "for the second ('false') case."))

Variable Documentation

◆ AnnotateSelect

cl::opt< bool > AnnotateSelect("profcheck-annotate-select", cl::init(true), cl::desc("Also inject (if missing) and verify MD_prof for " "`select` instructions")) ( "profcheck-annotate-select" ,
cl::init(true) ,
cl::desc("Also inject (if missing) and verify MD_prof for " "`select` instructions")  )
static

◆ DefaultFunctionEntryCount

cl::opt< int64_t > DefaultFunctionEntryCount("profcheck-default-function-entry-count", cl::init(1000)) ( "profcheck-default-function-entry-count" ,
cl::init(1000)  )
static

◆ SelectFalseWeight

cl::opt< uint32_t > SelectFalseWeight("profcheck-default-select-false-weight", cl::init(3U), cl::desc("When annotating `select` instructions, this value will be used " "for the second ('false') case.")) ( "profcheck-default-select-false-weight" ,
cl::init(3U) ,
cl::desc("When annotating `select` instructions, this value will be used " "for the second ('false') case.")  )
static

◆ SelectTrueWeight

cl::opt< uint32_t > SelectTrueWeight("profcheck-default-select-true-weight", cl::init(2U), cl::desc("When annotating `select` instructions, this value will be used " "for the first ('true') case.")) ( "profcheck-default-select-true-weight" ,
cl::init(2U) ,
cl::desc("When annotating `select` instructions, this value will be used " "for the first ('true') case.")  )
static