LLVM 19.0.0git
Classes | Namespaces
IRPrintingPasses.h File Reference

This file defines passes to print out IR in various granularities. More...

#include "llvm/IR/PassManager.h"
#include <string>

Go to the source code of this file.

Classes

class  llvm::PrintModulePass
 Pass (for the new pass manager) for printing a Module as LLVM's text IR assembly. More...
 
class  llvm::PrintFunctionPass
 Pass (for the new pass manager) for printing a Function as LLVM's text IR assembly. More...
 

Namespaces

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

Detailed Description

This file defines passes to print out IR in various granularities.

The PrintModulePass pass simply prints out the entire module when it is executed. The PrintFunctionPass class is designed to be pipelined with other FunctionPass's, and prints out the functions of the module as they are processed.

Definition in file IRPrintingPasses.h.