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

#include "Target/Hexagon/RDFGraph.h"

Inheritance diagram for llvm::rdf::RefNode:
Inheritance graph
[legend]
Collaboration diagram for llvm::rdf::RefNode:
Collaboration graph
[legend]

Public Member Functions

 RefNode ()=default
 
RegisterRef getRegRef (const DataFlowGraph &G) const
 
MachineOperandgetOp ()
 
void setRegRef (RegisterRef RR, DataFlowGraph &G)
 
void setRegRef (MachineOperand *Op, DataFlowGraph &G)
 
NodeId getReachingDef () const
 
void setReachingDef (NodeId RD)
 
NodeId getSibling () const
 
void setSibling (NodeId Sib)
 
bool isUse () const
 
bool isDef () const
 
template<typename Predicate >
NodeAddr< RefNode * > getNextRef (RegisterRef RR, Predicate P, bool NextOnly, const DataFlowGraph &G)
 
NodeAddr< NodeBase * > getOwner (const DataFlowGraph &G)
 
- Public Member Functions inherited from llvm::rdf::NodeBase
 NodeBase ()=default
 
uint16_t getType () const
 
uint16_t getKind () const
 
uint16_t getFlags () const
 
NodeId getNext () const
 
uint16_t getAttrs () const
 
void setAttrs (uint16_t A)
 
void setFlags (uint16_t F)
 
void append (NodeAddr< NodeBase *> NA)
 
void init ()
 
void setNext (NodeId N)
 

Additional Inherited Members

- Protected Attributes inherited from llvm::rdf::NodeBase
uint16_t Attrs
 
uint16_t Reserved
 
NodeId Next
 
union {
   Ref_struct   Ref
 
   Code_struct   Code
 
}; 
 

Detailed Description

Definition at line 516 of file RDFGraph.h.

Constructor & Destructor Documentation

◆ RefNode()

llvm::rdf::RefNode::RefNode ( )
default

Member Function Documentation

◆ getNextRef()

template<typename Predicate >
NodeAddr< RefNode * > llvm::rdf::RefNode::getNextRef ( RegisterRef  RR,
Predicate  P,
bool  NextOnly,
const DataFlowGraph G 
)

◆ getOp()

MachineOperand& llvm::rdf::RefNode::getOp ( )
inline

◆ getOwner()

NodeAddr< NodeBase * > RefNode::getOwner ( const DataFlowGraph G)

◆ getReachingDef()

NodeId llvm::rdf::RefNode::getReachingDef ( ) const
inline

◆ getRegRef()

RegisterRef RefNode::getRegRef ( const DataFlowGraph G) const

◆ getSibling()

NodeId llvm::rdf::RefNode::getSibling ( ) const
inline

◆ isDef()

bool llvm::rdf::RefNode::isDef ( ) const
inline

◆ isUse()

bool llvm::rdf::RefNode::isUse ( ) const
inline

Definition at line 543 of file RDFGraph.h.

References assert(), getType(), llvm::rdf::NodeAttrs::Ref, and llvm::rdf::NodeAttrs::Use.

◆ setReachingDef()

void llvm::rdf::RefNode::setReachingDef ( NodeId  RD)
inline

Definition at line 532 of file RDFGraph.h.

References llvm::rdf::NodeAttrs::Ref.

Referenced by llvm::rdf::DataFlowGraph::id().

◆ setRegRef() [1/2]

void RefNode::setRegRef ( RegisterRef  RR,
DataFlowGraph G 
)

◆ setRegRef() [2/2]

void RefNode::setRegRef ( MachineOperand Op,
DataFlowGraph G 
)

◆ setSibling()

void llvm::rdf::RefNode::setSibling ( NodeId  Sib)
inline

Definition at line 539 of file RDFGraph.h.

References llvm::rdf::NodeAttrs::Ref.

Referenced by llvm::rdf::DataFlowGraph::id().


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