llvm-project/mlir/lib
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
..
Analysis [MLIR][NFC] Move PresburgerSet to Presburger/ directory 2022-01-08 15:39:40 +05:30
Bindings/Python Apply clang-tidy fixes for modernize-use-equals-default in IRCore.cpp (NFC) 2022-01-10 01:05:13 +00:00
CAPI [mlir] Introduce C API for the Quantization dialect types 2022-01-05 16:20:29 +01:00
Conversion [mlir] Use const reference for loop iteration variable. 2022-01-07 12:00:53 +01:00
Dialect [mlir][linalg][bufferize][NFC] Clean up bufferization entry point 2022-01-10 21:50:36 +09:00
ExecutionEngine [mlir][sparse] Strengthening first arguments of fromCOO/toCOO 2022-01-05 16:15:28 -08:00
IR [mlir] Retain metadata for single loc fusedloc 2022-01-04 15:37:33 -08:00
Interfaces Apply clang-tidy fixes for performance-for-range-copy to MLIR (NFC) 2022-01-02 22:19:56 +00:00
Parser [mlir] Remove unused "using" (NFC) 2022-01-01 09:14:19 -08:00
Pass Apply clang-tidy fixes for modernize-use-equals-default to MLIR (NFC) 2022-01-02 22:18:36 +00:00
Reducer Apply clang-tidy fixes for performance-move-const-arg in ReductionNode.cpp (NFC) 2022-01-10 01:05:14 +00:00
Rewrite [MLIR][PDL] Integration test of multi-root matching and related fixes. 2022-01-04 08:03:45 +05:30
Support Avoid creating a ThreadPool in MlirOptMain when `--mlir-disable-threading` option is set 2022-01-08 02:26:41 +00:00
TableGen [mlir][ods] ODS ops get an `extraClassDefinition` 2022-01-06 01:43:26 +00:00
Target Use a sorted array instead of a map to store AttrBuilder string attributes 2022-01-10 14:49:53 +01:00
Tools Apply clang-tidy fixes for performance-unnecessary-value-param to MLIR (NFC) 2022-01-02 01:45:18 +00:00
Transforms [mlir] Don't inline calls from dead SCCs 2022-01-10 12:07:14 +01:00
Translation Apply clang-tidy fixes for performance-unnecessary-value-param to MLIR (NFC) 2022-01-02 01:45:18 +00:00
CMakeLists.txt Re-engineer MLIR python build support. 2021-07-27 15:54:58 +00:00