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

Differential Revision: https://reviews.llvm.org/D77729
This commit is contained in:
Pierre Oechsel 2020-04-16 10:24:48 +02:00 committed by Alex Zinenko
parent c4d3188adb
commit c2f628e46c
1 changed files with 22 additions and 0 deletions

View File

@ -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