LLVM 23.0.0git
llvm::SPIRVTypeInst Class Reference

#include "Target/SPIRV/SPIRVTypeInst.h"

Public Member Functions

 SPIRVTypeInst (const MachineInstr &MI)
 SPIRVTypeInst (const MachineInstr *MI=nullptr)
 SPIRVTypeInst (const SPIRVTypeInst &Other)=default
SPIRVTypeInstoperator= (const SPIRVTypeInst &Other)=default
const MachineInstroperator* () const
const MachineInstroperator-> () const
 operator const MachineInstr * () const
bool operator== (const SPIRVTypeInst &Other) const
bool operator!= (const SPIRVTypeInst &Other) const
bool operator== (const MachineInstr *Other) const
bool operator!= (const MachineInstr *Other) const
 operator bool () const

Friends

struct DenseMapInfo< SPIRVTypeInst >

Detailed Description

Definition at line 22 of file SPIRVTypeInst.h.

Constructor & Destructor Documentation

◆ SPIRVTypeInst() [1/3]

llvm::SPIRVTypeInst::SPIRVTypeInst ( const MachineInstr & MI)
inline

Definition at line 31 of file SPIRVTypeInst.h.

◆ SPIRVTypeInst() [2/3]

llvm::SPIRVTypeInst::SPIRVTypeInst ( const MachineInstr * MI = nullptr)

Definition at line 22 of file SPIRVTypeInst.cpp.

References assert(), and llvm::definesATypeRegister().

◆ SPIRVTypeInst() [3/3]

llvm::SPIRVTypeInst::SPIRVTypeInst ( const SPIRVTypeInst & Other)
default

References llvm::Other.

Member Function Documentation

◆ operator bool()

llvm::SPIRVTypeInst::operator bool ( ) const
inline

Definition at line 49 of file SPIRVTypeInst.h.

◆ operator const MachineInstr *()

llvm::SPIRVTypeInst::operator const MachineInstr * ( ) const
inline

Definition at line 41 of file SPIRVTypeInst.h.

◆ operator!=() [1/2]

bool llvm::SPIRVTypeInst::operator!= ( const MachineInstr * Other) const
inline

Definition at line 47 of file SPIRVTypeInst.h.

References llvm::Other.

◆ operator!=() [2/2]

bool llvm::SPIRVTypeInst::operator!= ( const SPIRVTypeInst & Other) const
inline

Definition at line 44 of file SPIRVTypeInst.h.

References llvm::Other.

◆ operator*()

const MachineInstr & llvm::SPIRVTypeInst::operator* ( ) const
inline

Definition at line 39 of file SPIRVTypeInst.h.

◆ operator->()

const MachineInstr * llvm::SPIRVTypeInst::operator-> ( ) const
inline

Definition at line 40 of file SPIRVTypeInst.h.

◆ operator=()

SPIRVTypeInst & llvm::SPIRVTypeInst::operator= ( const SPIRVTypeInst & Other)
default

References llvm::Other.

◆ operator==() [1/2]

bool llvm::SPIRVTypeInst::operator== ( const MachineInstr * Other) const
inline

Definition at line 46 of file SPIRVTypeInst.h.

References llvm::Other.

◆ operator==() [2/2]

bool llvm::SPIRVTypeInst::operator== ( const SPIRVTypeInst & Other) const
inline

Definition at line 43 of file SPIRVTypeInst.h.

References llvm::Other.

◆ DenseMapInfo< SPIRVTypeInst >

friend struct DenseMapInfo< SPIRVTypeInst >
friend

Definition at line 49 of file SPIRVTypeInst.h.


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