16 #ifndef LLVM_TRANSFORMS_PGOINSTRUMENTATION_H 17 #define LLVM_TRANSFORMS_PGOINSTRUMENTATION_H 40 std::string RemappingFilename =
"");
45 std::string ProfileFileName;
46 std::string ProfileRemappingFileName;
53 : InLTO(IsInLTO), SamplePGO(SamplePGO) {}
77 #endif // LLVM_TRANSFORMS_PGOINSTRUMENTATION_H The profile annotation (profile-instr-use) pass for IR based PGO.
void setProfMetadata(Module *M, Instruction *TI, ArrayRef< uint64_t > EdgeCounts, uint64_t MaxCount)
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
A CRTP mix-in to automatically provide informational APIs needed for passes.
A set of analyses that are preserved following a run of a transformation pass.
void setIrrLoopHeaderMetadata(Module *M, Instruction *TI, uint64_t Count)
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM)
The instrumentation (profile-instr-gen) pass for IR based PGO.
The profile size based optimization pass for memory intrinsics.
A container for analyses that lazily runs them and caches their results.
This header defines various interfaces for pass management in LLVM.