LLVM 20.0.0git
|
#include "RISCV.h"
#include "RISCVInstrInfo.h"
#include "RISCVSubtarget.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 "riscv-dead-defs" |
#define | RISCV_DEAD_REG_DEF_NAME "RISC-V Dead register definitions" |
Functions | |
STATISTIC (NumDeadDefsReplaced, "Number of dead definitions replaced") | |
INITIALIZE_PASS (RISCVDeadRegisterDefinitions, DEBUG_TYPE, RISCV_DEAD_REG_DEF_NAME, false, false) FunctionPass *llvm | |
#define DEBUG_TYPE "riscv-dead-defs" |
Definition at line 24 of file RISCVDeadRegisterDefinitions.cpp.
#define RISCV_DEAD_REG_DEF_NAME "RISC-V Dead register definitions" |
Definition at line 25 of file RISCVDeadRegisterDefinitions.cpp.
INITIALIZE_PASS | ( | RISCVDeadRegisterDefinitions | , |
DEBUG_TYPE | , | ||
RISCV_DEAD_REG_DEF_NAME | , | ||
false | , | ||
false | |||
) |
Definition at line 52 of file RISCVDeadRegisterDefinitions.cpp.
STATISTIC | ( | NumDeadDefsReplaced | , |
"Number of dead definitions replaced" | |||
) |