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

#include "llvm/CodeGen/RDFGraph.h"

Inheritance diagram for llvm::rdf::FuncNode:
Inheritance graph
[legend]

Public Member Functions

MachineFunctiongetCode () const
 
Block findBlock (const MachineBasicBlock *BB, const DataFlowGraph &G) const
 
Block getEntryBlock (const DataFlowGraph &G)
 
- Public Member Functions inherited from llvm::rdf::CodeNode
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 651 of file RDFGraph.h.

Member Function Documentation

◆ findBlock()

Block llvm::rdf::FuncNode::findBlock ( const MachineBasicBlock BB,
const DataFlowGraph G 
) const

◆ getCode()

MachineFunction * llvm::rdf::FuncNode::getCode ( ) const
inline

Definition at line 652 of file RDFGraph.h.

Referenced by getEntryBlock().

◆ getEntryBlock()

Block llvm::rdf::FuncNode::getEntryBlock ( const DataFlowGraph G)

Definition at line 579 of file RDFGraph.cpp.

References findBlock(), llvm::MachineFunction::front(), G, and getCode().

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


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