LLVM 20.0.0git
Macros | Functions
GCNDPPCombine.cpp File Reference
#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "gcn-dpp-combine"
 

Functions

 STATISTIC (NumDPPMovsCombined, "Number of DPP moves combined.")
 
static unsigned getOperandSize (MachineInstr &MI, unsigned Idx, MachineRegisterInfo &MRI)
 
static bool isIdentityValue (unsigned OrigMIOp, MachineOperand *OldOpnd)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "gcn-dpp-combine"

Definition at line 48 of file GCNDPPCombine.cpp.

Function Documentation

◆ getOperandSize()

static unsigned getOperandSize ( MachineInstr MI,
unsigned  Idx,
MachineRegisterInfo MRI 
)
static

Definition at line 195 of file GCNDPPCombine.cpp.

References Idx, MI, MRI, and TRI.

◆ isIdentityValue()

static bool isIdentityValue ( unsigned  OrigMIOp,
MachineOperand OldOpnd 
)
static

◆ STATISTIC()

STATISTIC ( NumDPPMovsCombined  ,
"Number of DPP moves combined."   
)