Home
last modified time | relevance | path

Searched refs:CFGInfo (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DCFGPrinter.h102 static NodeRef getEntryNode(DOTFuncInfo *CFGInfo) {
103 return &(CFGInfo->getFunction()->getEntryBlock());
109 static nodes_iterator nodes_begin(DOTFuncInfo *CFGInfo) {
110 return nodes_iterator(CFGInfo->getFunction()->begin());
113 static nodes_iterator nodes_end(DOTFuncInfo *CFGInfo) {
114 return nodes_iterator(CFGInfo->getFunction()->end());
117 static size_t size(DOTFuncInfo *CFGInfo) {
118 return CFGInfo->getFunction()->size();
130 static std::string getGraphName(DOTFuncInfo *CFGInfo) {
131 return "CFG for '" + CFGInfo->getFunction()->getName().str() + "' function";
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DCFGPrinter.cpp68 DOTFuncInfo CFGInfo(&F, BFI, BPI, MaxFreq); in writeCFGToDotFile() local
69 CFGInfo.setHeatColors(ShowHeatColors); in writeCFGToDotFile()
70 CFGInfo.setEdgeWeights(ShowEdgeWeight); in writeCFGToDotFile()
71 CFGInfo.setRawEdgeWeights(UseRawEdgeWeight); in writeCFGToDotFile()
74 WriteGraph(File, &CFGInfo, CFGOnly); in writeCFGToDotFile()
83 DOTFuncInfo CFGInfo(&F, BFI, BPI, MaxFreq); in viewCFG() local
84 CFGInfo.setHeatColors(ShowHeatColors); in viewCFG()
85 CFGInfo.setEdgeWeights(ShowEdgeWeight); in viewCFG()
86 CFGInfo.setRawEdgeWeights(UseRawEdgeWeight); in viewCFG()
88 ViewGraph(&CFGInfo, "cfg." + F.getName(), CFGOnly); in viewCFG()
[all …]
H A DCallPrinter.cpp238 CallGraphDOTInfo CFGInfo(&M, &CG, LookupBFI); in runOnModule() local
241 DOTGraphTraits<CallGraphDOTInfo *>::getGraphName(&CFGInfo); in runOnModule()
242 ViewGraph(&CFGInfo, "callgraph", true, Title); in runOnModule()
280 CallGraphDOTInfo CFGInfo(&M, &CG, LookupBFI); in runOnModule() local
283 WriteGraph(File, &CFGInfo); in runOnModule()
H A DMemorySSA.cpp2246 static NodeRef getEntryNode(DOTFuncMSSAInfo *CFGInfo) { in getEntryNode()
2247 return &(CFGInfo->getFunction()->getEntryBlock()); in getEntryNode()
2253 static nodes_iterator nodes_begin(DOTFuncMSSAInfo *CFGInfo) { in nodes_begin()
2254 return nodes_iterator(CFGInfo->getFunction()->begin()); in nodes_begin()
2257 static nodes_iterator nodes_end(DOTFuncMSSAInfo *CFGInfo) { in nodes_end()
2258 return nodes_iterator(CFGInfo->getFunction()->end()); in nodes_end()
2261 static size_t size(DOTFuncMSSAInfo *CFGInfo) { in size()
2262 return CFGInfo->getFunction()->size(); in size()
2271 static std::string getGraphName(DOTFuncMSSAInfo *CFGInfo) { in getGraphName()
2272 return "MSSA CFG for '" + CFGInfo->getFunction()->getName().str() + in getGraphName()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DSampleProfReader.cpp97 StringRef CFGInfo = Input.substr(strlen("!CFGChecksum:")).trim(); in parseMetadata() local
98 return !CFGInfo.getAsInteger(10, FunctionHash); in parseMetadata()