LLVM 19.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::SPIRV::SpecialTypeDescriptor Struct Reference

#include "Target/SPIRV/SPIRVDuplicatesTracker.h"

Inheritance diagram for llvm::SPIRV::SpecialTypeDescriptor:
Inheritance graph
[legend]

Public Types

enum  SpecialTypeKind {
  STK_Empty = 0 , STK_Image , STK_SampledImage , STK_Sampler ,
  STK_Pipe , STK_DeviceEvent , STK_Pointer , STK_Last = -1
}
 

Public Member Functions

 SpecialTypeDescriptor ()=delete
 
 SpecialTypeDescriptor (SpecialTypeKind K)
 
unsigned getHash () const
 
virtual ~SpecialTypeDescriptor ()
 

Public Attributes

SpecialTypeKind Kind
 
unsigned Hash
 

Detailed Description

Definition at line 54 of file SPIRVDuplicatesTracker.h.

Member Enumeration Documentation

◆ SpecialTypeKind

Enumerator
STK_Empty 
STK_Image 
STK_SampledImage 
STK_Sampler 
STK_Pipe 
STK_DeviceEvent 
STK_Pointer 
STK_Last 

Definition at line 55 of file SPIRVDuplicatesTracker.h.

Constructor & Destructor Documentation

◆ SpecialTypeDescriptor() [1/2]

llvm::SPIRV::SpecialTypeDescriptor::SpecialTypeDescriptor ( )
delete

◆ SpecialTypeDescriptor() [2/2]

llvm::SPIRV::SpecialTypeDescriptor::SpecialTypeDescriptor ( SpecialTypeKind  K)
inline

Definition at line 70 of file SPIRVDuplicatesTracker.h.

References Hash, and Kind.

◆ ~SpecialTypeDescriptor()

virtual llvm::SPIRV::SpecialTypeDescriptor::~SpecialTypeDescriptor ( )
inlinevirtual

Definition at line 74 of file SPIRVDuplicatesTracker.h.

Member Function Documentation

◆ getHash()

unsigned llvm::SPIRV::SpecialTypeDescriptor::getHash ( ) const
inline

Member Data Documentation

◆ Hash

unsigned llvm::SPIRV::SpecialTypeDescriptor::Hash

◆ Kind

SpecialTypeKind llvm::SPIRV::SpecialTypeDescriptor::Kind

The documentation for this struct was generated from the following file: