Searched refs:BPFunctionNode (Results 1 – 7 of 7) sorted by relevance
| /llvm-project/llvm/unittests/Support/ |
| H A D | BalancedPartitioningTest.cpp | 22 void PrintTo(const BPFunctionNode &Node, std::ostream *OS) { in PrintTo() 33 static std::vector<BPFunctionNode::IDT> 34 getIds(std::vector<BPFunctionNode> Nodes) { in getIds() 35 std::vector<BPFunctionNode::IDT> Ids; in getIds() 43 std::vector<BPFunctionNode> Nodes = { in TEST_F() 44 BPFunctionNode(0, {1, 2}), BPFunctionNode(2, {3, 4}), in TEST_F() 45 BPFunctionNode(1, {1, 2}), BPFunctionNode(3, {3, 4}), in TEST_F() 46 BPFunctionNode(4, {4}), in TEST_F() 51 auto NodeIs = [](BPFunctionNode::IDT Id, std::optional<uint32_t> Bucket) { in TEST_F() 52 return AllOf(Field("Id", &BPFunctionNode::Id, Id), in TEST_F() [all …]
|
| /llvm-project/llvm/unittests/ProfileData/ |
| H A D | BPFunctionNodeTest.cpp | 20 void PrintTo(const BPFunctionNode &Node, std::ostream *OS) { in PrintTo() 26 auto NodeIs = [](BPFunctionNode::IDT Id, in TEST() 27 ArrayRef<BPFunctionNode::UtilityNodeT> UNs) { in TEST() 28 return AllOf(Field("Id", &BPFunctionNode::Id, Id), in TEST() 29 Field("UtilityNodes", &BPFunctionNode::UtilityNodes, in TEST() 33 std::vector<BPFunctionNode> Nodes; in TEST()
|
| /llvm-project/llvm/include/llvm/Support/ |
| H A D | BalancedPartitioning.h | 56 class BPFunctionNode { 64 BPFunctionNode(IDT Id, ArrayRef<UtilityNodeT> UtilityNodes) in BPFunctionNode() function 105 void run(std::vector<BPFunctionNode> &Nodes) const; 111 iterator_range<std::vector<BPFunctionNode>::iterator>; 156 bool moveFunctionNode(BPFunctionNode &N, unsigned LeftBucket, 195 static float moveGain(const BPFunctionNode &N, bool FromLeftToRight,
|
| /llvm-project/llvm/lib/Support/ |
| H A D | BalancedPartitioning.cpp | 24 void BPFunctionNode::dump(raw_ostream &OS) const { in dump() 79 void BalancedPartitioning::run(std::vector<BPFunctionNode> &Nodes) const { in run() 172 DenseMap<BPFunctionNode::UtilityNodeT, unsigned> UtilityNodeIndex; in runIterations() 233 typedef std::pair<float, BPFunctionNode *> GainPair; in runIteration() 270 bool BalancedPartitioning::moveFunctionNode(BPFunctionNode &N, in moveFunctionNode() 318 float BalancedPartitioning::moveGain(const BPFunctionNode &N, in moveGain()
|
| /llvm-project/llvm/lib/ProfileData/ |
| H A D | InstrProf.cpp | 1039 ArrayRef<TemporalProfTraceTy> Traces, std::vector<BPFunctionNode> &Nodes, in createBPFunctionNodes() 1041 using IDT = BPFunctionNode::IDT; in createBPFunctionNodes() 1042 using UtilityNodeT = BPFunctionNode::UtilityNodeT; in createBPFunctionNodes()
|
| /llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | InstrProf.h | 396 std::vector<BPFunctionNode> &Nodes,
|
| /llvm-project/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 3405 std::vector<BPFunctionNode> Nodes; 3414 DenseMap<BPFunctionNode::IDT, unsigned> IdToPageNumber;
|