[Mlir-commits] [mlir] c2f628e - [MLIR] [EDSC] Add folded_xxxx handles for common std instructions.
Alex Zinenko
llvmlistbot at llvm.org
Thu Apr 16 01:27:49 PDT 2020
Author: Pierre Oechsel
Date: 2020-04-16T10:27:39+02:00
New Revision: c2f628e46c32dce91be0d23f9b603a11a74173f6
URL: https://github.com/llvm/llvm-project/commit/c2f628e46c32dce91be0d23f9b603a11a74173f6
DIFF: https://github.com/llvm/llvm-project/commit/c2f628e46c32dce91be0d23f9b603a11a74173f6.diff
LOG: [MLIR] [EDSC] Add folded_xxxx handles for common std instructions.
Differential Revision: https://reviews.llvm.org/D77729
Added:
Modified:
mlir/include/mlir/Dialect/StandardOps/EDSC/Intrinsics.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/StandardOps/EDSC/Intrinsics.h b/mlir/include/mlir/Dialect/StandardOps/EDSC/Intrinsics.h
index 9df53d356a86..50dc0a0050f0 100644
--- a/mlir/include/mlir/Dialect/StandardOps/EDSC/Intrinsics.h
+++ b/mlir/include/mlir/Dialect/StandardOps/EDSC/Intrinsics.h
@@ -142,6 +142,28 @@ using folded_std_constant_int = folded::ValueBuilder<ConstantIntOp>;
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
More information about the Mlir-commits
mailing list