LLVM  16.0.0git
Public Types | Public Member Functions | List of all members
llvm::rdf::CopyPropagation Struct Reference

#include "Target/Hexagon/RDFCopy.h"

Public Types

using EqualityMap = std::map< RegisterRef, RegisterRef >

Public Member Functions

 CopyPropagation (DataFlowGraph &dfg)
virtual ~CopyPropagation ()=default
bool run ()
void trace (bool On)
bool trace () const
DataFlowGraphgetDFG ()
virtual bool interpretAsCopy (const MachineInstr *MI, EqualityMap &EM)

Detailed Description

Definition at line 27 of file RDFCopy.h.

Member Typedef Documentation

◆ EqualityMap

Definition at line 38 of file RDFCopy.h.

Constructor & Destructor Documentation

◆ CopyPropagation()

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

Definition at line 28 of file RDFCopy.h.

◆ ~CopyPropagation()

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

Member Function Documentation

◆ getDFG()

DataFlowGraph& llvm::rdf::CopyPropagation::getDFG ( )

Definition at line 36 of file RDFCopy.h.

◆ interpretAsCopy()

bool CopyPropagation::interpretAsCopy ( const MachineInstr MI,
EqualityMap EM 

◆ run()

bool CopyPropagation::run ( )

◆ trace() [1/2]

bool llvm::rdf::CopyPropagation::trace ( ) const

Definition at line 35 of file RDFCopy.h.

Referenced by run().

◆ trace() [2/2]

void llvm::rdf::CopyPropagation::trace ( bool  On)

Definition at line 34 of file RDFCopy.h.

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