LLVM 23.0.0git
AMDGPUHWEvents.cpp File Reference
#include "AMDGPUHWEvents.h"
#include "GCNSubtarget.h"
#include "SIInstrInfo.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "AMDGPUHWEvents.def"

Go to the source code of this file.

Namespaces

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

Macros

#define AMDGPU_HW_EVENT(E, V)
#define AMDGPU_LAST_HW_EVENT(X)

Functions

static HWEvents llvm::AMDGPU::getExpertSchedulingEventType (const MachineInstr &Inst, const SIInstrInfo &TII)
HWEvents llvm::AMDGPU::getSimplifiedVMEMEventsFor (const MachineInstr &Inst, const SIInstrInfo &TII)
static HWEvents llvm::AMDGPU::getEventsForImpl (const MachineInstr &Inst, const GCNSubtarget &ST, const SIInstrInfo &TII)
HWEvents llvm::AMDGPU::getEventsFor (const MachineInstr &Inst, const GCNSubtarget &ST, bool IsExpertMode)
raw_ostreamllvm::operator<< (raw_ostream &OS, AMDGPU::HWEvents Events)

Macro Definition Documentation

◆ AMDGPU_HW_EVENT

#define AMDGPU_HW_EVENT ( E,
V )
Value:
if (Events & AMDGPU::HWEvents::E) \
OS << LS << #E << " ";
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")

◆ AMDGPU_LAST_HW_EVENT

#define AMDGPU_LAST_HW_EVENT ( X)