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

A pass which prints the call graph to a raw_ostream. More...

#include "llvm/Analysis/LazyCallGraph.h"

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

Public Member Functions

 LazyCallGraphPrinterPass (raw_ostream &OS)
 
PreservedAnalyses run (Module &M, ModuleAnalysisManager &AM)
 
- Public Member Functions inherited from llvm::PassInfoMixin< LazyCallGraphPrinterPass >
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< LazyCallGraphPrinterPass >
static StringRef name ()
 Gets the name of the pass we are mixed into.
 

Detailed Description

A pass which prints the call graph to a raw_ostream.

This is primarily useful for testing the analysis.

Definition at line 1284 of file LazyCallGraph.h.

Constructor & Destructor Documentation

◆ LazyCallGraphPrinterPass()

LazyCallGraphPrinterPass::LazyCallGraphPrinterPass ( raw_ostream OS)
explicit

Definition at line 1996 of file LazyCallGraph.cpp.

Member Function Documentation

◆ isRequired()

static bool llvm::LazyCallGraphPrinterPass::isRequired ( )
inlinestatic

Definition at line 1293 of file LazyCallGraph.h.

◆ run()

PreservedAnalyses LazyCallGraphPrinterPass::run ( Module M,
ModuleAnalysisManager AM 
)

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