LLVM 19.0.0git
Namespaces | Functions
IRPrintingPasses.h File Reference

This file contains an interface for creating legacy passes to print out IR in various granularities. More...

#include <string>

Go to the source code of this file.

Namespaces

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

Functions

ModulePass * llvm::createPrintModulePass (raw_ostream &OS, const std::string &Banner="", bool ShouldPreserveUseListOrder=false)
 Create and return a pass that writes the module to the specified raw_ostream.
 
FunctionPassllvm::createPrintFunctionPass (raw_ostream &OS, const std::string &Banner="")
 Create and return a pass that prints functions to the specified raw_ostream as they are processed.
 
void llvm::printLLVMNameWithoutPrefix (raw_ostream &OS, StringRef Name)
 Print out a name of an LLVM value without any prefixes.
 
bool llvm::isIRPrintingPass (Pass *P)
 Return true if a pass is for IR printing.
 

Detailed Description

This file contains an interface for creating legacy passes to print out IR in various granularities.

Definition in file IRPrintingPasses.h.