LLVM  8.0.1
Classes | Public Member Functions | List of all members
llvm::rdf::DeadCodeElimination Struct Reference

#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< NodeIdgetDeadNodes ()
 
SetVector< NodeIdgetDeadInstrs ()
 
DataFlowGraphgetDFG ()
 

Detailed Description

Definition at line 35 of file RDFDeadCode.h.

Constructor & Destructor Documentation

◆ DeadCodeElimination()

llvm::rdf::DeadCodeElimination::DeadCodeElimination ( DataFlowGraph dfg,
MachineRegisterInfo mri 
)
inline

Definition at line 36 of file RDFDeadCode.h.

References collect(), and erase().

Member Function Documentation

◆ collect()

bool DeadCodeElimination::collect ( )

◆ erase()

bool DeadCodeElimination::erase ( const SetVector< NodeId > &  Nodes)

◆ getDeadInstrs()

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

Definition at line 45 of file RDFDeadCode.h.

◆ getDeadNodes()

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

Definition at line 44 of file RDFDeadCode.h.

◆ getDFG()

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

Definition at line 46 of file RDFDeadCode.h.

References MI.

◆ trace() [1/2]

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

Definition at line 41 of file RDFDeadCode.h.

◆ trace() [2/2]

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

Definition at line 42 of file RDFDeadCode.h.

Referenced by collect(), and erase().


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