LLVM  4.0.0
Classes | Public Member Functions | Protected Attributes | List of all members
llvm::rdf::NodeBase Struct Reference

#include <RDFGraph.h>

Inheritance diagram for llvm::rdf::NodeBase:
[legend]
Collaboration diagram for llvm::rdf::NodeBase:
[legend]

Classes

struct  Code_struct
 
struct  Def_struct
 
struct  PhiU_struct
 
struct  Ref_struct
 

Public Member Functions

 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)
 

Protected Attributes

uint16_t Attrs
 
uint16_t Reserved
 
NodeId Next
 
union {
   Ref_struct   Ref
 
   Code_struct   Code
 
}; 
 

Detailed Description

Definition at line 551 of file RDFGraph.h.

Constructor & Destructor Documentation

llvm::rdf::NodeBase::NodeBase ( )
default

Member Function Documentation

void NodeBase::append ( NodeAddr< NodeBase * >  NA)
uint16_t llvm::rdf::NodeBase::getAttrs ( ) const
inline

Definition at line 561 of file RDFGraph.h.

References Attrs.

Referenced by llvm::rdf::operator<<(), and setFlags().

uint16_t llvm::rdf::NodeBase::getFlags ( ) const
inline
uint16_t llvm::rdf::NodeBase::getKind ( ) const
inline
NodeId llvm::rdf::NodeBase::getNext ( ) const
inline
uint16_t llvm::rdf::NodeBase::getType ( ) const
inline
void llvm::rdf::NodeBase::init ( )
inline

Definition at line 568 of file RDFGraph.h.

void llvm::rdf::NodeBase::setAttrs ( uint16_t  A)
inline

Definition at line 562 of file RDFGraph.h.

References A, and Attrs.

Referenced by setFlags().

void llvm::rdf::NodeBase::setFlags ( uint16_t  F)
inline
void llvm::rdf::NodeBase::setNext ( NodeId  N)
inline

Member Data Documentation

union { ... }
uint16_t llvm::rdf::NodeBase::Attrs
protected
Code_struct llvm::rdf::NodeBase::Code
NodeId llvm::rdf::NodeBase::Next
protected

Definition at line 574 of file RDFGraph.h.

Referenced by append(), getNext(), and setNext().

Ref_struct llvm::rdf::NodeBase::Ref
uint16_t llvm::rdf::NodeBase::Reserved
protected

Definition at line 573 of file RDFGraph.h.


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