Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dshape_to_descriptors_pass.cc52 target.addLegalDialect<scf::SCFDialect>(); in runOnOperation()
53 target.addLegalDialect<StandardOpsDialect>(); in runOnOperation()
54 target.addLegalDialect<math::MathDialect>(); in runOnOperation()
55 target.addLegalDialect<tensor::TensorDialect>(); in runOnOperation()
Dembed_tf_framework_pass.cc58 target.addLegalDialect<tf_framework::TFFrameworkDialect>(); in runOnOperation()
98 target.addLegalDialect<tf_framework::TFFrameworkDialect, in runOnOperation()
Dbufferize_pass.cc116 target.addLegalDialect<complex::ComplexDialect, lmhlo::LmhloDialect, in runOnOperation()
166 target.addLegalDialect<complex::ComplexDialect, scf::SCFDialect, in runOnOperation()
/external/llvm-project/mlir/lib/Conversion/SCFToGPU/
DSCFToGPUPass.cpp52 target.addLegalDialect<StandardOpsDialect>(); in runOnOperation()
53 target.addLegalDialect<AffineDialect>(); in runOnOperation()
54 target.addLegalDialect<gpu::GPUDialect>(); in runOnOperation()
55 target.addLegalDialect<scf::SCFDialect>(); in runOnOperation()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dmaterialize_broadcasts_pass.cc37 conversionTarget.addLegalDialect<MhloDialect>(); in runOnFunction()
39 conversionTarget.addLegalDialect<mlir::StandardOpsDialect>(); in runOnFunction()
Dchlo_legalize_to_hlo_pass.cc51 conversionTarget.addLegalDialect< in runOnFunction()
Dhlo_legalize_to_lhlo.cc578 target.addLegalDialect<lmhlo::LmhloDialect>(); in runOnOperation()
579 target.addLegalDialect<StandardOpsDialect>(); in runOnOperation()
580 target.addLegalDialect<tensor::TensorDialect>(); in runOnOperation()
Dlhlo_legalize_to_gpu.cc182 target.addLegalDialect<linalg::LinalgDialect, StandardOpsDialect, in runOnFunction()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVMPass.cpp49 target.addLegalDialect<LLVM::LLVMDialect>(); in runOnOperation()
/external/llvm-project/mlir/lib/Conversion/GPUToNVVM/
DLowerGpuOpsToNVVMOps.cpp148 target.addLegalDialect<::mlir::LLVM::LLVMDialect>(); in configureGpuToNVVMConversionLegality()
149 target.addLegalDialect<::mlir::NVVM::NVVMDialect>(); in configureGpuToNVVMConversionLegality()
/external/llvm-project/mlir/test/lib/Transforms/
DTestConvertCallOp.cpp58 target.addLegalDialect<LLVM::LLVMDialect>(); in runOnOperation()
DTestDecomposeCallGraphTypes.cpp38 target.addLegalDialect<test::TestDialect>(); in runOnOperation()
DTestConvVectorization.cpp56 target.addLegalDialect<AffineDialect, scf::SCFDialect, StandardOpsDialect, in runOnOperation()
/external/llvm-project/mlir/lib/Conversion/VectorToLLVM/
DConvertVectorToLLVMPass.cpp60 target.addLegalDialect<LLVM::LLVMAVX512Dialect>(); in runOnOperation()
/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/
DBufferize.cpp184 target.addLegalDialect<StandardOpsDialect>(); in runOnFunction()
185 target.addLegalDialect<scf::SCFDialect>(); in runOnFunction()
DTensorConstantBufferize.cpp112 target.addLegalDialect<StandardOpsDialect>(); in runOnOperation()
/external/llvm-project/mlir/lib/Dialect/Shape/Transforms/
DShapeToShapeLowering.cpp68 target.addLegalDialect<ShapeDialect, StandardOpsDialect>(); in runOnFunction()
/external/llvm-project/mlir/lib/Conversion/SCFToOpenMP/
DSCFToOpenMP.cpp91 target.addLegalDialect<omp::OpenMPDialect>(); in applyPatterns()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
DDecorateSPIRVCompositeTypeLayoutPass.cpp96 target.addLegalDialect<spirv::SPIRVDialect>(); in runOnOperation()
/external/llvm-project/mlir/lib/Conversion/GPUToROCDL/
DLowerGpuOpsToROCDLOps.cpp77 target.addLegalDialect<ROCDL::ROCDLDialect>(); in runOnOperation()
/external/llvm-project/mlir/lib/Conversion/VectorToROCDL/
DVectorToROCDL.cpp174 target.addLegalDialect<ROCDL::ROCDLDialect>(); in runOnOperation()
/external/llvm-project/mlir/examples/toy/Ch6/mlir/
DLowerToAffineLoops.cpp286 target.addLegalDialect<AffineDialect, StandardOpsDialect>(); in runOnFunction()
/external/llvm-project/mlir/examples/toy/Ch7/mlir/
DLowerToAffineLoops.cpp287 target.addLegalDialect<AffineDialect, StandardOpsDialect>(); in runOnFunction()
/external/llvm-project/mlir/examples/toy/Ch5/mlir/
DLowerToAffineLoops.cpp287 target.addLegalDialect<AffineDialect, StandardOpsDialect>(); in runOnFunction()
/external/llvm-project/mlir/lib/Conversion/LinalgToStandard/
DLinalgToStandard.cpp210 target.addLegalDialect<AffineDialect, scf::SCFDialect, StandardOpsDialect>(); in runOnOperation()

12