LLVM 20.0.0git
Macros | Functions
GCNCreateVOPD.cpp File Reference

Combine VALU pairs into VOPD instructions Only works on wave32 Has register requirements, we reject creating VOPD if the requirements are not met. More...

#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "GCNVOPDUtils.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "SIInstrInfo.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Debug.h"
#include <utility>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "gcn-create-vopd"
 

Functions

 STATISTIC (NumVOPDCreated, "Number of VOPD Insts Created.")
 

Detailed Description

Combine VALU pairs into VOPD instructions Only works on wave32 Has register requirements, we reject creating VOPD if the requirements are not met.

shouldCombineVOPD mutator in postRA machine scheduler puts candidate instructions for VOPD back-to-back

Definition in file GCNCreateVOPD.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "gcn-create-vopd"

Definition at line 35 of file GCNCreateVOPD.cpp.

Function Documentation

◆ STATISTIC()

STATISTIC ( NumVOPDCreated  ,
"Number of VOPD Insts Created."   
)