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

#include "llvm/CodeGen/RDFGraph.h"

Inheritance diagram for llvm::rdf::NodeBase:
Inheritance graph
[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 (Node NA)
 
void init ()
 
void setNext (NodeId N)
 

Protected Attributes

uint16_t Attrs
 
uint16_t Reserved
 
NodeId Next
 
union {
   Ref_struct   RefData
 
   Code_struct   CodeData
 
}; 
 

Detailed Description

Definition at line 487 of file RDFGraph.h.

Constructor & Destructor Documentation

◆ NodeBase()

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

Member Function Documentation

◆ append()

void llvm::rdf::NodeBase::append ( Node  NA)

Definition at line 389 of file RDFGraph.cpp.

References llvm::rdf::NodeAddr< T >::Addr, llvm::rdf::NodeAddr< T >::Id, and Next.

◆ getAttrs()

uint16_t llvm::rdf::NodeBase::getAttrs ( ) const
inline

Definition at line 497 of file RDFGraph.h.

References Attrs.

Referenced by setFlags().

◆ getFlags()

uint16_t llvm::rdf::NodeBase::getFlags ( ) const
inline

◆ getKind()

uint16_t llvm::rdf::NodeBase::getKind ( ) const
inline

Definition at line 493 of file RDFGraph.h.

References Attrs, and llvm::rdf::NodeAttrs::kind().

Referenced by llvm::rdf::RefNode::isDef(), and llvm::rdf::RefNode::isUse().

◆ getNext()

NodeId llvm::rdf::NodeBase::getNext ( ) const
inline

◆ getType()

uint16_t llvm::rdf::NodeBase::getType ( ) const
inline

Definition at line 492 of file RDFGraph.h.

References Attrs, and llvm::rdf::NodeAttrs::type().

Referenced by llvm::rdf::RefNode::isDef(), and llvm::rdf::RefNode::isUse().

◆ init()

void llvm::rdf::NodeBase::init ( )
inline

Definition at line 505 of file RDFGraph.h.

◆ setAttrs()

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

Definition at line 498 of file RDFGraph.h.

References A, and Attrs.

Referenced by setFlags().

◆ setFlags()

void llvm::rdf::NodeBase::setFlags ( uint16_t  F)
inline

Definition at line 499 of file RDFGraph.h.

References F, getAttrs(), llvm::rdf::NodeAttrs::set_flags(), and setAttrs().

◆ setNext()

void llvm::rdf::NodeBase::setNext ( NodeId  N)
inline

Definition at line 507 of file RDFGraph.h.

References N, and Next.

Member Data Documentation

◆ 

union { ... } llvm::rdf::NodeBase::@221

◆ Attrs

uint16_t llvm::rdf::NodeBase::Attrs
protected

◆ CodeData

Code_struct llvm::rdf::NodeBase::CodeData

◆ Next

NodeId llvm::rdf::NodeBase::Next
protected

Definition at line 512 of file RDFGraph.h.

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

◆ RefData

Ref_struct llvm::rdf::NodeBase::RefData

◆ Reserved

uint16_t llvm::rdf::NodeBase::Reserved
protected

Definition at line 511 of file RDFGraph.h.


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