Lines Matching refs:CGInfo
118 static NodeRef getEntryNode(CallGraphDOTInfo *CGInfo) { in getEntryNode()
120 return CGInfo->getCallGraph()->getExternalCallingNode(); in getEntryNode()
133 static nodes_iterator nodes_begin(CallGraphDOTInfo *CGInfo) { in nodes_begin()
134 return nodes_iterator(CGInfo->getCallGraph()->begin(), &CGGetValuePtr); in nodes_begin()
136 static nodes_iterator nodes_end(CallGraphDOTInfo *CGInfo) { in nodes_end()
137 return nodes_iterator(CGInfo->getCallGraph()->end(), &CGGetValuePtr); in nodes_end()
146 static std::string getGraphName(CallGraphDOTInfo *CGInfo) { in getGraphName()
148 std::string(CGInfo->getModule()->getModuleIdentifier()); in getGraphName()
152 const CallGraphDOTInfo *CGInfo) { in isNodeHidden()
159 CallGraphDOTInfo *CGInfo) { in getNodeLabel()
160 if (Node == CGInfo->getCallGraph()->getExternalCallingNode()) in getNodeLabel()
162 if (Node == CGInfo->getCallGraph()->getCallsExternalNode()) in getNodeLabel()
179 CallGraphDOTInfo *CGInfo) { in getEdgeAttributes()
193 1 + 2 * (double(Counter) / CGInfo->getMaxFreq()); in getEdgeAttributes()
200 CallGraphDOTInfo *CGInfo) { in getNodeAttributes()
206 uint64_t freq = CGInfo->getFreq(F); in getNodeAttributes()
207 std::string color = getHeatColor(freq, CGInfo->getMaxFreq()); in getNodeAttributes()
208 std::string edgeColor = (freq <= (CGInfo->getMaxFreq() / 2)) in getNodeAttributes()