llvm-project/mlir
Joe Loser e5a8f50ab1 [mlir] Use std::size instead of llvm::array_lengthof
LLVM contains a helpful function for getting the size of a C-style
array: `llvm::array_lengthof`. This is useful prior to C++17, but not as
helpful for C++17 or later: `std::size` already has support for C-style
arrays.

Change call sites to use `std::size` instead.

Differential Revision: https://reviews.llvm.org/D133387
2022-09-07 09:54:51 -06:00
..
benchmark/python [mlir][sparse] Expose SparseTensor passes as enums instead of opaque numbers for vectorization and parallelization options. 2022-09-04 01:39:35 +00:00
cmake/modules Revert "[mlir][cmake] Don't add dependencies on mlir-(generic-)headers" 2022-09-03 01:45:18 +00:00
docs [mlir] Flip default value of emitAccessorPrefix to kEmitAccessorPrefix_Prefixed 2022-09-06 15:56:57 -07:00
examples [mlir] Flip default value of emitAccessorPrefix to kEmitAccessorPrefix_Prefixed 2022-09-06 15:56:57 -07:00
include [mlir] Use std::size instead of llvm::array_lengthof 2022-09-07 09:54:51 -06:00
lib [mlir] Use std::size instead of llvm::array_lengthof 2022-09-07 09:54:51 -06:00
python [mlir][linalg][python] Add named constructor for MatchOp 2022-08-15 14:41:28 +02:00
test One-shot-bufferize: allow non-tensor arguments in scg.while/for. 2022-09-07 15:54:25 +02:00
tools [mlir] Improve BitEnumAttr, update documentation 2022-09-06 21:36:34 +00:00
unittests [mlir] Fix DenseElementsAttr::mapValues(i1, splat). 2022-09-06 21:28:25 +02:00
utils [mlir:vscode] Add support for loading big bytecode files 2022-09-06 14:49:16 -07:00
.clang-format [mlir] Add missing newline at end of .clang-format file 2022-06-14 23:59:00 -07:00
.clang-tidy [mlir] Disable `misc-const-correctness` clang-tidy check. 2022-08-03 10:18:43 +02:00
CMakeLists.txt Revert "[cmake] Use `CMAKE_INSTALL_LIBDIR` too" 2022-08-18 22:46:32 -04:00
LICENSE.TXT
README.md

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.