LLVM 20.0.0git
Classes | Namespaces | Enumerations | Functions | Variables
PGOInstrumentation.h File Reference

This file provides the interface for IR based instrumentation passes ( (profile-gen, and profile-use). More...

#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Support/CommandLine.h"
#include <cstdint>
#include <string>

Go to the source code of this file.

Classes

class  llvm::PGOInstrumentationGenCreateVar
 The instrumentation (profile-instr-gen) pass for IR based PGO. More...
 
class  llvm::PGOInstrumentationGen
 The instrumentation (profile-instr-gen) pass for IR based PGO. More...
 
class  llvm::PGOInstrumentationUse
 The profile annotation (profile-instr-use) pass for IR based PGO. More...
 
class  llvm::PGOIndirectCallPromotion
 The indirect function call promotion pass. More...
 
class  llvm::PGOMemOPSizeOpt
 The profile size based optimization pass for memory intrinsics. More...
 

Namespaces

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

Enumerations

enum class  llvm::PGOInstrumentationType { llvm::Invalid = 0 , llvm::FDO , llvm::CSFDO , llvm::CTXPROF }
 

Functions

void llvm::setProfMetadata (Module *M, Instruction *TI, ArrayRef< uint64_t > EdgeCounts, uint64_t MaxCount)
 
void llvm::setIrrLoopHeaderMetadata (Module *M, Instruction *TI, uint64_t Count)
 

Variables

cl::opt< boolllvm::DebugInfoCorrelate
 

Detailed Description

This file provides the interface for IR based instrumentation passes ( (profile-gen, and profile-use).

Definition in file PGOInstrumentation.h.