llvm-project/llvm/tools
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
..
bugpoint Use a sorted array instead of a map to store AttrBuilder string attributes 2022-01-10 14:49:53 +01:00
bugpoint-passes
dsymutil [llvm] Remove redundant member initialization (NFC) 2022-01-08 11:56:44 -08:00
gold
llc Reland - [CodeView] Emit S_OBJNAME record 2021-12-21 19:02:14 -05:00
lli
llvm-ar
llvm-as
llvm-as-fuzzer
llvm-bcanalyzer
llvm-c-test [llvm-c] Accept GEP operators in some APIs 2021-12-17 08:54:18 +01:00
llvm-cat
llvm-cfi-verify Avoid by-value copies of referenced objects 2021-12-16 07:22:46 -08:00
llvm-config [llvm] Use GNUInstallDirs to support custom installation dirs 2022-01-08 00:47:31 +00:00
llvm-cov [llvm] Remove redundant member initialization (NFC) 2022-01-08 11:56:44 -08:00
llvm-cvtres
llvm-cxxdump
llvm-cxxfilt
llvm-cxxmap
llvm-debuginfod-find [llvm] [Debuginfo] Add llvm-debuginfod-find tool and end-to-end-tests. 2021-12-14 18:00:18 +00:00
llvm-diff
llvm-dis
llvm-dlang-demangle-fuzzer
llvm-dwarfdump [dwarf][NFC] Move expandBundle() to MachO.h 2021-12-15 19:08:56 -08:00
llvm-dwp
llvm-exegesis
llvm-extract
llvm-go
llvm-gsymutil [dwarf][NFC] Move expandBundle() to MachO.h 2021-12-15 19:08:56 -08:00
llvm-ifs [ifs] Add options to allow llvm-ifs to generate multiple outputs 2021-12-09 12:25:51 -08:00
llvm-isel-fuzzer
llvm-itanium-demangle-fuzzer
llvm-jitlink [ORC] Add helper functions for running finalize / dealloc actions. 2022-01-10 19:13:58 +11:00
llvm-jitlistener
llvm-libtool-darwin
llvm-link
llvm-lipo
llvm-lto Revert "[LTO] Add a function LTOCodeGenerator::getMergedModule" 2021-12-20 20:34:04 -05:00
llvm-lto2 Reland - [CodeView] Emit S_OBJNAME record 2021-12-21 19:02:14 -05:00
llvm-mc
llvm-mc-assemble-fuzzer
llvm-mc-disassemble-fuzzer
llvm-mca [llvm] Remove redundant member initialization (NFC) 2022-01-08 11:56:44 -08:00
llvm-microsoft-demangle-fuzzer
llvm-ml
llvm-modextract
llvm-mt
llvm-nm
llvm-objcopy [llvm-objcopy] Implement the PE-COFF specific --subsystem option 2022-01-10 14:44:15 +02:00
llvm-objdump [llvm] Remove redundant member initialization (NFC) 2022-01-08 11:56:44 -08:00
llvm-opt-fuzzer
llvm-opt-report
llvm-pdbutil [llvm] Remove unused forward declarations (NFC) 2022-01-07 20:00:34 -08:00
llvm-profdata [llvm] Remove redundant member initialization (NFC) 2022-01-08 11:56:44 -08:00
llvm-profgen [llvm-profgen] Error out for unsupported AutoFDO profile generate with probe 2022-01-02 16:38:56 -08:00
llvm-rc [llvm] Remove unused forward declarations (NFC) 2022-01-07 20:00:34 -08:00
llvm-readobj [llvm] Remove redundant member initialization (NFC) 2022-01-08 11:56:44 -08:00
llvm-reduce Use a sorted array instead of a map to store AttrBuilder string attributes 2022-01-10 14:49:53 +01:00
llvm-rtdyld
llvm-rust-demangle-fuzzer
llvm-shlib
llvm-sim
llvm-size
llvm-special-case-list-fuzzer
llvm-split
llvm-stress
llvm-strings [llvm-strings] Remove use of hard coded executable name 2022-01-05 14:41:49 +00:00
llvm-symbolizer [Symbolizer][Debuginfo] Add debuginfod client to llvm-symbolizer. 2021-12-13 23:00:32 +00:00
llvm-tapi-diff [llvm-tapi-diff] Replicate diff utility error handling 2021-12-18 09:54:37 -08:00
llvm-tli-checker [TLI checker] Update for post-commit review comments 2021-12-01 12:33:54 -08:00
llvm-undname
llvm-xray
llvm-yaml-numeric-parser-fuzzer
llvm-yaml-parser-fuzzer
lto [llvm] Use GNUInstallDirs to support custom installation dirs 2022-01-08 00:47:31 +00:00
msbuild
obj2yaml [yaml2obj][XCOFF] parsing auxiliary symbols. 2022-01-10 02:38:49 +00:00
opt
opt-viewer [llvm] Use GNUInstallDirs to support custom installation dirs 2022-01-08 00:47:31 +00:00
remarks-shlib [llvm] Use GNUInstallDirs to support custom installation dirs 2022-01-08 00:47:31 +00:00
sancov
sanstats [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
split-file
verify-uselistorder
vfabi-demangle-fuzzer
xcode-toolchain
yaml2obj Have yaml2obj describe all options in --help 2021-11-24 07:44:52 -08:00
CMakeLists.txt