LLVM
8.0.1
|
#include "Target/Hexagon/RDFGraph.h"
Public Member Functions | |
template<typename T > | |
T | getCode () const |
void | setCode (void *C) |
NodeAddr< NodeBase * > | getFirstMember (const DataFlowGraph &G) const |
NodeAddr< NodeBase * > | getLastMember (const DataFlowGraph &G) const |
void | addMember (NodeAddr< NodeBase *> NA, const DataFlowGraph &G) |
void | addMemberAfter (NodeAddr< NodeBase *> MA, NodeAddr< NodeBase *> NA, const DataFlowGraph &G) |
void | removeMember (NodeAddr< NodeBase *> 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 (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 | |
}; | |
Definition at line 591 of file RDFGraph.h.
void CodeNode::addMember | ( | NodeAddr< NodeBase *> | NA, |
const DataFlowGraph & | G | ||
) |
Definition at line 493 of file RDFGraph.cpp.
References llvm::rdf::NodeAddr< T >::Addr, llvm::rdf::NodeBase::append(), llvm::rdf::NodeAddr< T >::Id, llvm::rdf::DataFlowGraph::id(), and llvm::rdf::NodeBase::setNext().
Referenced by llvm::rdf::DataFlowGraph::build(), llvm::rdf::DataFlowGraph::getNextShadow(), and llvm::rdf::DataFlowGraph::id().
void CodeNode::addMemberAfter | ( | NodeAddr< NodeBase *> | MA, |
NodeAddr< NodeBase *> | NA, | ||
const DataFlowGraph & | G | ||
) |
Definition at line 506 of file RDFGraph.cpp.
References llvm::rdf::NodeAddr< T >::Addr, llvm::rdf::NodeBase::append(), and llvm::rdf::NodeAddr< T >::Id.
Referenced by llvm::rdf::DataFlowGraph::getNextShadow().
|
inline |
Definition at line 592 of file RDFGraph.h.
References llvm::rdf::NodeAttrs::Code.
NodeAddr< NodeBase * > CodeNode::getFirstMember | ( | const DataFlowGraph & | G | ) | const |
Definition at line 479 of file RDFGraph.cpp.
References llvm::rdf::DataFlowGraph::addr().
Referenced by llvm::rdf::DataFlowGraph::getNextShadow().
NodeAddr< NodeBase * > CodeNode::getLastMember | ( | const DataFlowGraph & | G | ) | const |
Definition at line 486 of file RDFGraph.cpp.
References llvm::rdf::DataFlowGraph::addr().
NodeList CodeNode::members | ( | const DataFlowGraph & | G | ) | const |
Definition at line 546 of file RDFGraph.cpp.
Referenced by llvm::rdf::DeadCodeElimination::collect(), llvm::rdf::Liveness::computeLiveIns(), llvm::rdf::Liveness::computePhiInfo(), llvm::rdf::Liveness::getNearestAliasedRef(), llvm::rdf::DataFlowGraph::getNextShadow(), llvm::rdf::CopyPropagation::interpretAsCopy(), and DeadCodeElimination::SetQueue< T >::push_back().
NodeList llvm::rdf::CodeNode::members_if | ( | Predicate | P, |
const DataFlowGraph & | G | ||
) | const |
Definition at line 914 of file RDFGraph.h.
References llvm::rdf::DataFlowGraph::addr(), P, and llvm::SmallVectorTemplateBase< T, bool >::push_back().
Referenced by llvm::rdf::DeadCodeElimination::collect(), llvm::rdf::Liveness::getAllReachingDefsRec(), llvm::rdf::DataFlowGraph::getNextShadow(), DeadCodeElimination::SetQueue< T >::push_back(), llvm::rdf::DataFlowGraph::pushAllDefs(), llvm::rdf::Liveness::resetKills(), and llvm::rdf::CopyPropagation::run().
void CodeNode::removeMember | ( | NodeAddr< NodeBase *> | NA, |
const DataFlowGraph & | G | ||
) |
Definition at line 514 of file RDFGraph.cpp.
References llvm::rdf::NodeAddr< T >::Addr, llvm::rdf::DataFlowGraph::addr(), assert(), llvm::rdf::NodeBase::getNext(), llvm::rdf::NodeAddr< T >::Id, llvm_unreachable, and llvm::rdf::NodeBase::setNext().
Referenced by llvm::rdf::DeadCodeElimination::erase(), and llvm::rdf::DataFlowGraph::getNextShadow().
|
inline |
Definition at line 595 of file RDFGraph.h.
References C, llvm::rdf::NodeAttrs::Code, G, and P.
Referenced by llvm::rdf::DataFlowGraph::id().