llvm-project/mlir/include/mlir-c
Alex Zinenko c538169ee9 [mlir] Add insert before/after to list-like constructs in C API
Blocks in a region and operations in a block are organized in a linked list.
The C API only provides functions to append or to insert elements at the
specified numeric position in the list. The latter is expensive since it
requires to traverse the list. Add insert before/after functionality with low
cost that relies on the iplist elements being convertible to iterators.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D88148
2020-09-23 17:29:30 +02:00
..
AffineMap.h [mlir] expose affine map to C API 2020-09-17 09:50:45 +08:00
Core.h [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
IR.h [mlir] Add insert before/after to list-like constructs in C API 2020-09-23 17:29:30 +02:00
Registration.h Separate the Registration from Loading dialects in the Context 2020-08-19 01:19:03 +00:00
StandardAttributes.h [mlir] NFC: fix trivial typos under include directory 2020-09-23 02:02:15 +09:00
StandardTypes.h [mlir] NFC: fix trivial typos under include directory 2020-09-23 02:02:15 +09:00
Support.h [mlir] Model StringRef in C API 2020-09-16 16:04:36 +02:00