LLVM 20.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/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-deps-analysis" |
Functions | |
INITIALIZE_PASS (ReachingDefAnalysis, DEBUG_TYPE, "ReachingDefAnalysis", false, true) static bool isValidReg(const MachineOperand &MO) | |
static bool | isValidRegUse (const MachineOperand &MO) |
static bool | isValidRegUseOf (const MachineOperand &MO, MCRegister PhysReg, const TargetRegisterInfo *TRI) |
static bool | isValidRegDef (const MachineOperand &MO) |
static bool | isValidRegDefOf (const MachineOperand &MO, MCRegister PhysReg, const TargetRegisterInfo *TRI) |
static bool | mayHaveSideEffects (MachineInstr &MI) |
#define DEBUG_TYPE "reaching-deps-analysis" |
Definition at line 19 of file ReachingDefAnalysis.cpp.
INITIALIZE_PASS | ( | ReachingDefAnalysis | , |
DEBUG_TYPE | , | ||
"ReachingDefAnalysis" | , | ||
false | , | ||
true | |||
) | const & |
Definition at line 22 of file ReachingDefAnalysis.cpp.
|
static |
Definition at line 40 of file ReachingDefAnalysis.cpp.
References llvm::MachineOperand::isDef().
Referenced by llvm::ReachingDefAnalysis::collectKilledOperands(), and isValidRegDefOf().
|
static |
Definition at line 44 of file ReachingDefAnalysis.cpp.
References llvm::MachineOperand::getReg(), isValidRegDef(), and TRI.
Referenced by llvm::ReachingDefAnalysis::getLocalLiveOutMIDef(), llvm::ReachingDefAnalysis::isReachingDefLiveOut(), and llvm::ReachingDefAnalysis::isSafeToDefRegAt().
|
static |
Definition at line 29 of file ReachingDefAnalysis.cpp.
References llvm::MachineOperand::isUse().
Referenced by llvm::ReachingDefAnalysis::collectKilledOperands(), and isValidRegUseOf().
|
static |
Definition at line 33 of file ReachingDefAnalysis.cpp.
References llvm::MachineOperand::getReg(), isValidRegUse(), and TRI.
Referenced by llvm::ReachingDefAnalysis::getLiveInUses(), and llvm::ReachingDefAnalysis::getReachingLocalUses().
|
static |
Definition at line 545 of file ReachingDefAnalysis.cpp.
References MI.
Referenced by llvm::ReachingDefAnalysis::collectKilledOperands(), and isEphemeralValueOf().