LLVM 20.0.0git
|
#include "llvm/Analysis/CtxProfAnalysis.h"
Public Types | |
enum class | PrintMode { Everything , JSON } |
Public Member Functions | |
CtxProfAnalysisPrinterPass (raw_ostream &OS) | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &MAM) |
Public Member Functions inherited from llvm::PassInfoMixin< CtxProfAnalysisPrinterPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< CtxProfAnalysisPrinterPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Definition at line 140 of file CtxProfAnalysis.h.
|
strong |
Enumerator | |
---|---|
Everything | |
JSON |
Definition at line 143 of file CtxProfAnalysis.h.
|
explicit |
Definition at line 198 of file CtxProfAnalysis.cpp.
|
inlinestatic |
Definition at line 147 of file CtxProfAnalysis.h.
PreservedAnalyses CtxProfAnalysisPrinterPass::run | ( | Module & | M, |
ModuleAnalysisManager & | MAM | ||
) |
Definition at line 201 of file CtxProfAnalysis.cpp.
References llvm::PreservedAnalyses::all(), llvm::CallingConv::C, llvm::Counters, Everything, llvm::formatv(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::Guid, JSON, MAM, and llvm::json::toJSON().