LLVM 18.0.0git
Public Member Functions | List of all members
llvm::SPIRV::RequirementHandler Struct Reference

#include "Target/SPIRV/SPIRVModuleAnalysis.h"

Public Member Functions

 RequirementHandler ()
void clear ()
unsigned getMinVersion () const
unsigned getMaxVersion () const
const CapabilityListgetMinimalCapabilities () const
const SmallSet< Extension::Extension, 4 > & getExtensions () const
void addCapabilities (const CapabilityList &ToAdd)
void addCapability (Capability::Capability ToAdd)
void addExtensions (const ExtensionList &ToAdd)
void addExtension (Extension::Extension ToAdd)
void addRequirements (const Requirements &Req)
void getAndAddRequirements (SPIRV::OperandCategory::OperandCategory Category, uint32_t i, const SPIRVSubtarget &ST)
void checkSatisfiable (const SPIRVSubtarget &ST) const
void initAvailableCapabilities (const SPIRVSubtarget &ST)
void addAvailableCaps (const CapabilityList &ToAdd)
bool isCapabilityAvailable (Capability::Capability Cap) const
void removeCapabilityIf (const Capability::Capability ToRemove, const Capability::Capability IfPresent)

Detailed Description

Definition at line 60 of file SPIRVModuleAnalysis.h.

Constructor & Destructor Documentation

◆ RequirementHandler()

llvm::SPIRV::RequirementHandler::RequirementHandler ( )

Definition at line 82 of file SPIRVModuleAnalysis.h.

Member Function Documentation

◆ addAvailableCaps()

void llvm::SPIRV::RequirementHandler::addAvailableCaps ( const CapabilityList ToAdd)

◆ addCapabilities()

void llvm::SPIRV::RequirementHandler::addCapabilities ( const CapabilityList ToAdd)

Referenced by addCapability().

◆ addCapability()

void llvm::SPIRV::RequirementHandler::addCapability ( Capability::Capability  ToAdd)

Definition at line 101 of file SPIRVModuleAnalysis.h.

References addCapabilities().

Referenced by llvm::SPIRVModuleAnalysis::runOnModule().

◆ addExtension()

void llvm::SPIRV::RequirementHandler::addExtension ( Extension::Extension  ToAdd)

Definition at line 105 of file SPIRVModuleAnalysis.h.

References llvm::SmallSet< T, N, C >::insert().

◆ addExtensions()

void llvm::SPIRV::RequirementHandler::addExtensions ( const ExtensionList ToAdd)

◆ addRequirements()

void llvm::SPIRV::RequirementHandler::addRequirements ( const Requirements Req)

◆ checkSatisfiable()

void llvm::SPIRV::RequirementHandler::checkSatisfiable ( const SPIRVSubtarget ST) const

◆ clear()

void llvm::SPIRV::RequirementHandler::clear ( )

◆ getAndAddRequirements()

void llvm::SPIRV::RequirementHandler::getAndAddRequirements ( SPIRV::OperandCategory::OperandCategory  Category,
uint32_t  i,
const SPIRVSubtarget ST 

◆ getExtensions()

const SmallSet< Extension::Extension, 4 > & llvm::SPIRV::RequirementHandler::getExtensions ( ) const

Definition at line 94 of file SPIRVModuleAnalysis.h.

◆ getMaxVersion()

unsigned llvm::SPIRV::RequirementHandler::getMaxVersion ( ) const

Definition at line 92 of file SPIRVModuleAnalysis.h.

◆ getMinimalCapabilities()

const CapabilityList & llvm::SPIRV::RequirementHandler::getMinimalCapabilities ( ) const

Definition at line 93 of file SPIRVModuleAnalysis.h.

◆ getMinVersion()

unsigned llvm::SPIRV::RequirementHandler::getMinVersion ( ) const

Definition at line 91 of file SPIRVModuleAnalysis.h.

◆ initAvailableCapabilities()

void llvm::SPIRV::RequirementHandler::initAvailableCapabilities ( const SPIRVSubtarget ST)

◆ isCapabilityAvailable()

bool llvm::SPIRV::RequirementHandler::isCapabilityAvailable ( Capability::Capability  Cap) const

◆ removeCapabilityIf()

void llvm::SPIRV::RequirementHandler::removeCapabilityIf ( const Capability::Capability  ToRemove,
const Capability::Capability  IfPresent 

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