LLVM 22.0.0git
|
#include "llvm/CodeGen/ReachingDefAnalysis.h"
#include "llvm/ADT/SetOperations.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/CodeGen/LiveRegUnits.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Support/Debug.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "reaching-defs-analysis" |
Functions | |
static bool | isValidReg (const MachineOperand &MO) |
static bool | isValidRegUse (const MachineOperand &MO) |
static bool | isValidRegUseOf (const MachineOperand &MO, Register Reg, const TargetRegisterInfo *TRI) |
static bool | isValidRegDef (const MachineOperand &MO) |
static bool | isValidRegDefOf (const MachineOperand &MO, Register Reg, const TargetRegisterInfo *TRI) |
static bool | isFIDef (const MachineInstr &MI, int FrameIndex, const TargetInstrInfo *TII) |
static bool | mayHaveSideEffects (MachineInstr &MI) |
#define DEBUG_TYPE "reaching-defs-analysis" |
Definition at line 21 of file ReachingDefAnalysis.cpp.
|
static |
Definition at line 106 of file ReachingDefAnalysis.cpp.
Referenced by llvm::ReachingDefInfo::getLocalLiveOutMIDef().
|
static |
Definition at line 80 of file ReachingDefAnalysis.cpp.
References llvm::MachineOperand::getReg(), and llvm::MachineOperand::isReg().
Referenced by isValidRegDef(), and isValidRegUse().
|
static |
Definition at line 95 of file ReachingDefAnalysis.cpp.
References llvm::MachineOperand::isDef(), and isValidReg().
Referenced by llvm::ReachingDefInfo::collectKilledOperands(), and isValidRegDefOf().
|
static |
Definition at line 99 of file ReachingDefAnalysis.cpp.
References llvm::MachineOperand::getReg(), isValidRegDef(), Reg, and TRI.
Referenced by llvm::ReachingDefInfo::getLocalLiveOutMIDef(), llvm::ReachingDefInfo::isReachingDefLiveOut(), and llvm::ReachingDefInfo::isSafeToDefRegAt().
|
static |
Definition at line 84 of file ReachingDefAnalysis.cpp.
References llvm::MachineOperand::isUse(), and isValidReg().
Referenced by llvm::ReachingDefInfo::collectKilledOperands(), and isValidRegUseOf().
|
static |
Definition at line 88 of file ReachingDefAnalysis.cpp.
References llvm::MachineOperand::getReg(), isValidRegUse(), Reg, and TRI.
Referenced by llvm::ReachingDefInfo::getLiveInUses(), and llvm::ReachingDefInfo::getReachingLocalUses().
|
static |
Definition at line 681 of file ReachingDefAnalysis.cpp.
References MI.
Referenced by llvm::ReachingDefInfo::collectKilledOperands().