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

#include "Target/Hexagon/RDFCopyBase.h"

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

Public Types

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

Public Member Functions

 CopyPropagationBase (DataFlowGraph &dfg)
virtual ~CopyPropagationBase ()=default
void trace (bool On)
bool trace () const
DataFlowGraphgetDFG ()

Protected Attributes

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 27 of file RDFCopyBase.h.

Member Typedef Documentation

◆ EqualityMap

Constructor & Destructor Documentation

◆ CopyPropagationBase()

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

◆ ~CopyPropagationBase()

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

Member Function Documentation

◆ getDFG()

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

Definition at line 35 of file RDFCopyBase.h.

References DFG.

◆ trace() [1/2]

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

Definition at line 34 of file RDFCopyBase.h.

References Trace.

Referenced by llvm::rdf::AggressiveCopyPropagation::run().

◆ trace() [2/2]

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

Definition at line 33 of file RDFCopyBase.h.

References Trace.

Referenced by llvm::rdf::CopyPropagation::run().

Member Data Documentation

◆ CopyMap

std::map<NodeId, EqualityMap> llvm::rdf::CopyPropagationBase::CopyMap
protected

◆ DefM

DataFlowGraph::DefStackMap llvm::rdf::CopyPropagationBase::DefM
protected

Definition at line 42 of file RDFCopyBase.h.

◆ DFG

◆ MDT

const MachineDominatorTree& llvm::rdf::CopyPropagationBase::MDT
protected

Definition at line 40 of file RDFCopyBase.h.

Referenced by CopyPropagationBase(), and llvm::rdf::AggressiveCopyPropagation::run().

◆ RDefMap

std::map<RegisterRef, std::map<NodeId, NodeId>, RegisterRefLess> llvm::rdf::CopyPropagationBase::RDefMap
protected

◆ Trace

bool llvm::rdf::CopyPropagationBase::Trace = false
protected

Definition at line 43 of file RDFCopyBase.h.

Referenced by trace(), and trace().


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