LLVM 24.0.0git
SIFormMemoryClauses.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "si-form-memory-clauses"

Functions

 INITIALIZE_PASS_BEGIN (SIFormMemoryClausesLegacy, DEBUG_TYPE, "SI Form memory clauses", false, false) INITIALIZE_PASS_END(SIFormMemoryClausesLegacy
static bool isVMEMClauseInst (const MachineInstr &MI)
static bool isSMEMClauseInst (const MachineInstr &MI)
static bool isValidClauseInst (const MachineInstr &MI, bool IsVMEMClause)
static RegState getMopState (const MachineOperand &MO)

Variables

 DEBUG_TYPE
SI Form memory clauses
SI Form memory false

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "si-form-memory-clauses"

Definition at line 25 of file SIFormMemoryClauses.cpp.

Function Documentation

◆ getMopState()

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( SIFormMemoryClausesLegacy ,
DEBUG_TYPE ,
"SI Form memory clauses" ,
false ,
false  )

◆ isSMEMClauseInst()

bool isSMEMClauseInst ( const MachineInstr & MI)
static

Definition at line 93 of file SIFormMemoryClauses.cpp.

References llvm::SIInstrInfo::isSMRD(), and MI.

Referenced by isValidClauseInst().

◆ isValidClauseInst()

bool isValidClauseInst ( const MachineInstr & MI,
bool IsVMEMClause )
static

◆ isVMEMClauseInst()

bool isVMEMClauseInst ( const MachineInstr & MI)
static

Definition at line 89 of file SIFormMemoryClauses.cpp.

References const, llvm::SIInstrInfo::isVMEM(), isVMEMClauseInst(), and MI.

Referenced by isValidClauseInst(), and isVMEMClauseInst().

Variable Documentation

◆ clauses

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 82 of file SIFormMemoryClauses.cpp.

◆ false

SI Form memory false

Definition at line 83 of file SIFormMemoryClauses.cpp.