Go to the source code of this file.
◆ DEBUG_TYPE
#define DEBUG_TYPE "lower-allow-check" |
◆ emitRemark()
◆ removeUbsanTraps()
Definition at line 72 of file LowerAllowCheckPass.cpp.
References emitRemark(), llvm::SmallVectorBase< Size_T >::empty(), F, llvm::ConstantInt::getBool(), HotPercentileCutoff, I, II, llvm::ProfileSummaryInfo::isHotCountNthPercentile(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), RandomRate, and ToRemove.
Referenced by llvm::LowerAllowCheckPass::run().
◆ STATISTIC() [1/2]
STATISTIC |
( |
NumChecksRemoved |
, |
|
|
"Number of removed checks" |
|
|
) |
| |
◆ STATISTIC() [2/2]
STATISTIC |
( |
NumChecksTotal |
, |
|
|
"Number of checks" |
|
|
) |
| |
◆ HotPercentileCutoff
cl::opt< int > HotPercentileCutoff("lower-allow-check-percentile-cutoff-hot", cl::desc("Hot percentile cuttoff.")) |
( |
"lower-allow-check-percentile-cutoff-hot" |
, |
|
|
cl::desc("Hot percentile cuttoff.") |
|
|
) |
| |
|
static |
◆ RandomRate
cl::opt< float > RandomRate("lower-allow-check-random-rate", cl::desc("Probability value in the range [0.0, 1.0] of " "unconditional pseudo-random checks.")) |
( |
"lower-allow-check-random-rate" |
, |
|
|
cl::desc("Probability value in the range [0.0, 1.0] of " "unconditional pseudo-random checks.") |
|
|
) |
| |
|
static |