|
LLVM 24.0.0git
|
#include "InstrumentationOptions.h"#include "llvm/ADT/ArrayRef.h"#include "llvm/ADT/Statistic.h"#include "llvm/ADT/StringRef.h"#include "llvm/ADT/Twine.h"#include "llvm/Analysis/BlockFrequencyInfo.h"#include "llvm/Analysis/DomTreeUpdater.h"#include "llvm/Analysis/OptimizationRemarkEmitter.h"#include "llvm/Analysis/TargetLibraryInfo.h"#include "llvm/IR/BasicBlock.h"#include "llvm/IR/DerivedTypes.h"#include "llvm/IR/Dominators.h"#include "llvm/IR/Function.h"#include "llvm/IR/IRBuilder.h"#include "llvm/IR/InstVisitor.h"#include "llvm/IR/Instruction.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/LLVMContext.h"#include "llvm/IR/PassManager.h"#include "llvm/IR/Type.h"#include "llvm/ProfileData/InstrProf.h"#include "llvm/ProfileData/InstrProfData.inc"#include "llvm/Support/Casting.h"#include "llvm/Support/Debug.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/MathExtras.h"#include "llvm/Transforms/Instrumentation/PGOInstrumentation.h"#include "llvm/Transforms/Utils/BasicBlockUtils.h"#include <cassert>#include <cstdint>#include <vector>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) |
| #define DEBUG_TYPE "pgo-memop-opt" |
Definition at line 52 of file PGOMemOPSizeOpt.cpp.
| #define INSTR_PROF_VALUE_PROF_MEMOP_API |
Definition at line 38 of file PGOMemOPSizeOpt.cpp.
|
static |
Definition at line 405 of file PGOMemOPSizeOpt.cpp.
References F.
Referenced by llvm::PGOMemOPSizeOpt::run().
| STATISTIC | ( | NumOfPGOMemOPAnnotate | , |
| "Number of memop intrinsics annotated." | ) |
| STATISTIC | ( | NumOfPGOMemOPOpt | , |
| "Number of memop intrinsics optimized." | ) |