|
LLVM 22.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, collect(), llvm::dbgs(), IsDead, N, processUse(), RA, llvm::rdf::NodeAttrs::Stmt, and trace().
Referenced by collect().
Definition at line 180 of file RDFDeadCode.cpp.
References A(), llvm::rdf::NodeAddr< T >::Addr, llvm::append_range(), B(), llvm::dbgs(), llvm::rdf::NodeAttrs::Def, llvm::SetVector< T, Vector, Set, N >::empty(), erase(), 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, trace(), and llvm::rdf::NodeAttrs::Use.
Referenced by erase().
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.