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

#include "llvm/CodeGen/RDFGraph.h"

Inheritance diagram for llvm::rdf::CodeNode:
Inheritance graph

Public Member Functions

template<typename T >
T getCode () const
void setCode (void *C)
Node getFirstMember (const DataFlowGraph &G) const
Node getLastMember (const DataFlowGraph &G) const
void addMember (Node NA, const DataFlowGraph &G)
void addMemberAfter (Node MA, Node NA, const DataFlowGraph &G)
void removeMember (Node 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 (Node 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   RefData
   Code_struct   CodeData

Detailed Description

Definition at line 612 of file RDFGraph.h.

Member Function Documentation

◆ addMember()

void llvm::rdf::CodeNode::addMember ( Node  NA,
const DataFlowGraph G 

◆ addMemberAfter()

void llvm::rdf::CodeNode::addMemberAfter ( Node  MA,
Node  NA,
const DataFlowGraph G 

◆ getCode()

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

◆ getFirstMember()

Node llvm::rdf::CodeNode::getFirstMember ( const DataFlowGraph G) const

◆ getLastMember()

Node llvm::rdf::CodeNode::getLastMember ( const DataFlowGraph G) const

Definition at line 461 of file RDFGraph.cpp.

References llvm::rdf::NodeBase::CodeData, G, and llvm::rdf::NodeBase::Code_struct::LastM.

Referenced by addMember().

◆ members()

NodeList llvm::rdf::CodeNode::members ( const DataFlowGraph G) const

Definition at line 520 of file RDFGraph.cpp.

References G, and members_if().

Referenced by llvm::rdf::DataFlowGraph::build(), and llvm::rdf::Liveness::computeLiveIns().

◆ members_if()

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

◆ removeMember()

void llvm::rdf::CodeNode::removeMember ( Node  NA,
const DataFlowGraph G 

◆ setCode()

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

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