LLVM: lib/Transforms/Utils/MisExpect.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "misexpect"
Variables
static cl::opt< bool > PGOWarnMisExpect ("pgo-warn-misexpect", cl::init(false), cl::Hidden, cl::desc("Use this option to turn on/off " "warnings about incorrect usage of llvm.expect intrinsics."))
static cl::opt< uint32_t > MisExpectTolerance ("misexpect-tolerance", cl::init(0), cl::desc("Prevents emitting diagnostics when profile counts are " "within N% of the threshold.."))

DEBUG_TYPE

#define DEBUG_TYPE "misexpect"

emitMisexpectDiagnostic()

getInstCondition()

getMisExpectTolerance()

isMisExpectDiagEnabled()

MisExpectTolerance

cl::opt< uint32_t > MisExpectTolerance("misexpect-tolerance", cl::init(0), cl::desc("Prevents emitting diagnostics when profile counts are " "within N% of the threshold..")) ( "misexpect-tolerance" , cl::init(0) , cl::desc("Prevents emitting diagnostics when profile counts are " "within N% of the threshold..") ) static

PGOWarnMisExpect

cl::opt< bool > PGOWarnMisExpect("pgo-warn-misexpect", cl::init(false), cl::Hidden, cl::desc("Use this option to turn on/off " "warnings about incorrect usage of llvm.expect intrinsics.")) ( "pgo-warn-misexpect" , cl::init(false) , cl::Hidden , cl::desc("Use this option to turn on/off " "warnings about incorrect usage of llvm.expect intrinsics.") ) static