LLVM 24.0.0git
GCNSubtarget.cpp File Reference

Implements the GCN specific subclass of TargetSubtarget. More...

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "gcn-subtarget"
#define GET_SUBTARGETINFO_TARGET_DESC
#define GET_SUBTARGETINFO_CTOR
#define AMDGPUSubtarget   GCNSubtarget

Functions

static AMDGPUSubtarget::Generation computeDefaultGeneration (const Triple &TT)
static const MachineOperand * getVOP3PSourceModifierFromOpIdx (const MachineInstr &UseI, int UseOpIdx, const SIInstrInfo &InstrInfo)
static unsigned getEffectiveSubRegIdx (const SIRegisterInfo &TRI, const SIInstrInfo &InstrInfo, const MachineInstr &I, const MachineOperand &Op)

Detailed Description

Implements the GCN specific subclass of TargetSubtarget.

Definition in file GCNSubtarget.cpp.

Macro Definition Documentation

◆ AMDGPUSubtarget

Definition at line 39 of file GCNSubtarget.cpp.

◆ DEBUG_TYPE

#define DEBUG_TYPE   "gcn-subtarget"

Definition at line 35 of file GCNSubtarget.cpp.

◆ GET_SUBTARGETINFO_CTOR

#define GET_SUBTARGETINFO_CTOR

Definition at line 38 of file GCNSubtarget.cpp.

◆ GET_SUBTARGETINFO_TARGET_DESC

#define GET_SUBTARGETINFO_TARGET_DESC

Definition at line 37 of file GCNSubtarget.cpp.

Function Documentation

◆ computeDefaultGeneration()

◆ getEffectiveSubRegIdx()

◆ getVOP3PSourceModifierFromOpIdx()

const MachineOperand * getVOP3PSourceModifierFromOpIdx ( const MachineInstr & UseI,
int UseOpIdx,
const SIInstrInfo & InstrInfo )
static

Definition at line 751 of file GCNSubtarget.cpp.

References llvm::MachineInstr::getOpcode().

Referenced by getEffectiveSubRegIdx().