LLVM 22.0.0git
AnnotationRemarks.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "annotation-remarks"
#define REMARK_PASS   DEBUG_TYPE

Functions

static void tryEmitAutoInitRemark (ArrayRef< Instruction * > Instructions, OptimizationRemarkEmitter &ORE, const TargetLibraryInfo &TLI)
static void runImpl (Function &F, const TargetLibraryInfo &TLI)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "annotation-remarks"

Definition at line 24 of file AnnotationRemarks.cpp.

◆ REMARK_PASS

#define REMARK_PASS   DEBUG_TYPE

Definition at line 25 of file AnnotationRemarks.cpp.

Referenced by runImpl(), and tryEmitAutoInitRemark().

Function Documentation

◆ runImpl()

◆ tryEmitAutoInitRemark()

void tryEmitAutoInitRemark ( ArrayRef< Instruction * > Instructions,
OptimizationRemarkEmitter & ORE,
const TargetLibraryInfo & TLI )
static

Definition at line 27 of file AnnotationRemarks.cpp.

References llvm::AutoInitRemark::canHandle(), DL, F, I, llvm::Remark, and REMARK_PASS.

Referenced by runImpl().