LLVM 20.0.0git
|
#include "llvm/CodeGen/RDFGraph.h"
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 | |
}; | |
Definition at line 612 of file RDFGraph.h.
void llvm::rdf::CodeNode::addMember | ( | Node | NA, |
const DataFlowGraph & | G | ||
) |
Definition at line 468 of file RDFGraph.cpp.
References llvm::rdf::NodeAddr< T >::Addr, llvm::rdf::NodeBase::CodeData, llvm::rdf::NodeBase::Code_struct::FirstM, G, getLastMember(), llvm::rdf::NodeAddr< T >::Id, llvm::rdf::NodeBase::Code_struct::LastM, and ML.
Referenced by llvm::rdf::BlockNode::addPhi().
void llvm::rdf::CodeNode::addMemberAfter | ( | Node | MA, |
Node | NA, | ||
const DataFlowGraph & | G | ||
) |
Definition at line 481 of file RDFGraph.cpp.
References llvm::rdf::NodeAddr< T >::Addr, llvm::rdf::NodeBase::CodeData, llvm::rdf::NodeAddr< T >::Id, and llvm::rdf::NodeBase::Code_struct::LastM.
Referenced by llvm::rdf::BlockNode::addPhi().
Definition at line 613 of file RDFGraph.h.
References llvm::rdf::NodeBase::CodeData, and llvm::rdf::NodeBase::Code_struct::CP.
Node llvm::rdf::CodeNode::getFirstMember | ( | const DataFlowGraph & | G | ) | const |
Definition at line 454 of file RDFGraph.cpp.
References llvm::rdf::NodeBase::CodeData, llvm::rdf::NodeBase::Code_struct::FirstM, and G.
Referenced by llvm::rdf::BlockNode::addPhi(), members_if(), and removeMember().
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().
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().
NodeList llvm::rdf::CodeNode::members_if | ( | Predicate | P, |
const DataFlowGraph & | G | ||
) | const |
Definition at line 946 of file RDFGraph.h.
References G, getFirstMember(), P, and llvm::SmallVectorTemplateBase< T, bool >::push_back().
Referenced by llvm::rdf::FuncNode::findBlock(), and members().
void llvm::rdf::CodeNode::removeMember | ( | Node | NA, |
const DataFlowGraph & | G | ||
) |
Definition at line 488 of file RDFGraph.cpp.
References llvm::rdf::NodeAddr< T >::Addr, assert(), llvm::rdf::NodeBase::CodeData, llvm::rdf::NodeBase::Code_struct::FirstM, G, getFirstMember(), llvm::rdf::NodeAddr< T >::Id, llvm::rdf::NodeBase::Code_struct::LastM, and llvm_unreachable.
|
inline |
Definition at line 616 of file RDFGraph.h.
References llvm::CallingConv::C, llvm::rdf::NodeBase::CodeData, and llvm::rdf::NodeBase::Code_struct::CP.