LLVM 24.0.0git
LowerAllowCheckPass.cpp File Reference

Go to the source code of this file.

Classes

struct  RemarkInfo

Macros

#define DEBUG_TYPE   "lower-allow-check"

Functions

 STATISTIC (NumChecksTotal, "Number of checks")
 STATISTIC (NumChecksRemoved, "Number of removed checks")
static void emitRemark (IntrinsicInst *II, OptimizationRemarkEmitter &ORE, bool Removed)
static bool lowerAllowChecks (Function &F, FunctionAnalysisManager &AM, const LowerAllowCheckPass::Options &Opts)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "lower-allow-check"

Definition at line 34 of file LowerAllowCheckPass.cpp.

Function Documentation

◆ emitRemark()

void emitRemark ( IntrinsicInst * II,
OptimizationRemarkEmitter & ORE,
bool Removed )
static

Definition at line 49 of file LowerAllowCheckPass.cpp.

References DEBUG_TYPE, llvm::OptimizationRemarkEmitter::emit(), and II.

Referenced by lowerAllowChecks().

◆ lowerAllowChecks()

◆ STATISTIC() [1/2]

STATISTIC ( NumChecksRemoved ,
"Number of removed checks"  )

◆ STATISTIC() [2/2]

STATISTIC ( NumChecksTotal ,
"Number of checks"  )