LLVM 22.0.0git
SILoadStoreOptimizer.cpp File Reference

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

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "si-load-store-opt"

Definition at line 71 of file SILoadStoreOptimizer.cpp.

Function Documentation

◆ addDefsUsesToList()

void addDefsUsesToList ( const MachineInstr & MI,
DenseSet< Register > & RegDefs,
DenseSet< Register > & RegUses )
static

◆ getBufferFormatWithCompCount()

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( SILoadStoreOptimizerLegacy ,
DEBUG_TYPE ,
"SI Load Store Optimizer" ,
false ,
false  )

◆ mostAlignedValueInRange()

uint32_t mostAlignedValueInRange ( uint32_t Lo,
uint32_t Hi )
static

◆ needsConstrainedOpcode()

bool needsConstrainedOpcode ( const GCNSubtarget & STM,
ArrayRef< MachineMemOperand * > MMOs,
unsigned Width )
static

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 938 of file SILoadStoreOptimizer.cpp.

◆ false

SI Load Store false

Definition at line 939 of file SILoadStoreOptimizer.cpp.

◆ Optimizer

SI Load Store Optimizer

Definition at line 939 of file SILoadStoreOptimizer.cpp.