LLVM 20.0.0git
Functions | Variables
DXILPrettyPrinter.cpp File Reference
#include "DXILPrettyPrinter.h"
#include "DXILResourceAnalysis.h"
#include "DirectX.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Pass.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Functions

static void prettyPrintResources (raw_ostream &OS, const dxil::Resources &MDResources)
 
 INITIALIZE_PASS_BEGIN (DXILPrettyPrinterLegacy, "dxil-pretty-printer", "DXIL Metadata Pretty Printer", true, true) INITIALIZE_PASS_END(DXILPrettyPrinterLegacy
 

Variables

dxil pretty printer
 
dxil pretty DXIL Metadata Pretty Printer
 
dxil pretty DXIL Metadata Pretty true
 

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( DXILPrettyPrinterLegacy  ,
"dxil-pretty-printer"  ,
"DXIL Metadata Pretty Printer"  ,
true  ,
true   
)

◆ prettyPrintResources()

static void prettyPrintResources ( raw_ostream OS,
const dxil::Resources MDResources 
)
static

Definition at line 19 of file DXILPrettyPrinter.cpp.

References OS, and llvm::dxil::Resources::print().

Referenced by llvm::DXILPrettyPrinterPass::run().

Variable Documentation

◆ printer

dxil pretty printer

Definition at line 61 of file DXILPrettyPrinter.cpp.

Referenced by llvm::cl::printOptionDiff(), and printRegImmShift().

◆ Printer

dxil pretty DXIL Metadata Pretty Printer

◆ true

dxil pretty DXIL Metadata Pretty true

Definition at line 62 of file DXILPrettyPrinter.cpp.