LLVM 24.0.0git
PGOMemOPSizeOpt.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Macros

#define INSTR_PROF_VALUE_PROF_MEMOP_API
#define DEBUG_TYPE   "pgo-memop-opt"

Functions

 STATISTIC (NumOfPGOMemOPOpt, "Number of memop intrinsics optimized.")
 STATISTIC (NumOfPGOMemOPAnnotate, "Number of memop intrinsics annotated.")
static bool pgoMemOPSizeOptImpl (const InstrumentationOptions &Opts, Function &F, BlockFrequencyInfo &BFI, OptimizationRemarkEmitter &ORE, DominatorTree *DT, TargetLibraryInfo &TLI)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "pgo-memop-opt"

Definition at line 52 of file PGOMemOPSizeOpt.cpp.

◆ INSTR_PROF_VALUE_PROF_MEMOP_API

#define INSTR_PROF_VALUE_PROF_MEMOP_API

Definition at line 38 of file PGOMemOPSizeOpt.cpp.

Function Documentation

◆ pgoMemOPSizeOptImpl()

bool pgoMemOPSizeOptImpl ( const InstrumentationOptions & Opts,
Function & F,
BlockFrequencyInfo & BFI,
OptimizationRemarkEmitter & ORE,
DominatorTree * DT,
TargetLibraryInfo & TLI )
static

Definition at line 405 of file PGOMemOPSizeOpt.cpp.

References F.

Referenced by llvm::PGOMemOPSizeOpt::run().

◆ STATISTIC() [1/2]

STATISTIC ( NumOfPGOMemOPAnnotate ,
"Number of memop intrinsics annotated."  )

◆ STATISTIC() [2/2]

STATISTIC ( NumOfPGOMemOPOpt ,
"Number of memop intrinsics optimized."  )