|
LLVM 22.0.0git
|
#include "llvm/CodeGen/MachineLateInstrsCleanup.h"#include "llvm/ADT/BitVector.h"#include "llvm/ADT/PostOrderIterator.h"#include "llvm/ADT/Statistic.h"#include "llvm/CodeGen/MachineBasicBlock.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineOperand.h"#include "llvm/CodeGen/TargetInstrInfo.h"#include "llvm/CodeGen/TargetRegisterInfo.h"#include "llvm/CodeGen/TargetSubtargetInfo.h"#include "llvm/InitializePasses.h"#include "llvm/Pass.h"#include "llvm/Support/Debug.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "machine-latecleanup" |
Functions | |
| STATISTIC (NumRemoved, "Number of redundant instructions removed.") | |
| INITIALIZE_PASS (MachineLateInstrsCleanupLegacy, DEBUG_TYPE, "Machine Late Instructions Cleanup Pass", false, false) bool MachineLateInstrsCleanupLegacy | |
| static bool | isCandidate (const MachineInstr *MI, Register &DefedReg, Register FrameReg) |
| #define DEBUG_TYPE "machine-latecleanup" |
Definition at line 34 of file MachineLateInstrsCleanup.cpp.
| INITIALIZE_PASS | ( | MachineLateInstrsCleanupLegacy | , |
| DEBUG_TYPE | , | ||
| "Machine Late Instructions Cleanup Pass" | , | ||
| false | , | ||
| false | ) |
Definition at line 94 of file MachineLateInstrsCleanup.cpp.
References DEBUG_TYPE.
|
static |
Definition at line 179 of file MachineLateInstrsCleanup.cpp.
References llvm::MachineOperand::getReg(), llvm::MachineOperand::isCImm(), llvm::MachineOperand::isCPI(), llvm::MachineOperand::isDead(), llvm::MachineOperand::isDef(), llvm::MachineOperand::isFPImm(), llvm::MachineOperand::isGlobal(), llvm::MachineOperand::isImm(), llvm::MachineOperand::isImplicit(), llvm::MachineOperand::isReg(), llvm::MachineOperand::isSymbol(), llvm::Register::isValid(), MI, and llvm::MCRegister::NoRegister.
Referenced by findBestInsertionSet().
| STATISTIC | ( | NumRemoved | , |
| "Number of redundant instructions removed." | ) |