llvm-project/llvm/tools/bugpoint
Serge Guelton d2cc6c2d0c Use a sorted array instead of a map to store AttrBuilder string attributes
Using and std::map<SmallString, SmallString> for target dependent attributes is
inefficient: it makes its constructor slightly heavier, and involves extra
allocation for each new string attribute. Storing the attribute key/value as
strings implies extra allocation/copy step.

Use a sorted vector instead. Given the low number of attributes generally
involved, this is cheaper, as showcased by

https://llvm-compile-time-tracker.com/compare.php?from=5de322295f4ade692dc4f1823ae4450ad3c48af2&to=05bc480bf641a9e3b466619af43a2d123ee3f71d&stat=instructions

Differential Revision: https://reviews.llvm.org/D116599
2022-01-10 14:49:53 +01:00
..
BugDriver.cpp
BugDriver.h [llvm] Remove unused forward declarations (NFC) 2022-01-07 20:00:34 -08:00
CMakeLists.txt
CrashDebugger.cpp Use a sorted array instead of a map to store AttrBuilder string attributes 2022-01-10 14:49:53 +01:00
ExecutionDriver.cpp [bugpoint] Delete -safe-llc and make -run-llc work like -run-llc -safe-run-llc 2020-10-09 16:38:30 -07:00
ExtractFunction.cpp
FindBugs.cpp [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
ListReducer.h Avoid shuffle self-assignment in EXPENSIVE_CHECKS builds 2021-03-10 11:17:34 +00:00
Miscompilation.cpp [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
OptimizerDriver.cpp [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
ToolRunner.cpp [bugpoint] Fix repeated off-by-one error in debug output 2021-11-08 23:44:45 +00:00
ToolRunner.h
bugpoint.cpp Revert "[NFC] Remove LinkAll*.h" 2021-11-02 09:08:09 -07:00