LLVM 18.0.0git
Public Member Functions | List of all members
llvm::AMDGPU::VOPD::ComponentInfo Class Reference

#include "Target/AMDGPU/Utils/AMDGPUBaseInfo.h"

Inheritance diagram for llvm::AMDGPU::VOPD::ComponentInfo:
Inheritance graph

Public Member Functions

 ComponentInfo (const MCInstrDesc &OpDesc, ComponentKind Kind=ComponentKind::SINGLE)
 ComponentInfo (const MCInstrDesc &OpDesc, const ComponentProps &OpXProps)
unsigned getIndexInParsedOperands (unsigned CompOprIdx) const
- Public Member Functions inherited from llvm::AMDGPU::VOPD::ComponentLayout
 ComponentLayout (ComponentKind Kind)
 ComponentLayout (const ComponentProps &OpXProps)
unsigned getIndexOfDstInMCOperands () const
unsigned getIndexOfSrcInMCOperands (unsigned CompSrcIdx) const
unsigned getIndexOfDstInParsedOperands () const
unsigned getIndexOfSrcInParsedOperands (unsigned CompSrcIdx) const
- Public Member Functions inherited from llvm::AMDGPU::VOPD::ComponentProps
 ComponentProps ()=default
 ComponentProps (const MCInstrDesc &OpDesc)
unsigned getCompSrcOperandsNum () const
unsigned getCompParsedSrcOperandsNum () const
bool hasMandatoryLiteral () const
unsigned getMandatoryLiteralCompOperandIndex () const
bool hasRegSrcOperand (unsigned CompSrcIdx) const
bool hasSrc2Acc () const

Detailed Description

Definition at line 711 of file AMDGPUBaseInfo.h.

Constructor & Destructor Documentation

◆ ComponentInfo() [1/2]

llvm::AMDGPU::VOPD::ComponentInfo::ComponentInfo ( const MCInstrDesc OpDesc,
ComponentKind  Kind = ComponentKind::SINGLE 

Definition at line 714 of file AMDGPUBaseInfo.h.

◆ ComponentInfo() [2/2]

llvm::AMDGPU::VOPD::ComponentInfo::ComponentInfo ( const MCInstrDesc OpDesc,
const ComponentProps OpXProps 

Definition at line 719 of file AMDGPUBaseInfo.h.

Member Function Documentation

◆ getIndexInParsedOperands()

unsigned llvm::AMDGPU::VOPD::ComponentInfo::getIndexInParsedOperands ( unsigned  CompOprIdx) const

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