LLVM: llvm::rdf::DeadCodeElimination Struct Reference (original) (raw)

#include "[Target/Hexagon/RDFDeadCode.h](RDFDeadCode%5F8h%5Fsource.html)"

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.

collect()

bool DeadCodeElimination::collect ( )

erase()

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().

getDeadInstrs()

SetVector< NodeId > llvm::rdf::DeadCodeElimination::getDeadInstrs ( ) inline

getDeadNodes()

SetVector< NodeId > llvm::rdf::DeadCodeElimination::getDeadNodes ( ) inline

getDFG()

DataFlowGraph & llvm::rdf::DeadCodeElimination::getDFG ( ) inline

trace() [1/2]

bool llvm::rdf::DeadCodeElimination::trace ( ) const inline

trace() [2/2]

void llvm::rdf::DeadCodeElimination::trace ( bool On) inline

The documentation for this struct was generated from the following files: