Home
last modified time | relevance | path

Searched refs:OpConversionPattern (Results 1 – 25 of 25) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/
DBufferize.cpp24 class BufferizeDimOp : public OpConversionPattern<DimOp> {
26 using OpConversionPattern::OpConversionPattern;
40 : public OpConversionPattern<DynamicTensorFromElementsOp> {
42 using OpConversionPattern::OpConversionPattern;
92 class BufferizeExtractElementOp : public OpConversionPattern<ExtractElementOp> {
94 using OpConversionPattern::OpConversionPattern;
107 class BufferizeSelectOp : public OpConversionPattern<SelectOp> {
109 using OpConversionPattern::OpConversionPattern;
125 class BufferizeTensorCastOp : public OpConversionPattern<TensorCastOp> {
127 using OpConversionPattern::OpConversionPattern;
[all …]
DFuncConversions.cpp18 struct CallOpSignatureConversion : public OpConversionPattern<CallOp> {
19 using OpConversionPattern<CallOp>::OpConversionPattern;
88 class ReturnOpTypeConversion : public OpConversionPattern<ReturnOp> {
90 using OpConversionPattern<ReturnOp>::OpConversionPattern;
DTensorConstantBufferize.cpp77 class BufferizeTensorConstantOp : public OpConversionPattern<ConstantOp> {
81 : OpConversionPattern<ConstantOp>(typeConverter, context, /*benefit=*/1), in BufferizeTensorConstantOp()
DDecomposeCallGraphTypes.cpp37 : public OpConversionPattern<SourceOp> {
43 : OpConversionPattern<SourceOp>(typeConverter, context, benefit), in DecomposeCallGraphTypesOpConversionPattern()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dembed_tf_framework.cc30 class FuncOpConverter : public OpConversionPattern<FuncOp> {
32 using OpConversionPattern<FuncOp>::OpConversionPattern;
59 class TFAllocOpConverter : public OpConversionPattern<AllocOp> {
61 using OpConversionPattern<AllocOp>::OpConversionPattern;
92 class TFDeallocOpConverter : public OpConversionPattern<DeallocOp> {
94 using OpConversionPattern<DeallocOp>::OpConversionPattern;
121 class TFAssertOpConverter : public OpConversionPattern<AssertOp> {
123 using OpConversionPattern<AssertOp>::OpConversionPattern;
Dbufferize.cc33 class BufferizeConstantOp : public OpConversionPattern<ConstantOp> {
35 using OpConversionPattern<ConstantOp>::OpConversionPattern;
76 class BufferizeDimOp : public OpConversionPattern<DimOp> {
78 using OpConversionPattern::OpConversionPattern;
89 class BufferizeRankOp : public OpConversionPattern<RankOp> {
91 using OpConversionPattern::OpConversionPattern;
/external/llvm-project/mlir/lib/Conversion/ShapeToStandard/
DShapeToStandard.cpp24 class AnyOpConversion : public OpConversionPattern<AnyOp> {
26 using OpConversionPattern<AnyOp>::OpConversionPattern;
47 class BinaryOpConversion : public OpConversionPattern<SrcOpTy> {
49 using OpConversionPattern<SrcOpTy>::OpConversionPattern;
68 struct BroadcastOpConverter : public OpConversionPattern<BroadcastOp> {
69 using OpConversionPattern<BroadcastOp>::OpConversionPattern;
159 class ConstShapeOpConverter : public OpConversionPattern<ConstShapeOp> {
161 using OpConversionPattern<ConstShapeOp>::OpConversionPattern;
193 class ConstSizeOpConversion : public OpConversionPattern<ConstSizeOp> {
195 using OpConversionPattern<ConstSizeOp>::OpConversionPattern;
[all …]
/external/llvm-project/mlir/lib/Dialect/SCF/Transforms/
DStructuralTypeConversions.cpp20 class ConvertForOpTypes : public OpConversionPattern<ForOp> {
22 using OpConversionPattern::OpConversionPattern;
78 class ConvertIfOpTypes : public OpConversionPattern<IfOp> {
80 using OpConversionPattern::OpConversionPattern;
124 class ConvertYieldOpTypes : public OpConversionPattern<scf::YieldOp> {
126 using OpConversionPattern::OpConversionPattern;
/external/llvm-project/mlir/lib/Dialect/Shape/Transforms/
DStructuralTypeConversions.cpp18 class ConvertAssumingOpTypes : public OpConversionPattern<AssumingOp> {
20 using OpConversionPattern::OpConversionPattern;
46 : public OpConversionPattern<AssumingYieldOp> {
48 using OpConversionPattern::OpConversionPattern;
/external/llvm-project/mlir/lib/Transforms/
DBufferize.cpp56 class BufferizeTensorLoadOp : public OpConversionPattern<TensorLoadOp> {
58 using OpConversionPattern::OpConversionPattern;
72 class BufferizeTensorToMemrefOp : public OpConversionPattern<TensorToMemrefOp> {
74 using OpConversionPattern::OpConversionPattern;
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dlower_static_tensor_list.cc175 struct ConvertConst : public OpConversionPattern<TF::ConstOp> {
176 using OpConversionPattern::OpConversionPattern;
246 : public OpConversionPattern<TF::TensorListSetItemOp> {
247 using OpConversionPattern::OpConversionPattern;
316 struct ConvertTensorListInitOp : public OpConversionPattern<OpT> {
317 using OpConversionPattern<OpT>::OpConversionPattern;
516 : public OpConversionPattern<TF::TensorListPushBackOp> {
517 using OpConversionPattern::OpConversionPattern;
560 : public OpConversionPattern<TF::TensorListResizeOp> {
561 using OpConversionPattern::OpConversionPattern;
[all …]
Dlegalize_variables.cc87 class LegalizeVariablesPattern : public mlir::OpConversionPattern<T> {
92 : mlir::OpConversionPattern<T>(context), in LegalizeVariablesPattern()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlegalize_to_linalg.cc144 class PointwiseToLinalgConverter : public OpConversionPattern<OpTy> {
146 using OpConversionPattern<OpTy>::OpConversionPattern;
229 class ScalarPointwiseToStandardConverter : public OpConversionPattern<LhloOp> {
231 using OpConversionPattern<LhloOp>::OpConversionPattern;
262 struct ConvToLinalgConverter : public OpConversionPattern<lmhlo::ConvOp> {
264 using OpConversionPattern<lmhlo::ConvOp>::OpConversionPattern;
366 class DataMovementOpConverter : public OpConversionPattern<OpTy> {
368 using OpConversionPattern<OpTy>::OpConversionPattern;
483 : public OpConversionPattern<mhlo::DynamicBroadcastInDimOp> {
485 using OpConversionPattern<mhlo::DynamicBroadcastInDimOp>::OpConversionPattern;
[all …]
Dchlo_legalize_to_hlo.cc47 struct ConvertConstantLikeOp : public OpConversionPattern<ConstantLikeOp> {
48 using OpConversionPattern<ConstantLikeOp>::OpConversionPattern;
439 struct ConvertErfOp : public OpConversionPattern<ErfOp> {
440 using OpConversionPattern<ErfOp>::OpConversionPattern;
464 struct ConvertErfcOp : public OpConversionPattern<ErfcOp> {
465 using OpConversionPattern<ErfcOp>::OpConversionPattern;
942 struct ConvertLgammaOp : public OpConversionPattern<LgammaOp> {
943 using OpConversionPattern<LgammaOp>::OpConversionPattern;
955 struct ConvertDigammaOp : public OpConversionPattern<DigammaOp> {
956 using OpConversionPattern<DigammaOp>::OpConversionPattern;
[all …]
Dlhlo_legalize_to_parallel_loops.cc189 class ReduceOpConverter : public OpConversionPattern<lmhlo::ReduceOp> {
191 using OpConversionPattern<lmhlo::ReduceOp>::OpConversionPattern;
360 : public OpConversionPattern<lmhlo::ReduceWindowOp> {
362 using OpConversionPattern<lmhlo::ReduceWindowOp>::OpConversionPattern;
483 : public OpConversionPattern<lmhlo::SelectAndScatterOp> {
485 using OpConversionPattern<lmhlo::SelectAndScatterOp>::OpConversionPattern;
Dlhlo_legalize_to_gpu.cc48 class LhloReduceToGPULaunchConverter : public OpConversionPattern<ReduceOp> {
50 using OpConversionPattern::OpConversionPattern;
Dtransform_unranked_hlo.cc145 : public OpConversionPattern<ChloOpTy> {
146 using OpConversionPattern<ChloOpTy>::OpConversionPattern;
215 : public OpConversionPattern<ChloOpTy> {
216 using OpConversionPattern<ChloOpTy>::OpConversionPattern;
Dhlo_legalize_to_lhlo.cc47 using BaseOpConversion = OpConversionPattern<T>;
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dlegalize_hlo.cc60 class ConvertConvOp : public OpConversionPattern<mhlo::ConvOp> {
62 using OpConversionPattern::OpConversionPattern;
266 class ConvertSliceOp : public OpConversionPattern<mhlo::SliceOp> {
268 using OpConversionPattern::OpConversionPattern;
301 class ConvertDynamicSliceOp : public OpConversionPattern<mhlo::DynamicSliceOp> {
303 using OpConversionPattern::OpConversionPattern;
607 class ConvertReduceOpToTfOp : public OpConversionPattern<mhlo::ReduceOp> {
609 using OpConversionPattern::OpConversionPattern;
708 class ConvertIotaOpToTfRange : public OpConversionPattern<mhlo::IotaOp> {
710 using OpConversionPattern::OpConversionPattern;
[all …]
/external/llvm-project/mlir/include/mlir/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.h24 class SPIRVToLLVMConversion : public OpConversionPattern<SPIRVOp> {
28 : OpConversionPattern<SPIRVOp>(context, benefit),
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DBufferize.cpp246 class SubTensorOpConverter : public OpConversionPattern<SubTensorOp> {
248 using OpConversionPattern<SubTensorOp>::OpConversionPattern;
288 : public OpConversionPattern<SubTensorInsertOp> {
290 using OpConversionPattern<SubTensorInsertOp>::OpConversionPattern;
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestPatterns.cpp674 : public OpConversionPattern<OneVResOneVOperandOp1> {
675 using OpConversionPattern<OneVResOneVOperandOp1>::OpConversionPattern;
759 : public OpConversionPattern<TestTypeProducerOp> {
760 using OpConversionPattern<TestTypeProducerOp>::OpConversionPattern;
852 struct TestMergeBlock : public OpConversionPattern<TestMergeBlocksOp> {
853 using OpConversionPattern<TestMergeBlocksOp>::OpConversionPattern;
894 : public OpConversionPattern<SingleBlockImplicitTerminatorOp> {
895 using OpConversionPattern<
896 SingleBlockImplicitTerminatorOp>::OpConversionPattern;
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DSPIRVLowering.h68 class SPIRVOpLowering : public OpConversionPattern<SourceOp> {
72 : OpConversionPattern<SourceOp>(context, benefit),
/external/llvm-project/mlir/include/mlir/Transforms/
DDialectConversion.h375 struct OpConversionPattern : public ConversionPattern { struct
376 OpConversionPattern(MLIRContext *context, PatternBenefit benefit = 1)
378 OpConversionPattern(TypeConverter &typeConverter, MLIRContext *context, argument
/external/llvm-project/mlir/lib/Transforms/Utils/
DDialectConversion.cpp2504 struct FuncOpSignatureConversion : public OpConversionPattern<FuncOp> {
2506 : OpConversionPattern(converter, ctx) {} in FuncOpSignatureConversion()