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

#include "Target/Hexagon/RDFGraph.h"

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

Public Member Functions

template<typename T >
T getCode () const
 
void setCode (void *C)
 
NodeAddr< NodeBase * > getFirstMember (const DataFlowGraph &G) const
 
NodeAddr< NodeBase * > getLastMember (const DataFlowGraph &G) const
 
void addMember (NodeAddr< NodeBase *> NA, const DataFlowGraph &G)
 
void addMemberAfter (NodeAddr< NodeBase *> MA, NodeAddr< NodeBase *> NA, const DataFlowGraph &G)
 
void removeMember (NodeAddr< NodeBase *> NA, const DataFlowGraph &G)
 
NodeList members (const DataFlowGraph &G) const
 
template<typename Predicate >
NodeList members_if (Predicate P, const DataFlowGraph &G) const
 
- 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 591 of file RDFGraph.h.

Member Function Documentation

◆ addMember()

void CodeNode::addMember ( NodeAddr< NodeBase *>  NA,
const DataFlowGraph G 
)

◆ addMemberAfter()

void CodeNode::addMemberAfter ( NodeAddr< NodeBase *>  MA,
NodeAddr< NodeBase *>  NA,
const DataFlowGraph G 
)

◆ getCode()

template<typename T >
T llvm::rdf::CodeNode::getCode ( ) const
inline

Definition at line 592 of file RDFGraph.h.

References llvm::rdf::NodeAttrs::Code.

◆ getFirstMember()

NodeAddr< NodeBase * > CodeNode::getFirstMember ( const DataFlowGraph G) const

Definition at line 479 of file RDFGraph.cpp.

References llvm::rdf::DataFlowGraph::addr().

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

◆ getLastMember()

NodeAddr< NodeBase * > CodeNode::getLastMember ( const DataFlowGraph G) const

Definition at line 486 of file RDFGraph.cpp.

References llvm::rdf::DataFlowGraph::addr().

◆ members()

NodeList CodeNode::members ( const DataFlowGraph G) const

◆ members_if()

template<typename Predicate >
NodeList llvm::rdf::CodeNode::members_if ( Predicate  P,
const DataFlowGraph G 
) const

◆ removeMember()

void CodeNode::removeMember ( NodeAddr< NodeBase *>  NA,
const DataFlowGraph G 
)

◆ setCode()

void llvm::rdf::CodeNode::setCode ( void *  C)
inline

Definition at line 595 of file RDFGraph.h.

References C, llvm::rdf::NodeAttrs::Code, G, and P.

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


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