Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeLayout.h40 /// \p EdgeCounts: The execution counts of every edge (jump) in the profile. The
45 ArrayRef<EdgeCount> EdgeCounts);
53 ArrayRef<EdgeCount> EdgeCounts);
58 ArrayRef<EdgeCount> EdgeCounts);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeLayout.cpp592 ArrayRef<EdgeCount> EdgeCounts) in initialize()
594 initialize(NodeSizes, NodeCounts, EdgeCounts); in initialize()
616 const ArrayRef<EdgeCount> &EdgeCounts) { in initialize()
632 AllJumps.reserve(EdgeCounts.size()); in initialize()
633 for (auto Edge : EdgeCounts) { in initialize()
1040 ArrayRef<uint64_t> NodeCounts, ArrayRef<EdgeCount> EdgeCounts, in calcExtTspScore()
1043 initialize(NodeSizes, NodeCounts, EdgeCounts, EdgeOffsets); in calcExtTspScore()
1059 const ArrayRef<EdgeCount> &EdgeCounts,
1075 AllJumps.reserve(EdgeCounts.size());
1076 for (size_t I = 0; I < EdgeCounts
544 ExtTSPImpl(const std::vector<uint64_t> & NodeSizes,const std::vector<uint64_t> & NodeCounts,const std::vector<EdgeCountT> & EdgeCounts) ExtTSPImpl() argument
568 initialize(const std::vector<uint64_t> & NodeSizes,const std::vector<uint64_t> & NodeCounts,const std::vector<EdgeCountT> & EdgeCounts) initialize() argument
992 applyExtTspLayout(const std::vector<uint64_t> & NodeSizes,const std::vector<uint64_t> & NodeCounts,const std::vector<EdgeCountT> & EdgeCounts) applyExtTspLayout() argument
1011 calcExtTspScore(const std::vector<uint64_t> & Order,const std::vector<uint64_t> & NodeSizes,const std::vector<uint64_t> & NodeCounts,const std::vector<EdgeCountT> & EdgeCounts) calcExtTspScore() argument
1038 calcExtTspScore(const std::vector<uint64_t> & NodeSizes,const std::vector<uint64_t> & NodeCounts,const std::vector<EdgeCountT> & EdgeCounts) calcExtTspScore() argument
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DPGOInstrumentation.h105 void setProfMetadata(Module *M, Instruction *TI, ArrayRef<uint64_t> EdgeCounts,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1635 SmallVector<uint64_t, 2> EdgeCounts(SuccessorCount, 0); in setBranchWeights() local
1647 EdgeCounts[SuccNum] = EdgeCount; in setBranchWeights()
1651 setProfMetadata(M, TI, EdgeCounts, MaxCount); in setBranchWeights()
2296 ArrayRef<uint64_t> EdgeCounts, uint64_t MaxCount) { in setProfMetadata() argument
2300 for (const auto &ECI : EdgeCounts) in setProfMetadata()
2320 std::accumulate(EdgeCounts.begin(), EdgeCounts.end(), (uint64_t)0, in setProfMetadata()