LLVM 20.0.0git
|
#include "SILoadStoreOptimizer.h"
#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 (SILoadStoreOptimizerLegacy, DEBUG_TYPE, "SI Load Store Optimizer", false, false) INITIALIZE_PASS_END(SILoadStoreOptimizerLegacy | |
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 70 of file SILoadStoreOptimizer.cpp.
|
static |
Definition at line 904 of file SILoadStoreOptimizer.cpp.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::insert(), and MI.
|
static |
Definition at line 998 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 | ( | SILoadStoreOptimizerLegacy | , |
DEBUG_TYPE | , | ||
"SI Load Store Optimizer" | , | ||
false | , | ||
false | |||
) |
Definition at line 1029 of file SILoadStoreOptimizer.cpp.
References llvm::countl_zero(), Hi, and Lo.
|
static |
Definition at line 1719 of file SILoadStoreOptimizer.cpp.
References llvm::GCNSubtarget::isXNACKEnabled(), and llvm::ArrayRef< T >::size().
DEBUG_TYPE |
Definition at line 893 of file SILoadStoreOptimizer.cpp.
SI Load Store false |
Definition at line 894 of file SILoadStoreOptimizer.cpp.
SI Load Store Optimizer |
Definition at line 894 of file SILoadStoreOptimizer.cpp.