LLVM 20.0.0git
Macros | Functions
LoongArchDeadRegisterDefinitions.cpp File Reference
#include "LoongArch.h"
#include "LoongArchInstrInfo.h"
#include "LoongArchSubtarget.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/LiveDebugVariables.h"
#include "llvm/CodeGen/LiveIntervals.h"
#include "llvm/CodeGen/LiveStacks.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "loongarch-dead-defs"
 
#define LoongArch_DEAD_REG_DEF_NAME   "LoongArch Dead register definitions"
 

Functions

 STATISTIC (NumDeadDefsReplaced, "Number of dead definitions replaced")
 
 INITIALIZE_PASS (LoongArchDeadRegisterDefinitions, DEBUG_TYPE, LoongArch_DEAD_REG_DEF_NAME, false, false) FunctionPass *llvm
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "loongarch-dead-defs"

Definition at line 24 of file LoongArchDeadRegisterDefinitions.cpp.

◆ LoongArch_DEAD_REG_DEF_NAME

#define LoongArch_DEAD_REG_DEF_NAME   "LoongArch Dead register definitions"

Definition at line 25 of file LoongArchDeadRegisterDefinitions.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( LoongArchDeadRegisterDefinitions  ,
DEBUG_TYPE  ,
LoongArch_DEAD_REG_DEF_NAME  ,
false  ,
false   
)

Definition at line 52 of file LoongArchDeadRegisterDefinitions.cpp.

◆ STATISTIC()

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