Home
last modified time | relevance | path

Searched refs:SortedFunctions (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Passes/
H A DLongJmp.cpp290 const BinaryContext &BC, std::vector<BinaryFunction *> &SortedFunctions, in tentativeLayoutRelocColdPart() argument
293 for (BinaryFunction *Func : SortedFunctions) { in tentativeLayoutRelocColdPart()
312 const BinaryContext &BC, std::vector<BinaryFunction *> &SortedFunctions, in tentativeLayoutRelocMode() argument
319 for (BinaryFunction *BF : SortedFunctions) { in tentativeLayoutRelocMode()
328 for (BinaryFunction *BF : SortedFunctions) { in tentativeLayoutRelocMode()
341 for (BinaryFunction *Func : SortedFunctions) { in tentativeLayoutRelocMode()
349 tentativeLayoutRelocColdPart(BC, SortedFunctions, DotAddress); in tentativeLayoutRelocMode()
373 for (BinaryFunction *Func : SortedFunctions) in tentativeLayoutRelocMode()
384 for (BinaryFunction *Func : SortedFunctions) { in tentativeLayout()
399 EstimatedTextSize = tentativeLayoutRelocMode(BC, SortedFunctions, 0); in tentativeLayout()
[all …]
H A DReorderFunctions.cpp293 std::vector<BinaryFunction *> SortedFunctions(BFs.size()); in runOnFunctions() local
295 llvm::transform(BFs, SortedFunctions.begin(), in runOnFunctions()
299 llvm::stable_sort(SortedFunctions, [&](const BinaryFunction *A, in runOnFunctions()
315 for (BinaryFunction *BF : SortedFunctions) in runOnFunctions()
409 std::vector<BinaryFunction *> SortedFunctions(BFs.size()); in runOnFunctions() local
410 llvm::transform(BFs, SortedFunctions.begin(), in runOnFunctions()
416 llvm::stable_sort(SortedFunctions, in runOnFunctions()
427 for (const BinaryFunction *Func : SortedFunctions) { in runOnFunctions()
/llvm-project-15.0.7/bolt/include/bolt/Passes/
H A DLongJmp.h72 std::vector<BinaryFunction *> &SortedFunctions);
75 std::vector<BinaryFunction *> &SortedFunctions,
79 std::vector<BinaryFunction *> &SortedFunctions,
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryEmitter.cpp257 std::vector<BinaryFunction *> SortedFunctions = BC.getSortedFunctions(); in emitFunctions() local
258 emit(SortedFunctions); in emitFunctions()
H A DBinaryContext.cpp1508 std::vector<BinaryFunction *> SortedFunctions(BinaryFunctions.size()); in getSortedFunctions() local
1509 llvm::transform(BinaryFunctions, SortedFunctions.begin(), in getSortedFunctions()
1514 llvm::stable_sort(SortedFunctions, in getSortedFunctions()
1521 return SortedFunctions; in getSortedFunctions()