LLVM 22.0.0git
|
#include "SILoadStoreOptimizer.h"
#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "SIDefines.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 71 of file SILoadStoreOptimizer.cpp.
|
static |
Definition at line 949 of file SILoadStoreOptimizer.cpp.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::insert(), and MI.
|
static |
Definition at line 1043 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 | ) |
References DEBUG_TYPE, and INITIALIZE_PASS_DEPENDENCY.
Definition at line 1074 of file SILoadStoreOptimizer.cpp.
References llvm::countl_zero(), llvm::Hi, llvm::Lo, and llvm::maskLeadingOnes().
|
static |
Definition at line 1845 of file SILoadStoreOptimizer.cpp.
References getAlign(), llvm::GCNSubtarget::isXNACKEnabled(), and llvm::ArrayRef< T >::size().
DEBUG_TYPE |
Definition at line 938 of file SILoadStoreOptimizer.cpp.
SI Load Store false |
Definition at line 939 of file SILoadStoreOptimizer.cpp.
SI Load Store Optimizer |
Definition at line 939 of file SILoadStoreOptimizer.cpp.