[PATCH] D77729: [MLIR] [EDSC] Add folded_xxxx handles for common std instructions.

Pierre Oechsel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 08:07:32 PDT 2020


poechsel updated this revision to Diff 256304.
poechsel added a comment.

Rebase


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77729/new/

https://reviews.llvm.org/D77729

Files:
  mlir/include/mlir/Dialect/StandardOps/EDSC/Intrinsics.h


Index: mlir/include/mlir/Dialect/StandardOps/EDSC/Intrinsics.h
===================================================================
--- mlir/include/mlir/Dialect/StandardOps/EDSC/Intrinsics.h
+++ mlir/include/mlir/Dialect/StandardOps/EDSC/Intrinsics.h
@@ -142,6 +142,28 @@
 using folded_std_constant = folded::ValueBuilder<ConstantOp>;
 using folded_std_dim = folded::ValueBuilder<DimOp>;
 using folded_std_muli = folded::ValueBuilder<MulIOp>;
+using folded_std_addi = folded::ValueBuilder<AddIOp>;
+using folded_std_addf = folded::ValueBuilder<AddFOp>;
+using folded_std_alloc = folded::ValueBuilder<AllocOp>;
+using folded_std_constant = folded::ValueBuilder<ConstantOp>;
+using folded_std_constant_float = folded::ValueBuilder<ConstantFloatOp>;
+using folded_std_constant_index = folded::ValueBuilder<ConstantIndexOp>;
+using folded_std_constant_int = folded::ValueBuilder<ConstantIntOp>;
+using folded_std_dim = folded::ValueBuilder<DimOp>;
+using folded_std_extract_element = folded::ValueBuilder<ExtractElementOp>;
+using folded_std_index_cast = folded::ValueBuilder<IndexCastOp>;
+using folded_std_muli = folded::ValueBuilder<MulIOp>;
+using folded_std_mulf = folded::ValueBuilder<MulFOp>;
+using folded_std_memref_cast = folded::ValueBuilder<MemRefCastOp>;
+using folded_std_select = folded::ValueBuilder<SelectOp>;
+using folded_std_load = folded::ValueBuilder<LoadOp>;
+using folded_std_subi = folded::ValueBuilder<SubIOp>;
+using folded_std_sub_view = folded::ValueBuilder<SubViewOp>;
+using folded_std_tanh = folded::ValueBuilder<TanhOp>;
+using folded_std_tensor_load = folded::ValueBuilder<TensorLoadOp>;
+using folded_std_view = folded::ValueBuilder<ViewOp>;
+using folded_std_zero_extendi = folded::ValueBuilder<ZeroExtendIOp>;
+using folded_std_sign_extendi = folded::ValueBuilder<SignExtendIOp>;
 } // namespace intrinsics
 } // namespace edsc
 } // namespace mlir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77729.256304.patch
Type: text/x-patch
Size: 1882 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200409/6390396d/attachment.bin>


More information about the llvm-commits mailing list