LLVM 24.0.0git
llvm::VOPDMatchInfo Struct Reference

Describes a matched VOPD pair. More...

#include "Target/AMDGPU/GCNVOPDUtils.h"

Public Member Functions

MachineInstrgetMIX () const
MachineInstrgetMIY () const

Public Attributes

MachineInstrInOrder [2]
 The component instructions in program order.
unsigned XIdx
 Which entry in InOrder is the X component.
bool IsVOPD3
SmallVector< VOPDLiteralFixup, 2 > LiteralFixups
 Immediates which have to be moved into scalar registers before the pair can be built.

Detailed Description

Describes a matched VOPD pair.

Definition at line 44 of file GCNVOPDUtils.h.

Member Function Documentation

◆ getMIX()

MachineInstr * llvm::VOPDMatchInfo::getMIX ( ) const
inline

Definition at line 55 of file GCNVOPDUtils.h.

References InOrder, and XIdx.

◆ getMIY()

MachineInstr * llvm::VOPDMatchInfo::getMIY ( ) const
inline

Definition at line 56 of file GCNVOPDUtils.h.

References InOrder, and XIdx.

Member Data Documentation

◆ InOrder

MachineInstr* llvm::VOPDMatchInfo::InOrder[2]

The component instructions in program order.

Definition at line 46 of file GCNVOPDUtils.h.

Referenced by getMIX(), and getMIY().

◆ IsVOPD3

bool llvm::VOPDMatchInfo::IsVOPD3

Definition at line 49 of file GCNVOPDUtils.h.

◆ LiteralFixups

SmallVector<VOPDLiteralFixup, 2> llvm::VOPDMatchInfo::LiteralFixups

Immediates which have to be moved into scalar registers before the pair can be built.

They all have the same 32-bit value, so one register serves the whole pair. Only a VOPD3 pair can need this.

Definition at line 53 of file GCNVOPDUtils.h.

◆ XIdx

unsigned llvm::VOPDMatchInfo::XIdx

Which entry in InOrder is the X component.

Definition at line 48 of file GCNVOPDUtils.h.

Referenced by getMIX(), and getMIY().


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