forked from OSchip/llvm-project
parent
d3850457a1
commit
fda6944c5b
|
@ -51,6 +51,12 @@ struct DefaultDOTGraphTraits {
|
||||||
static std::string getNodeLabel(const void *Node, const void *Graph) {
|
static std::string getNodeLabel(const void *Node, const void *Graph) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// hasNodeAddressLabel - If this method returns true, the address of the node
|
||||||
|
/// is added to the label of the node.
|
||||||
|
static bool hasNodeAddressLabel(const void *Node, const void *Graph) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/// If you want to specify custom node attributes, this is the place to do so
|
/// If you want to specify custom node attributes, this is the place to do so
|
||||||
///
|
///
|
||||||
|
|
|
@ -33,6 +33,11 @@ namespace llvm {
|
||||||
static bool renderGraphFromBottomUp() {
|
static bool renderGraphFromBottomUp() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static bool hasNodeAddressLabel(const SDNode *Node,
|
||||||
|
const SelectionDAG *Graph) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
static std::string getNodeLabel(const SDNode *Node,
|
static std::string getNodeLabel(const SDNode *Node,
|
||||||
const SelectionDAG *Graph);
|
const SelectionDAG *Graph);
|
||||||
|
|
Loading…
Reference in New Issue