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

Pierre Oechsel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 07:02:36 PDT 2020


poechsel created this revision.
Herald added subscribers: llvm-commits, frgossen, grosul1, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.

#MATMUL


Repository:
  rG LLVM Github Monorepo

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.256012.patch
Type: text/x-patch
Size: 1882 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200408/73fd6f14/attachment.bin>


More information about the llvm-commits mailing list