Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineCFGPrinter.h33 static NodeRef getEntryNode(DOTMachineFuncInfo *CFGInfo) {
34 return &(CFGInfo->getFunction()->front());
40 static nodes_iterator nodes_begin(DOTMachineFuncInfo *CFGInfo) {
41 return nodes_iterator(CFGInfo->getFunction()->begin());
44 static nodes_iterator nodes_end(DOTMachineFuncInfo *CFGInfo) {
45 return nodes_iterator(CFGInfo->getFunction()->end());
48 static size_t size(DOTMachineFuncInfo *CFGInfo) {
49 return CFGInfo->getFunction()->size();
80 DOTMachineFuncInfo *CFGInfo) {
82 return getSimpleNodeLabel(Node, CFGInfo);
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCFGPrinter.h107 static NodeRef getEntryNode(DOTFuncInfo *CFGInfo) {
108 return &(CFGInfo->getFunction()->getEntryBlock());
114 static nodes_iterator nodes_begin(DOTFuncInfo *CFGInfo) {
115 return nodes_iterator(CFGInfo->getFunction()->begin());
118 static nodes_iterator nodes_end(DOTFuncInfo *CFGInfo) {
119 return nodes_iterator(CFGInfo->getFunction()->end());
122 static size_t size(DOTFuncInfo *CFGInfo) {
123 return CFGInfo->getFunction()->size();
198 static std::string getGraphName(DOTFuncInfo *CFGInfo) {
199 return "CFG for '" + CFGInfo->getFunction()->getName().str() + "' function";
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCFGPrinter.cpp70 DOTFuncInfo CFGInfo(&F, BFI, BPI, MaxFreq); in writeCFGToDotFile()
71 CFGInfo.setHeatColors(ShowHeatColors); in writeCFGToDotFile()
72 CFGInfo.setEdgeWeights(ShowEdgeWeight); in writeCFGToDotFile() local
73 CFGInfo.setRawEdgeWeights(UseRawEdgeWeight); in writeCFGToDotFile()
76 WriteGraph(File, &CFGInfo, CFGOnly); in writeCFGToDotFile()
85 DOTFuncInfo CFGInfo(&F, BFI, BPI, MaxFreq); in viewCFG()
86 CFGInfo.setHeatColors(ShowHeatColors); in viewCFG()
87 CFGInfo.setEdgeWeights(ShowEdgeWeight); in viewCFG() local
88 CFGInfo.setRawEdgeWeights(UseRawEdgeWeight); in viewCFG()
90 ViewGraph(&CFGInfo, "cf in viewCFG()
269 DOTFuncInfo CFGInfo(this, BFI, BPI, BFI ? getMaxFreq(*this, BFI) : 0); viewCFG() local
318 isNodeHidden(const BasicBlock * Node,const DOTFuncInfo * CFGInfo) isNodeHidden() argument
[all...]
H A DCallPrinter.cpp235 CallGraphDOTInfo CFGInfo(&M, &CG, LookupBFI); in doCallGraphDOTPrinting() local
238 WriteGraph(File, &CFGInfo); in doCallGraphDOTPrinting()
247 CallGraphDOTInfo CFGInfo(&M, &CG, LookupBFI); in viewCallGraph() local
250 DOTGraphTraits<CallGraphDOTInfo *>::getGraphName(&CFGInfo); in viewCallGraph()
251 ViewGraph(&CFGInfo, "callgraph", true, Title); in viewCallGraph()
H A DMemorySSA.cpp2297 static NodeRef getEntryNode(DOTFuncMSSAInfo *CFGInfo) { in getEntryNode()
2298 return &(CFGInfo->getFunction()->getEntryBlock()); in getEntryNode()
2304 static nodes_iterator nodes_begin(DOTFuncMSSAInfo *CFGInfo) { in nodes_begin()
2305 return nodes_iterator(CFGInfo->getFunction()->begin()); in nodes_begin()
2308 static nodes_iterator nodes_end(DOTFuncMSSAInfo *CFGInfo) { in nodes_end()
2309 return nodes_iterator(CFGInfo->getFunction()->end()); in nodes_end()
2312 static size_t size(DOTFuncMSSAInfo *CFGInfo) { in size()
2313 return CFGInfo->getFunction()->size(); in size()
2322 static std::string getGraphName(DOTFuncMSSAInfo *CFGInfo) { in getGraphName()
2323 return "MSSA CFG for '" + CFGInfo->getFunction()->getName().str() + in getGraphName()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp184 StringRef CFGInfo = Input.substr(strlen("!CFGChecksum:")).trim(); in parseMetadata() local
185 return !CFGInfo.getAsInteger(10, FunctionHash); in parseMetadata()