LLVM 20.0.0git
Public Member Functions | List of all members
llvm::dxil::ValidatorVersionMD Class Reference

#include "Target/DirectX/DXILMetadata.h"

Public Member Functions

 ValidatorVersionMD (Module &M)
 
void update (VersionTuple ValidatorVer)
 
bool isEmpty ()
 
VersionTuple getAsVersionTuple ()
 

Detailed Description

Definition at line 24 of file DXILMetadata.h.

Constructor & Destructor Documentation

◆ ValidatorVersionMD()

ValidatorVersionMD::ValidatorVersionMD ( Module M)

Definition at line 24 of file DXILMetadata.cpp.

Member Function Documentation

◆ getAsVersionTuple()

VersionTuple ValidatorVersionMD::getAsVersionTuple ( )

Definition at line 43 of file DXILMetadata.cpp.

References llvm::NamedMDNode::getOperand(), and isEmpty().

◆ isEmpty()

bool ValidatorVersionMD::isEmpty ( )

Definition at line 41 of file DXILMetadata.cpp.

References llvm::NamedMDNode::getNumOperands().

Referenced by getAsVersionTuple(), translateMetadata(), and update().

◆ update()

void ValidatorVersionMD::update ( VersionTuple  ValidatorVer)

The documentation for this class was generated from the following files: