LLVM 20.0.0git
|
#include "Target/DirectX/DXILMetadata.h"
Public Member Functions | |
ValidatorVersionMD (Module &M) | |
void | update (VersionTuple ValidatorVer) |
bool | isEmpty () |
VersionTuple | getAsVersionTuple () |
Definition at line 24 of file DXILMetadata.h.
ValidatorVersionMD::ValidatorVersionMD | ( | Module & | M | ) |
Definition at line 24 of file DXILMetadata.cpp.
VersionTuple ValidatorVersionMD::getAsVersionTuple | ( | ) |
Definition at line 43 of file DXILMetadata.cpp.
References llvm::NamedMDNode::getOperand(), and isEmpty().
bool ValidatorVersionMD::isEmpty | ( | ) |
Definition at line 41 of file DXILMetadata.cpp.
References llvm::NamedMDNode::getNumOperands().
Referenced by getAsVersionTuple(), translateMetadata(), and update().
void ValidatorVersionMD::update | ( | VersionTuple | ValidatorVer | ) |
Definition at line 27 of file DXILMetadata.cpp.
References llvm::NamedMDNode::addOperand(), B, llvm::ConstantAsMetadata::get(), llvm::MDNode::get(), llvm::Module::getContext(), llvm::VersionTuple::getMajor(), llvm::VersionTuple::getMinor(), llvm::NamedMDNode::getParent(), isEmpty(), and llvm::NamedMDNode::setOperand().
Referenced by translateMetadata().