

|
LLVM 23.0.0git
|
#include "llvm/Analysis/DXILMetadataAnalysis.h"#include "llvm/ADT/APInt.h"#include "llvm/ADT/StringExtras.h"#include "llvm/ADT/StringRef.h"#include "llvm/IR/Constants.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/Metadata.h"#include "llvm/IR/Module.h"#include "llvm/InitializePasses.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Compression.h"#include "llvm/Support/ErrorHandling.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "dxil-metadata-analysis" |
Functions | |
| static ModuleMetadataInfo | collectMetadataInfo (Module &M) |
Variables | |
| cl::OptionCategory | DXContainerCategory ("DXContainer Options") |
| static cl::opt< dxbc::SourceInfo::Contents::CompressionType > | CompressSRCI ("compress-srci", cl::ValueOptional, cl::desc("Choose SCRI part compression:"), cl::values(clEnumValN(dxbc::SourceInfo::Contents::CompressionType::None, "none", "No compression"), clEnumValN(dxbc::SourceInfo::Contents::CompressionType::Zlib, "zlib", "Use zlib")), cl::cat(DXContainerCategory)) |
| #define DEBUG_TYPE "dxil-metadata-analysis" |
Definition at line 22 of file DXILMetadataAnalysis.cpp.
|
static |
Definition at line 37 of file DXILMetadataAnalysis.cpp.
References assert(), llvm::cast(), CompressSRCI, llvm::dxil::ModuleMetadataInfo::DXILVersion, llvm::StringRef::empty(), llvm::dxil::ModuleMetadataInfo::EntryPropertyVec, llvm::mdconst::extract(), F, llvm::NamedMDNode::getOperand(), llvm::Attribute::getValueAsString(), llvm::compression::zlib::isAvailable(), llvm::Attribute::isValid(), llvm::dxil::EntryProperties::NumThreadsX, llvm::dxil::EntryProperties::NumThreadsY, llvm::dxil::EntryProperties::NumThreadsZ, llvm::MDNode::operands(), llvm::NamedMDNode::operands(), llvm::dxil::ModuleMetadataInfo::ShaderModelVersion, llvm::dxil::ModuleMetadataInfo::ShaderProfile, llvm::dxil::EntryProperties::ShaderStage, llvm::SmallVectorTemplateCommon< T, typename >::size(), llvm::dxil::ModuleMetadataInfo::SourceInfo, llvm::StringRef::split(), Success, T, llvm::to_integer(), llvm::dxil::ModuleMetadataInfo::ValidatorVersion, llvm::dxil::EntryProperties::WaveSizeMax, llvm::dxil::EntryProperties::WaveSizeMin, and llvm::dxil::EntryProperties::WaveSizePref.
Referenced by llvm::DXILMetadataAnalysis::run(), and llvm::DXILMetadataAnalysisWrapperPass::runOnModule().
|
static |
Referenced by collectMetadataInfo().
| cl::OptionCategory DXContainerCategory("DXContainer Options") | ( | "DXContainer Options" | ) |