LLVM 23.0.0git
llvm::rdf::CopyPropagation Struct Reference

#include "Target/Hexagon/RDFCopy.h"

Inheritance diagram for llvm::rdf::CopyPropagation:
[legend]

Public Member Functions

 CopyPropagation (DataFlowGraph &dfg)
virtual ~CopyPropagation ()=default
bool run ()
virtual bool interpretAsCopy (const MachineInstr *MI, EqualityMap &EM)
Public Member Functions inherited from llvm::rdf::CopyPropagationBase
 CopyPropagationBase (DataFlowGraph &dfg)
virtual ~CopyPropagationBase ()=default
void trace (bool On)
bool trace () const
DataFlowGraphgetDFG ()

Additional Inherited Members

Public Types inherited from llvm::rdf::CopyPropagationBase
using EqualityMap = std::map<RegisterRef, RegisterRef, RegisterRefLess>
Protected Attributes inherited from llvm::rdf::CopyPropagationBase
const MachineDominatorTreeMDT
DataFlowGraphDFG
DataFlowGraph::DefStackMap DefM
bool Trace = false
std::map< RegisterRef, std::map< NodeId, NodeId >, RegisterRefLessRDefMap
std::map< NodeId, EqualityMapCopyMap

Detailed Description

Definition at line 24 of file RDFCopy.h.

Constructor & Destructor Documentation

◆ CopyPropagation()

llvm::rdf::CopyPropagation::CopyPropagation ( DataFlowGraph & dfg)
inline

Definition at line 25 of file RDFCopy.h.

References llvm::rdf::CopyPropagationBase::CopyPropagationBase().

◆ ~CopyPropagation()

virtual llvm::rdf::CopyPropagation::~CopyPropagation ( )
virtualdefault

References B(), and MI.

Member Function Documentation

◆ interpretAsCopy()

bool CopyPropagation::interpretAsCopy ( const MachineInstr * MI,
EqualityMap & EM )
virtual

◆ run()


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