LLVM 20.0.0git
Macros | Functions
ReachingDefAnalysis.cpp File Reference
#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-defs-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)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "reaching-defs-analysis"

Definition at line 19 of file ReachingDefAnalysis.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( ReachingDefAnalysis  ,
DEBUG_TYPE  ,
"ReachingDefAnalysis"  ,
false  ,
true   
) const &

Definition at line 22 of file ReachingDefAnalysis.cpp.

◆ isValidRegDef()

static bool isValidRegDef ( const MachineOperand MO)
static

◆ isValidRegDefOf()

static bool isValidRegDefOf ( const MachineOperand MO,
MCRegister  PhysReg,
const TargetRegisterInfo TRI 
)
static

◆ isValidRegUse()

static bool isValidRegUse ( const MachineOperand MO)
static

◆ isValidRegUseOf()

static bool isValidRegUseOf ( const MachineOperand MO,
MCRegister  PhysReg,
const TargetRegisterInfo TRI 
)
static

◆ mayHaveSideEffects()

static bool mayHaveSideEffects ( MachineInstr MI)
static

Definition at line 547 of file ReachingDefAnalysis.cpp.

References MI.

Referenced by llvm::ReachingDefAnalysis::collectKilledOperands(), and isEphemeralValueOf().