LLVM 20.0.0git
|
#include "DXILPrettyPrinter.h"
#include "DXILResourceAnalysis.h"
#include "DirectX.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Analysis/DXILResource.h"
#include "llvm/IR/PassManager.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Support/FormatAdapters.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Functions | |
static StringRef | getRCName (dxil::ResourceClass RC) |
static StringRef | getRCPrefix (dxil::ResourceClass RC) |
static StringRef | getFormatName (const dxil::ResourceTypeInfo &RI) |
static StringRef | getTextureDimName (dxil::ResourceKind RK) |
static void | prettyPrintResources (raw_ostream &OS, const DXILBindingMap &DBM, DXILResourceTypeMap &DRTM, 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 |
|
static |
Definition at line 51 of file DXILPrettyPrinter.cpp.
References llvm::dxil::ResourceTypeInfo::TypedInfo::ElementTy, llvm::dxil::ResourceTypeInfo::getTyped(), llvm::dxil::ResourceTypeInfo::isCBuffer(), llvm::dxil::ResourceTypeInfo::isSampler(), llvm::dxil::ResourceTypeInfo::isStruct(), llvm::dxil::ResourceTypeInfo::isTyped(), and llvm_unreachable.
Referenced by prettyPrintResources().
|
static |
Definition at line 23 of file DXILPrettyPrinter.cpp.
References llvm_unreachable.
Referenced by prettyPrintResources().
|
static |
Definition at line 37 of file DXILPrettyPrinter.cpp.
References llvm_unreachable.
|
static |
Definition at line 101 of file DXILPrettyPrinter.cpp.
References llvm_unreachable.
INITIALIZE_PASS_BEGIN | ( | DXILPrettyPrinterLegacy | , |
"dxil-pretty-printer" | , | ||
"DXIL Metadata Pretty Printer" | , | ||
true | , | ||
true | |||
) |
|
static |
Definition at line 221 of file DXILPrettyPrinter.cpp.
References assert(), llvm::formatv(), getFormatName(), getRCName(), llvm::dxil::ResourceTypeInfo::getResourceClass(), llvm::dxil::Resources::hasCBuffers(), llvm::dxil::Resources::hasUAVs(), Name, OS, llvm::dxil::Resources::printCBuffers(), and llvm::dxil::Resources::printUAVs().
Referenced by llvm::DXILPrettyPrinterPass::run().
dxil pretty printer |
Definition at line 304 of file DXILPrettyPrinter.cpp.
Referenced by llvm::cl::printOptionDiff(), and printRegImmShift().
dxil pretty DXIL Metadata Pretty Printer |
Definition at line 305 of file DXILPrettyPrinter.cpp.
Referenced by llvm::CodeGenTargetMachineImpl::addAsmPrinter(), llvm::CodeGenTargetMachineImpl::addPassesToEmitMC(), llvm::AVRMCInstLower::AVRMCInstLower(), llvm::MCInst::dump_pretty(), llvm::pdb::SymbolGroup::formatFromChecksumsOffset(), llvm::pdb::SymbolGroup::formatFromFileName(), formatInternal(), GetSymbolRef(), llvm::pdb::operator<<(), printAmdKernelCodeField(), llvm::VPlan::printDOT(), llvm::ScopedPrinter::printList(), llvm::printMIR(), llvm::codeview::printTypeIndex(), writeDIArgList(), writeDIAssignID(), writeDIBasicType(), writeDICommonBlock(), writeDICompileUnit(), writeDICompositeType(), writeDIDerivedType(), writeDIEnumerator(), writeDIFile(), writeDIGenericSubrange(), writeDIGlobalVariable(), writeDIGlobalVariableExpression(), writeDIImportedEntity(), writeDILabel(), writeDILexicalBlock(), writeDILexicalBlockFile(), writeDILocalVariable(), writeDILocation(), writeDIMacro(), writeDIMacroFile(), writeDIModule(), writeDINamespace(), writeDIObjCProperty(), writeDIStringType(), writeDISubprogram(), writeDISubrange(), writeDISubroutineType(), writeDITemplateTypeParameter(), writeDITemplateValueParameter(), and writeGenericDINode().
dxil pretty DXIL Metadata Pretty true |
Definition at line 305 of file DXILPrettyPrinter.cpp.