Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeLayout.h27 struct EdgeCount { struct
46 ArrayRef<EdgeCount> EdgeCounts); argument
54 ArrayRef<EdgeCount> EdgeCounts);
58 ArrayRef<EdgeCount> EdgeCounts);
86 ArrayRef<EdgeCount> CallCounts, ArrayRef<uint64_t> CallOffsets);
91 ArrayRef<uint64_t> FuncCounts, ArrayRef<EdgeCount> CallCounts,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMLInlineAdvisor.cpp187 EdgeCount += getLocalCalls(KVP.first->getFunction()); in MLInlineAdvisor()
234 EdgeCount += getLocalCalls(N->getFunction()); in onPassEntry()
249 EdgeCount -= EdgesOfLastSeenNodes; in onPassEntry()
284 assert(EdgeCount >= EdgesOfLastSeenNodes); in onPassExit()
334 EdgeCount += (NewCallerAndCalleeEdges - Advice.CallerAndCalleeEdges); in onSuccessfulInlining()
335 assert(CurrentIRSize >= 0 && EdgeCount >= 0 && NodeCount >= 0); in onSuccessfulInlining()
431 *ModelRunner->getTensor<int64_t>(FeatureIndex::edge_count) = EdgeCount; in getAdviceImpl()
514 OS << "[MLInlineAdvisor] Nodes: " << NodeCount << " Edges: " << EdgeCount in print()
H A DCtxProfAnalysis.cpp413 uint64_t EdgeCount = BBInfo.getEdgeCount(SuccIdx); in getOutgoingBranchWeights() local
414 if (EdgeCount > MaxCount) in getOutgoingBranchWeights()
415 MaxCount = EdgeCount; in getOutgoingBranchWeights()
416 Profile[SuccIdx] = EdgeCount; in getOutgoingBranchWeights()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeLayout.cpp592 ArrayRef<EdgeCount> EdgeCounts) in ExtTSPImpl()
616 const ArrayRef<EdgeCount> &EdgeCounts) { in initialize()
1040 ArrayRef<uint64_t> NodeCounts, ArrayRef<EdgeCount> EdgeCounts, in CDSortImpl()
1059 const ArrayRef<EdgeCount> &EdgeCounts, in initialize()
1413 ArrayRef<EdgeCount> EdgeCounts) { in computeExtTspLayout()
1430 ArrayRef<EdgeCount> EdgeCounts) { in calcExtTspScore()
1450 ArrayRef<EdgeCount> EdgeCounts) { in calcExtTspScore()
1459 ArrayRef<uint64_t> FuncCounts, ArrayRef<EdgeCount> CallCounts, in computeCacheDirectedLayout()
1473 ArrayRef<EdgeCount> CallCounts, ArrayRef<uint64_t> CallOffsets) { in computeCacheDirectedLayout()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMLInlineAdvisor.h83 int64_t EdgeCount = 0; variable
/freebsd/contrib/llvm-project/lld/ELF/
H A DCallGraphSort.cpp283 SmallVector<codelayout::EdgeCount, 0> callCounts; in computeCacheDirectedSortOrder()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1723 uint64_t EdgeCount = *E->Count; in setBranchWeights() local
1724 if (EdgeCount > MaxCount) in setBranchWeights()
1725 MaxCount = EdgeCount; in setBranchWeights()
1726 EdgeCounts[SuccNum] = EdgeCount; in setBranchWeights()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp3694 SmallVector<codelayout::EdgeCount, 0> JumpCounts; in applyExtTsp()