[PATCH] D74119: [NFC][mlir] Adding some helpful EDSC intrinsics
Kern Handa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 6 11:37:56 PST 2020
kernhanda updated this revision to Diff 242966.
kernhanda added a comment.
`constant_data` -> `constant`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74119/new/
https://reviews.llvm.org/D74119
Files:
mlir/include/mlir/EDSC/Intrinsics.h
Index: mlir/include/mlir/EDSC/Intrinsics.h
===================================================================
--- mlir/include/mlir/EDSC/Intrinsics.h
+++ mlir/include/mlir/EDSC/Intrinsics.h
@@ -199,11 +199,14 @@
using affine_store = OperationBuilder<AffineStoreOp>;
using alloc = ValueBuilder<AllocOp>;
using call = OperationBuilder<mlir::CallOp>;
+using constant = ValueBuilder<ConstantOp>;
using constant_float = ValueBuilder<ConstantFloatOp>;
using constant_index = ValueBuilder<ConstantIndexOp>;
using constant_int = ValueBuilder<ConstantIntOp>;
using dealloc = OperationBuilder<DeallocOp>;
using dim = ValueBuilder<DimOp>;
+using extract_element = ValueBuilder<ExtractElementOp>;
+using index_cast = ValueBuilder<IndexCastOp>;
using muli = ValueBuilder<MulIOp>;
using mulf = ValueBuilder<MulFOp>;
using memref_cast = ValueBuilder<MemRefCastOp>;
@@ -212,7 +215,10 @@
using std_load = ValueBuilder<LoadOp>;
using std_store = OperationBuilder<StoreOp>;
using subi = ValueBuilder<SubIOp>;
+using sub_view = ValueBuilder<SubViewOp>;
using tanh = ValueBuilder<TanhOp>;
+using tensor_load = ValueBuilder<TensorLoadOp>;
+using tensor_store = OperationBuilder<TensorStoreOp>;
using view = ValueBuilder<ViewOp>;
using zero_extendi = ValueBuilder<ZeroExtendIOp>;
using sign_extendi = ValueBuilder<SignExtendIOp>;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74119.242966.patch
Type: text/x-patch
Size: 1326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200206/dbe48ebe/attachment.bin>
More information about the llvm-commits
mailing list