llvm-project/mlir/lib/Dialect
Uday Bondhugula 01d97a3549 [MLIR] Add support to use aligned_alloc to lower AllocOp from std to llvm
Support to recognize and deal with aligned_alloc was recently added to
LLVM's TLI/MemoryBuiltins and its various optimization passes. This
revision adds support for generation of aligned_alloc's when lowering
AllocOp from std to LLVM. Setting 'use-aligned_alloc=1' will lead to
aligned_alloc being used for all heap allocations. An alignment and size
that works with the constraints of aligned_alloc is chosen.

Using aligned_alloc is preferable to "using malloc and adjusting the
allocated pointer to align for indexing" because the pointer access
arithmetic done for the latter only makes it harder for LLVM passes to
deal with for analysis, optimization, attribute deduction, and rewrites.

Differential Revision: https://reviews.llvm.org/D77528
2020-04-08 15:10:19 +05:30
..
AVX512 [MLIR] Fixes for BUILD_SHARED_LIBS=on 2020-03-23 15:21:44 -07:00
Affine [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
GPU [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
LLVMIR [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
Linalg [mlir][Linalg] Use subview instead of linalg.slice in Promotion.cpp 2020-04-07 23:52:31 -04:00
LoopOps [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
OpenMP [MLIR] Move from add_dependencies() to DEPENDS 2020-03-06 13:25:17 -08:00
Quant [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
SDBM [MLIR] Remove redundant library dependencies 2020-03-06 10:12:31 -08:00
SPIRV [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
Shape `shape` dialect: add some ops 2020-03-27 16:38:42 -07:00
StandardOps [MLIR] Add support to use aligned_alloc to lower AllocOp from std to llvm 2020-04-08 15:10:19 +05:30
Vector [mlir] NFC: Fix trivial typo 2020-04-05 11:30:30 +09:00
CMakeLists.txt Remove FxpMathOps dialect and Quantizer tool. 2020-04-07 13:22:39 -07:00
Traits.cpp [mlir] NFC: fix trivial typo in source files 2020-03-28 10:12:49 +09:00