Home
last modified time | relevance | path

Searched refs:BinaryFunctions (Results 1 – 7 of 7) sorted by relevance

/llvm-project/bolt/lib/Passes/
H A DCacheMetrics.cpp33 const std::vector<BinaryFunction *> &BinaryFunctions, in extractBasicBlockInfo() argument
37 for (BinaryFunction *BF : BinaryFunctions) { in extractBasicBlockInfo()
57 calcTSPScore(const std::vector<BinaryFunction *> &BinaryFunctions, in calcTSPScore() argument
62 for (BinaryFunction *BF : BinaryFunctions) { in calcTSPScore()
98 extractFunctionCalls(const std::vector<BinaryFunction *> &BinaryFunctions) { in extractFunctionCalls() argument
101 for (BinaryFunction *SrcFunction : BinaryFunctions) { in extractFunctionCalls()
143 const std::vector<BinaryFunction *> &BinaryFunctions, in expectedCacheHitRatio() argument
147 extractFunctionCalls(BinaryFunctions); in expectedCacheHitRatio()
151 for (BinaryFunction *BF : BinaryFunctions) { in expectedCacheHitRatio()
162 for (BinaryFunction *BF : BinaryFunctions) { in expectedCacheHitRatio()
[all …]
/llvm-project/bolt/unittests/Core/
H A DDynoStats.cpp17 std::map<uint64_t, BinaryFunction> BinaryFunctions; in TEST() local
19 getDynoStats(BinaryFunctions, /* BC.isAArch64() = */ true); in TEST()
21 getDynoStats(BinaryFunctions, /* BC.isAArch64() = */ false); in TEST()
/llvm-project/llvm/tools/llvm-profgen/
H A DProfiledBinary.h221 std::unordered_map<std::string, BinaryFunction> BinaryFunctions;
223 // Lookup BinaryFunctions using the function name's MD5 hash. Needed if the
494 return BinaryFunctions; in getAllBinaryFunctions()
507 auto I = BinaryFunctions.find(FName.str()); in getBinaryFunction()
508 if (I == BinaryFunctions.end()) in getBinaryFunction()
220 std::unordered_map<std::string, BinaryFunction> BinaryFunctions; global() variable
H A DProfiledBinary.cpp188 for (auto &F : BinaryFunctions) { in warnNoFuncEntry()
209 emitWarningSummary(NoFuncEntryNum, BinaryFunctions.size(), in warnNoFuncEntry()
806 auto Ret = BinaryFunctions.emplace(Name, BinaryFunction()); in loadSymbolsFromDWARFUnit()
876 if (BinaryFunctions.empty()) in loadSymbolsFromDWARF()
880 // is done after BinaryFunctions are finalized. in loadSymbolsFromDWARF()
881 for (auto &BinaryFunction : BinaryFunctions) { in loadSymbolsFromDWARF()
/llvm-project/bolt/include/bolt/Passes/
H A DCacheMetrics.h28 const std::vector<BinaryFunction *> &BinaryFunctions);
/llvm-project/bolt/lib/Core/
H A DBinaryContext.cpp824 auto Result = BinaryFunctions.emplace( in createBinaryFunction()
1038 for (auto &BFI : BinaryFunctions) { in adjustCodePadding()
1455 auto FI = BinaryFunctions.find(ChildBF.getAddress()); in foldFunction()
1458 assert(FI != BinaryFunctions.end() && "function not found"); in foldFunction()
1463 FI = BinaryFunctions.erase(FI); in foldFunction()
1608 std::vector<BinaryFunction *> SortedFunctions(BinaryFunctions.size()); in getSortedFunctions()
1609 llvm::transform(llvm::make_second_range(BinaryFunctions), in getSortedFunctions()
1619 AllFunctions.reserve(BinaryFunctions.size() + InjectedBinaryFunctions.size()); in getAllBinaryFunctions()
1620 llvm::transform(llvm::make_second_range(BinaryFunctions), in getAllBinaryFunctions()
1706 for (auto &KV : BinaryFunctions) { in preprocessDebugInfo()
[all...]
/llvm-project/bolt/include/bolt/Core/
H A DBinaryContext.h225 std::map<uint64_t, BinaryFunction> BinaryFunctions;
227 /// A mutex that is used to control parallel accesses to BinaryFunctions
528 return BinaryFunctions;
533 return BinaryFunctions;
221 std::map<uint64_t, BinaryFunction> BinaryFunctions; global() variable