LLVM 20.0.0git
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 34 of file RDFDeadCode.h.

Constructor & Destructor Documentation

◆ DeadCodeElimination()

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

Definition at line 35 of file RDFDeadCode.h.

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 44 of file RDFDeadCode.h.

◆ getDeadNodes()

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

Definition at line 43 of file RDFDeadCode.h.

◆ getDFG()

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

Definition at line 45 of file RDFDeadCode.h.

◆ trace() [1/2]

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

Definition at line 41 of file RDFDeadCode.h.

◆ trace() [2/2]

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

Definition at line 40 of file RDFDeadCode.h.


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