LLVM 20.0.0git
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
llvm::CtxProfAnalysis Class Reference

#include "llvm/Analysis/CtxProfAnalysis.h"

Inheritance diagram for llvm::CtxProfAnalysis:
Inheritance graph
[legend]

Public Types

using Result = PGOContextualProfile
 

Public Member Functions

 CtxProfAnalysis (StringRef Profile="")
 
PGOContextualProfile run (Module &M, ModuleAnalysisManager &MAM)
 
- Public Member Functions inherited from llvm::PassInfoMixin< DerivedT >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

Static Public Member Functions

static InstrProfCallsitegetCallsiteInstrumentation (CallBase &CB)
 
- Static Public Member Functions inherited from llvm::AnalysisInfoMixin< CtxProfAnalysis >
static AnalysisKeyID ()
 Returns an opaque, unique ID for this analysis type.
 
- Static Public Member Functions inherited from llvm::PassInfoMixin< DerivedT >
static StringRef name ()
 Gets the name of the pass we are mixed into.
 

Static Public Attributes

static AnalysisKey Key
 

Detailed Description

Definition at line 77 of file CtxProfAnalysis.h.

Member Typedef Documentation

◆ Result

Definition at line 84 of file CtxProfAnalysis.h.

Constructor & Destructor Documentation

◆ CtxProfAnalysis()

CtxProfAnalysis::CtxProfAnalysis ( StringRef  Profile = "")
explicit

Definition at line 99 of file CtxProfAnalysis.cpp.

Member Function Documentation

◆ getCallsiteInstrumentation()

InstrProfCallsite * CtxProfAnalysis::getCallsiteInstrumentation ( CallBase CB)
static

◆ run()

PGOContextualProfile CtxProfAnalysis::run ( Module M,
ModuleAnalysisManager MAM 
)

Member Data Documentation

◆ Key

AnalysisKey CtxProfAnalysis::Key
static

Definition at line 81 of file CtxProfAnalysis.h.


The documentation for this class was generated from the following files: