LLVM 22.0.0git
AArch64DeadRegisterDefinitionsPass.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "aarch64-dead-defs"
#define AARCH64_DEAD_REG_DEF_NAME   "AArch64 Dead register definitions"

Functions

 STATISTIC (NumDeadDefsReplaced, "Number of dead definitions replaced")
 INITIALIZE_PASS (AArch64DeadRegisterDefinitions, "aarch64-dead-defs", AARCH64_DEAD_REG_DEF_NAME, false, false) static bool usesFrameIndex(const MachineInstr &MI)
static bool atomicReadDroppedOnZero (unsigned Opcode)

Macro Definition Documentation

◆ AARCH64_DEAD_REG_DEF_NAME

#define AARCH64_DEAD_REG_DEF_NAME   "AArch64 Dead register definitions"

Definition at line 31 of file AArch64DeadRegisterDefinitionsPass.cpp.

Referenced by INITIALIZE_PASS().

◆ DEBUG_TYPE

#define DEBUG_TYPE   "aarch64-dead-defs"

Definition at line 27 of file AArch64DeadRegisterDefinitionsPass.cpp.

Function Documentation

◆ atomicReadDroppedOnZero()

bool atomicReadDroppedOnZero ( unsigned Opcode)
static

Definition at line 73 of file AArch64DeadRegisterDefinitionsPass.cpp.

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( AArch64DeadRegisterDefinitions ,
"aarch64-dead-defs" ,
AARCH64_DEAD_REG_DEF_NAME ,
false ,
false  ) const &

Definition at line 57 of file AArch64DeadRegisterDefinitionsPass.cpp.

References AARCH64_DEAD_REG_DEF_NAME, const, if(), and MI.

◆ STATISTIC()

STATISTIC ( NumDeadDefsReplaced ,
"Number of dead definitions replaced"  )