LLVM 20.0.0git
|
#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/InitializePasses.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "si-load-store-opt" |
Functions | |
INITIALIZE_PASS_BEGIN (SILoadStoreOptimizer, DEBUG_TYPE, "SI Load Store Optimizer", false, false) INITIALIZE_PASS_END(SILoadStoreOptimizer | |
static void | addDefsUsesToList (const MachineInstr &MI, DenseSet< Register > &RegDefs, DenseSet< Register > &RegUses) |
static unsigned | getBufferFormatWithCompCount (unsigned OldFormat, unsigned ComponentCount, const GCNSubtarget &STI) |
static uint32_t | mostAlignedValueInRange (uint32_t Lo, uint32_t Hi) |
static bool | needsConstrainedOpcode (const GCNSubtarget &STM, ArrayRef< MachineMemOperand * > MMOs, unsigned Width) |
Variables | |
DEBUG_TYPE | |
SI Load Store | Optimizer |
SI Load Store | false |
#define DEBUG_TYPE "si-load-store-opt" |
Definition at line 69 of file SILoadStoreOptimizer.cpp.
|
static |
Definition at line 899 of file SILoadStoreOptimizer.cpp.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::insert(), and MI.
|
static |
Definition at line 993 of file SILoadStoreOptimizer.cpp.
References assert(), llvm::AMDGPU::GcnBufferFormatInfo::BitsPerComp, llvm::AMDGPU::GcnBufferFormatInfo::Format, llvm::AMDGPU::getGcnBufferFormatInfo(), and llvm::AMDGPU::GcnBufferFormatInfo::NumFormat.
INITIALIZE_PASS_BEGIN | ( | SILoadStoreOptimizer | , |
DEBUG_TYPE | , | ||
"SI Load Store Optimizer" | , | ||
false | , | ||
false | |||
) |
Definition at line 1024 of file SILoadStoreOptimizer.cpp.
References llvm::countl_zero(), Hi, and Lo.
|
static |
Definition at line 1714 of file SILoadStoreOptimizer.cpp.
References llvm::GCNSubtarget::isXNACKEnabled(), and llvm::ArrayRef< T >::size().
DEBUG_TYPE |
Definition at line 888 of file SILoadStoreOptimizer.cpp.
SI Load Store false |
Definition at line 889 of file SILoadStoreOptimizer.cpp.
SI Load Store Optimizer |
Definition at line 888 of file SILoadStoreOptimizer.cpp.