LLVM: lib/Target/AMDGPU/GCNVOPDUtils.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "gcn-vopd-utils"

DEBUG_TYPE

#define DEBUG_TYPE "gcn-vopd-utils"

shouldScheduleVOPDAdjacent()

Check if the instr pair, FirstMI and SecondMI, should be scheduled together.

Given SecondMI, when FirstMI is unspecified, then check if SecondMI may be part of a fused pair at all.

Definition at line 188 of file GCNVOPDUtils.cpp.

References llvm::checkVOPDRegConstraints(), llvm::AMDGPU::getCanBeVOPD(), llvm::MachineInstr::getOpcode(), llvm::SIInstrInfo::getSubtarget(), llvm::AMDGPU::getVOPDEncodingFamily(), Opc, and TII.

Referenced by llvm::createVOPDPairingMutation().