LLVM 22.0.0git
IRPrintingPasses.h File Reference

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

#include "llvm/Support/Compiler.h"
#include <string>

Go to the source code of this file.

Namespaces

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

Functions

LLVM_ABI ModulePassllvm::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.
LLVM_ABI 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.
LLVM_ABI void llvm::printLLVMNameWithoutPrefix (raw_ostream &OS, StringRef Name)
 Print out a name of an LLVM value without any prefixes.
LLVM_ABI 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.