LLVM: lib/Target/AMDGPU/SILoadStoreOptimizer.cpp File Reference (original) (raw)
Go to the source code of this file.
| 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) |
◆ DEBUG_TYPE
#define DEBUG_TYPE "si-load-store-opt"
◆ addDefsUsesToList()
◆ INITIALIZE_PASS_BEGIN()
| INITIALIZE_PASS_BEGIN |
( |
SILoadStoreOptimizerLegacy |
, |
| DEBUG_TYPE |
, |
|
|
| "SI Load Store Optimizer" |
, |
|
|
| false |
, |
|
|
| false |
) |
|
|
◆ mostAlignedValueInRange()
◆ needsConstrainedOpcode()
◆ DEBUG_TYPE
◆ false
◆ Optimizer