Home
last modified time | relevance | path

Searched refs:EdgeCount (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMLInlineAdvisor.cpp133 EdgeCount += getLocalCalls(KVP.first->getFunction()); in MLInlineAdvisor()
169 EdgeCount += getLocalCalls(N->getFunction()); in onPassEntry()
179 EdgeCount -= EdgesOfLastSeenNodes; in onPassEntry()
216 assert(EdgeCount >= EdgesOfLastSeenNodes); in onPassExit()
261 EdgeCount += (NewCallerAndCalleeEdges - Advice.CallerAndCalleeEdges); in onSuccessfulInlining()
262 assert(CurrentIRSize >= 0 && EdgeCount >= 0 && NodeCount >= 0); in onSuccessfulInlining()
353 *ModelRunner->getTensor<int64_t>(FeatureIndex::EdgeCount) = EdgeCount; in getAdviceImpl()
414 OS << "[MLInlineAdvisor] Nodes: " << NodeCount << " Edges: " << EdgeCount in print()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DInlineModelFeatureMaps.h94 M(EdgeCount, "edge_count", "total number of calls in the module") \
H A DMLInlineAdvisor.h77 int64_t EdgeCount = 0; variable
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1412 uint64_t EdgeCount = E->CountValue; in setBranchWeights() local
1413 if (EdgeCount > MaxCount) in setBranchWeights()
1414 MaxCount = EdgeCount; in setBranchWeights()
1415 EdgeCounts[SuccNum] = EdgeCount; in setBranchWeights()