llvm-project/mlir/tools
Vladislav Vinogradov 5d613e42d3 [mlir][ODS] Use StringLiteral instead of StringRef when applicable
Use `StringLiteral` for function return type if it is known to return
constant string literals only.

This will make it visible to API users, that such values can be safely
stored, since they refers to constant data, which will never be deallocated.

`StringRef` is general is not safe to store for a long term,
since it might refer to temporal data allocated in heap.

Add `inline` and `constexpr` methods support to `OpMethod`.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D97390
2021-03-03 16:15:12 +03:00
..
mlir-cpu-runner [mlir] Use dialect interfaces to translate OpenMP dialect to LLVM IR 2021-02-12 18:37:47 +01:00
mlir-cuda-runner [mlir] Move cuda tests 2021-03-03 13:16:51 +01:00
mlir-linalg-ods-gen [mlir][linalg] Only generate one var for an attrUse. 2021-03-02 12:48:20 -08:00
mlir-opt [mlir] Add math polynomial approximation pass 2021-02-19 12:43:36 -08:00
mlir-reduce [mlir] avoid exposing mutable DialectRegistry from MLIRContext 2021-02-10 12:07:34 +01:00
mlir-rocm-runner [mlir] Simplify ModuleTranslation for LLVM IR 2021-02-16 18:42:52 +01:00
mlir-shlib
mlir-spirv-cpu-runner [mlir] Simplify ModuleTranslation for LLVM IR 2021-02-16 18:42:52 +01:00
mlir-tblgen [mlir][ODS] Use StringLiteral instead of StringRef when applicable 2021-03-03 16:15:12 +03:00
mlir-translate
mlir-vulkan-runner [mlir] Export CUDA and Vulkan runtime wrappers on Windows 2021-02-21 22:58:55 -08:00
CMakeLists.txt [mlir] Fix cross-compilation (Linalg ODS gen) 2021-01-18 11:57:55 +01:00