[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 04:21:32 PST 2020
kernhanda created this revision.
kernhanda added reviewers: nicolasvasilache, mehdi_amini, ftynse.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, burmako, jpienaar, rriddle.
Herald added a project: LLVM.
kernhanda retitled this revision from "[mlir] Adding some helpful EDSC intrinsics" to "[NFC][mlir] Adding some helpful EDSC intrinsics".
Repository:
rG LLVM Github Monorepo
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_data = 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.242861.patch
Type: text/x-patch
Size: 1331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200206/78ae382c/attachment.bin>
More information about the llvm-commits
mailing list