LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::rdf::DefNode Struct Reference

#include "Target/Hexagon/RDFGraph.h"

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

Public Member Functions

NodeId getReachedDef () const
 
void setReachedDef (NodeId D)
 
NodeId getReachedUse () const
 
void setReachedUse (NodeId U)
 
void linkToDef (NodeId Self, NodeAddr< DefNode *> DA)
 
- Public Member Functions inherited from llvm::rdf::RefNode
 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 559 of file RDFGraph.h.

Member Function Documentation

◆ getReachedDef()

NodeId llvm::rdf::DefNode::getReachedDef ( ) const
inline

◆ getReachedUse()

NodeId llvm::rdf::DefNode::getReachedUse ( ) const
inline

◆ linkToDef()

void DefNode::linkToDef ( NodeId  Self,
NodeAddr< DefNode *>  DA 
)

◆ setReachedDef()

void llvm::rdf::DefNode::setReachedDef ( NodeId  D)
inline

Definition at line 563 of file RDFGraph.h.

References D, and llvm::rdf::NodeAttrs::Ref.

Referenced by llvm::rdf::DataFlowGraph::id(), and linkToDef().

◆ setReachedUse()

void llvm::rdf::DefNode::setReachedUse ( NodeId  U)
inline

Definition at line 569 of file RDFGraph.h.

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

Referenced by llvm::rdf::DataFlowGraph::id(), and llvm::rdf::UseNode::linkToDef().


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