LLVM: llvm::rdf::FuncNode Struct Reference (original) (raw)

#include "[llvm/CodeGen/RDFGraph.h](RDFGraph%5F8h%5Fsource.html)"

Inheritance diagram for llvm::rdf::FuncNode:

[legend]

Public Member Functions
MachineFunction * getCode () 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

Definition at line 568 of file RDFGraph.cpp.

References llvm::rdf::NodeAddr< T >::Addr, llvm::SmallVectorTemplateCommon< T, typename >::empty(), G, llvm::rdf::BlockNode::getCode(), and llvm::rdf::CodeNode::members_if().

Referenced by getEntryBlock().

getCode()

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

Definition at line 652 of file RDFGraph.h.

References llvm::rdf::CodeNode::getCode().

Referenced by getEntryBlock().

getEntryBlock()

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

Definition at line 578 of file RDFGraph.cpp.

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


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