LLVM API Documentation
#include <DSSupport.h>
Collaboration diagram for llvm::DSNodeHandle:
Public Member Functions | |
DSNodeHandle (DSNode *n=0, unsigned offs=0) | |
DSNodeHandle (const DSNodeHandle &H) | |
~DSNodeHandle () | |
DSNodeHandle & | operator= (const DSNodeHandle &H) |
bool | operator< (const DSNodeHandle &H) const |
bool | operator> (const DSNodeHandle &H) const |
bool | operator== (const DSNodeHandle &H) const |
bool | operator!= (const DSNodeHandle &H) const |
void | swap (DSNodeHandle &NH) |
bool | isNull () const |
DSNode * | getNode () const |
unsigned | getOffset () const |
void | setOffset (unsigned O) |
void | setTo (DSNode *N, unsigned O) const |
void | addEdgeTo (unsigned LinkNo, const DSNodeHandle &N) |
void | addEdgeTo (const DSNodeHandle &N) |
void | mergeWith (const DSNodeHandle &N) const |
bool | hasLink (unsigned Num) const |
const DSNodeHandle & | getLink (unsigned Num) const |
DSNodeHandle & | getLink (unsigned Num) |
void | setLink (unsigned Num, const DSNodeHandle &NH) |
Note: some functions that are marked as inline in DSNodeHandle are actually defined in DSNode.h because they need knowledge of DSNode operation. Putting them in a CPP file wouldn't help making them inlined and keeping DSNode and DSNodeHandle (and friends) in one file complicates things.
Definition at line 55 of file DSSupport.h.
|
Definition at line 61 of file DSSupport.h. References setTo(). |
|
Definition at line 64 of file DSSupport.h. |
|
Definition at line 68 of file DSSupport.h. References setTo(). |
|
Definition at line 115 of file DSSupport.h. References addEdgeTo(). |
|
addEdgeTo - Add an edge from the current node to the specified node. This can cause merging of nodes in the graph. Definition at line 448 of file DSNode.h. References llvm::DSNode::addEdgeTo(), and getNode(). Referenced by addEdgeTo(). |
|
Definition at line 435 of file DSNode.h. References llvm::DSNode::getLink(), and getNode(). |
|
getLink - Treat this current node pointer as a pointer to a structure of some sort. This method will return the pointer a mem[this+Num] Definition at line 431 of file DSNode.h. References llvm::DSNode::getLink(), and getNode(). Referenced by llvm::DSGraph::computeNodeMapping(). |
|
|
|
hasLink - Return true if there is a link at the specified offset... Definition at line 422 of file DSNode.h. References getNode(), and llvm::DSNode::hasLink(). |
|
isNull - Check to see if getNode() == 0, without going through the trouble of checking to see if we are forwarding... Definition at line 94 of file DSSupport.h. Referenced by llvm::DSNode::addEdgeTo(), llvm::DSGraph::computeNodeMapping(), llvm::DSNode::forwardNode(), llvm::ReachabilityCloner::getClonedNH(), llvm::DSNode::isForwarding(), llvm::ReachabilityCloner::merge(), llvm::DSGraph::mergeInGraph(), and mergeWith(). |
|
mergeWith - Merge the logical node pointed to by 'this' with the node pointed to by 'N'. Definition at line 456 of file DSNode.h. References getNode(), getOffset(), isNull(), llvm::DSNode::mergeWith(), and setTo(). Referenced by llvm::DSNode::addEdgeTo(), llvm::DSGraph::cloneInto(), llvm::ReachabilityCloner::getClonedNH(), llvm::ReachabilityCloner::merge(), llvm::DSGraph::mergeInGraph(), llvm::DSCallSite::mergeWith(), and llvm::DSNode::mergeWith(). |
|
Definition at line 84 of file DSSupport.h. |
|
Definition at line 76 of file DSSupport.h. |
|
Definition at line 69 of file DSSupport.h. |
|
Definition at line 80 of file DSSupport.h. |
|
Definition at line 79 of file DSSupport.h. |
|
Definition at line 440 of file DSNode.h. References getNode(), and llvm::DSNode::setLink(). |
|
Definition at line 103 of file DSSupport.h. |
|
Definition at line 404 of file DSNode.h. References llvm::DSNode::DEAD, getNode(), llvm::DSNode::isForwarding(), llvm::DSNode::NodeType, llvm::DSNode::NumReferrers, and llvm::DSNode::Size. Referenced by llvm::DSGraph::computeNodeMapping(), llvm::DSNode::dropAllReferences(), DSNodeHandle(), llvm::DSNode::forwardNode(), killIfUselessEdge(), mergeWith(), operator=(), llvm::DSNode::stopForwarding(), and ~DSNodeHandle(). |
|
Definition at line 86 of file DSSupport.h. |