LLVM 17.0.0git
Public Member Functions | List of all members
llvm::rdf::RefNode Struct Reference

#include "llvm/CodeGen/RDFGraph.h"

Inheritance diagram for llvm::rdf::RefNode:
Inheritance graph
Collaboration diagram for llvm::rdf::RefNode:
Collaboration graph

Public Member Functions

 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 516 of file RDFGraph.h.

Constructor & Destructor Documentation

◆ RefNode()

llvm::rdf::RefNode::RefNode ( )

Member Function Documentation

◆ getNextRef()

template<typename Predicate >
NodeAddr< RefNode * > llvm::rdf::RefNode::getNextRef ( RegisterRef  RR,
Predicate  P,
bool  NextOnly,
const DataFlowGraph G 

◆ getOp()

MachineOperand & llvm::rdf::RefNode::getOp ( )

◆ getOwner()

NodeAddr< NodeBase * > RefNode::getOwner ( const DataFlowGraph G)

◆ getReachingDef()

NodeId llvm::rdf::RefNode::getReachingDef ( ) const

Definition at line 529 of file RDFGraph.h.

References llvm::rdf::NodeBase::Ref_struct::RD, and llvm::rdf::NodeBase::Ref.

◆ getRegRef()

RegisterRef RefNode::getRegRef ( const DataFlowGraph G) const

◆ getSibling()

NodeId llvm::rdf::RefNode::getSibling ( ) const

◆ isDef()

bool llvm::rdf::RefNode::isDef ( ) const

◆ isUse()

bool llvm::rdf::RefNode::isUse ( ) const

◆ setReachingDef()

void llvm::rdf::RefNode::setReachingDef ( NodeId  RD)

Definition at line 532 of file RDFGraph.h.

References llvm::rdf::NodeBase::Ref_struct::RD, and llvm::rdf::NodeBase::Ref.

◆ setRegRef() [1/2]

void RefNode::setRegRef ( MachineOperand Op,
DataFlowGraph G 

◆ setRegRef() [2/2]

void RefNode::setRegRef ( RegisterRef  RR,
DataFlowGraph G 

◆ setSibling()

void llvm::rdf::RefNode::setSibling ( NodeId  Sib)

Definition at line 539 of file RDFGraph.h.

References llvm::rdf::NodeBase::Ref, and llvm::rdf::NodeBase::Ref_struct::Sib.

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