LLVM 23.0.0git
GCNVOPDUtils.h File Reference
#include "llvm/CodeGen/MachineScheduler.h"
#include <optional>

Go to the source code of this file.

Classes

struct  llvm::VOPDMatchInfo
 Describes a matched VOPD pair: which instruction is the X component and which is the Y component, and whether this is a VOPD3 encoding. More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Functions

bool llvm::checkVOPDRegConstraints (const SIInstrInfo &TII, const MachineInstr &FirstMI, const MachineInstr &SecondMI, bool IsVOPD3, bool AllowSameVGPR)
std::optional< VOPDMatchInfollvm::tryMatchVOPDPair (const SIInstrInfo &TII, MachineInstr &FirstMI, MachineInstr &SecondMI)
 Check whether FirstMI and SecondMI can be combined into a VOPD instruction.
std::unique_ptr< ScheduleDAGMutationllvm::createVOPDPairingMutation ()