Home
last modified time | relevance | path

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

12

/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVMPass.cpp53 target.addLegalOp<ModuleOp>(); in runOnOperation()
54 target.addLegalOp<ModuleTerminatorOp>(); in runOnOperation()
/external/llvm-project/mlir/test/lib/Transforms/
DTestConvVectorization.cpp58 target.addLegalOp<ModuleOp, FuncOp, ModuleTerminatorOp, ReturnOp>(); in runOnOperation()
59 target.addLegalOp<linalg::FillOp, linalg::YieldOp>(); in runOnOperation()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dparallel_loops_to_sequential.cc37 target.addLegalOp<mlir::scf::ForOp, mlir::scf::IfOp>(); in runOnFunction()
Dshape_to_descriptors_pass.cc58 target.addLegalOp<shape::AssumingOp, shape::AssumingYieldOp, in runOnOperation()
Dbufferize_pass.cc171 target.addLegalOp<FuncOp, ModuleOp, ModuleTerminatorOp>(); in runOnOperation()
Dtf_kernel_to_llvm_pass.cc272 target.addLegalOp<ModuleOp, ModuleTerminatorOp, gpu::GPUModuleOp>(); in runOnOperation()
/external/llvm-project/mlir/lib/Conversion/VectorToSPIRV/
DVectorToSPIRV.cpp147 target->addLegalOp<ModuleOp, ModuleTerminatorOp>(); in runOnOperation()
148 target->addLegalOp<FuncOp>(); in runOnOperation()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dlower_static_tensor_list.cc996 target.addLegalOp<ConstantOp>(); in runOnOperation()
997 target.addLegalOp<FuncOp>(); in runOnOperation()
998 target.addLegalOp<ReturnOp>(); in runOnOperation()
999 target.addLegalOp<TFL::CustomOp>(); in runOnOperation()
1001 target.addLegalOp<TFL::LSTMOp>(); in runOnOperation()
1002 target.addLegalOp<TFL::UnidirectionalSequenceLSTMOp>(); in runOnOperation()
1003 target.addLegalOp<TFL::UnidirectionalSequenceRNNOp>(); in runOnOperation()
1004 target.addLegalOp<TFL::BidirectionalSequenceLSTMOp>(); in runOnOperation()
Dlegalize_tf.cc765 target.addLegalOp<mlir::ConstantOp>(); in runOnFunction()
766 target.addLegalOp<ConstOp>(); in runOnFunction()
/external/llvm-project/mlir/lib/Conversion/LinalgToSPIRV/
DLinalgToSPIRVPass.cpp38 target->addLegalOp<ModuleOp, ModuleTerminatorOp>(); in runOnOperation()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dchlo_legalize_to_hlo_pass.cc58 conversionTarget.addLegalOp<chlo::ZetaOp, chlo::PolygammaOp>(); in runOnFunction()
/external/llvm-project/mlir/lib/Conversion/LinalgToStandard/
DLinalgToStandard.cpp211 target.addLegalOp<ModuleOp, FuncOp, ModuleTerminatorOp, ReturnOp>(); in runOnOperation()
212 target.addLegalOp<linalg::ReshapeOp, linalg::RangeOp>(); in runOnOperation()
/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/
DFuncBufferize.cpp45 target.addLegalOp<ModuleOp, ModuleTerminatorOp, TensorLoadOp, in runOnOperation()
/external/llvm-project/mlir/include/mlir/Transforms/
DDialectConversion.h579 template <typename OpT> void addLegalOp() { in addLegalOp() function
582 template <typename OpT, typename OpT2, typename... OpTs> void addLegalOp() { in addLegalOp() function
583 addLegalOp<OpT>(); in addLegalOp()
584 addLegalOp<OpT2, OpTs...>(); in addLegalOp()
/external/llvm-project/mlir/lib/Conversion/OpenMPToLLVM/
DOpenMPToLLVM.cpp74 target.addLegalOp<omp::TerminatorOp, omp::TaskyieldOp, omp::FlushOp, in runOnOperation()
/external/llvm-project/mlir/lib/Transforms/
DBufferize.cpp50 target.addLegalOp<TensorLoadOp, TensorToMemrefOp>(); in populateBufferizeMaterializationLegality()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
DDecorateSPIRVCompositeTypeLayoutPass.cpp97 target.addLegalOp<FuncOp>(); in runOnOperation()
/external/llvm-project/mlir/lib/Conversion/GPUToROCDL/
DLowerGpuOpsToROCDLOps.cpp79 target.addLegalOp<gpu::YieldOp, gpu::GPUModuleOp, gpu::ModuleEndOp>(); in runOnOperation()
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestPatterns.cpp574 target.addLegalOp<ModuleOp, ModuleTerminatorOp>(); in runOnOperation()
575 target.addLegalOp<LegalOpA, LegalOpB, TestCastOp, TestValidOp, in runOnOperation()
703 target.addLegalOp<ModuleOp, ModuleTerminatorOp, FuncOp, TestReturnOp>(); in runOnFunction()
926 target.addLegalOp<FuncOp, ModuleOp, ModuleTerminatorOp, TerminatorOp, in runOnOperation()
/external/llvm-project/mlir/examples/toy/Ch6/mlir/
DLowerToLLVM.cpp174 target.addLegalOp<ModuleOp, ModuleTerminatorOp>(); in runOnOperation()
DLowerToAffineLoops.cpp293 target.addLegalOp<toy::PrintOp>(); in runOnFunction()
/external/llvm-project/mlir/examples/toy/Ch7/mlir/
DLowerToLLVM.cpp174 target.addLegalOp<ModuleOp, ModuleTerminatorOp>(); in runOnOperation()
DLowerToAffineLoops.cpp294 target.addLegalOp<toy::PrintOp>(); in runOnFunction()
/external/llvm-project/mlir/lib/Conversion/GPUToNVVM/
DLowerGpuOpsToNVVMOps.cpp156 target.addLegalOp<gpu::YieldOp, gpu::GPUModuleOp, gpu::ModuleEndOp>(); in configureGpuToNVVMConversionLegality()
/external/llvm-project/mlir/examples/toy/Ch5/mlir/
DLowerToAffineLoops.cpp294 target.addLegalOp<toy::PrintOp>(); in runOnFunction()

12