LLVM 20.0.0git
|
#include "Target/Hexagon/RDFDeadCode.h"
Public Member Functions | |
DeadCodeElimination (DataFlowGraph &dfg, MachineRegisterInfo &mri) | |
bool | collect () |
bool | erase (const SetVector< NodeId > &Nodes) |
void | trace (bool On) |
bool | trace () const |
SetVector< NodeId > | getDeadNodes () |
SetVector< NodeId > | getDeadInstrs () |
DataFlowGraph & | getDFG () |
Definition at line 34 of file RDFDeadCode.h.
|
inline |
Definition at line 35 of file RDFDeadCode.h.
bool DeadCodeElimination::collect | ( | ) |
Definition at line 117 of file RDFDeadCode.cpp.
References llvm::rdf::NodeAddr< T >::Addr, llvm::dbgs(), IsDead, N, processUse(), RA, and llvm::rdf::NodeAttrs::Stmt.
Definition at line 180 of file RDFDeadCode.cpp.
References A, llvm::rdf::NodeAddr< T >::Addr, Addr, llvm::append_range(), B, llvm::dbgs(), llvm::rdf::NodeAttrs::Def, llvm::SetVector< T, Vector, Set, N >::empty(), I, llvm_unreachable, MI, llvm::rdf::NodeAttrs::Phi, llvm::SmallVectorTemplateBase< T, bool >::push_back(), RA, llvm::rdf::NodeAttrs::Ref, llvm::sort(), llvm::rdf::NodeAttrs::Stmt, and llvm::rdf::NodeAttrs::Use.
Definition at line 44 of file RDFDeadCode.h.
Definition at line 43 of file RDFDeadCode.h.
|
inline |
Definition at line 45 of file RDFDeadCode.h.
|
inline |
Definition at line 41 of file RDFDeadCode.h.
|
inline |
Definition at line 40 of file RDFDeadCode.h.