Home
last modified time | relevance | path

Searched refs:addNestedPass (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/mlir_gpu/
Dkernel_lowering.cc73 pm.addNestedPass<mlir::FuncOp>(::mlir::createBufferHoistingPass()); in LowerLHLOToGPU()
74 pm.addNestedPass<mlir::FuncOp>(::mlir::createBufferDeallocationPass()); in LowerLHLOToGPU()
76 pm.addNestedPass<mlir::FuncOp>(createFusionOpRemoverPass()); in LowerLHLOToGPU()
78 pm.addNestedPass<mlir::FuncOp>(::mlir::createCopyRemovalPass()); in LowerLHLOToGPU()
80 pm.addNestedPass<mlir::FuncOp>(::mlir::lmhlo::createLegalizeToGpuPass()); in LowerLHLOToGPU()
82 pm.addNestedPass<mlir::FuncOp>( in LowerLHLOToGPU()
85 pm.addNestedPass<mlir::FuncOp>(::mlir::lmhlo::createLhloFuseLinalgPass( in LowerLHLOToGPU()
89 pm.addNestedPass<mlir::FuncOp>( in LowerLHLOToGPU()
93 pm.addNestedPass<::mlir::FuncOp>(::mlir::createCanonicalizerPass()); in LowerLHLOToGPU()
94 pm.addNestedPass<::mlir::FuncOp>(::mlir::createCSEPass()); in LowerLHLOToGPU()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dtf_tfl_passes.cc47 pass_manager->addNestedPass<mlir::FuncOp>( in AddQuantizationPasses()
51 pass_manager->addNestedPass<mlir::FuncOp>( in AddQuantizationPasses()
57 pass_manager->addNestedPass<mlir::FuncOp>( in AddQuantizationPasses()
61 pass_manager->addNestedPass<mlir::FuncOp>( in AddQuantizationPasses()
72 pass_manager->addNestedPass<mlir::FuncOp>( in AddTFToTFLConversionPasses()
116 pass_manager->addNestedPass<mlir::FuncOp>( in AddTFToTFLConversionPasses()
161 pass_manager->addNestedPass<mlir::FuncOp>( in AddTFToTFLConversionPasses()
166 pass_manager->addNestedPass<mlir::FuncOp>(mlir::createCanonicalizerPass()); in AddTFToTFLConversionPasses()
167 pass_manager->addNestedPass<mlir::FuncOp>(mlir::createCSEPass()); in AddTFToTFLConversionPasses()
194 pass_manager->addNestedPass<mlir::FuncOp>(mlir::TFL::CreatePrepareTFPass( in AddTFToTFLConversionPasses()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/
Dkernel_creator.cc202 pm.addNestedPass<mlir::FuncOp>(mlir::mhlo::createLegalizeTFPass( in LowerTFtoLoops()
204 pm.addNestedPass<mlir::FuncOp>(mlir::createTransformUnrankedHloPass()); in LowerTFtoLoops()
205 pm.addNestedPass<mlir::FuncOp>(mlir::mhlo::createChloLegalizeToHloPass()); in LowerTFtoLoops()
206 pm.addNestedPass<mlir::FuncOp>(mlir::mhlo::createLowerComplexPass()); in LowerTFtoLoops()
207 pm.addNestedPass<mlir::FuncOp>(mlir::createCanonicalizerPass()); in LowerTFtoLoops()
208 pm.addNestedPass<mlir::FuncOp>(mlir::createCSEPass()); in LowerTFtoLoops()
209 pm.addNestedPass<mlir::FuncOp>(mlir::createCanonicalizerPass()); in LowerTFtoLoops()
212 pm.addNestedPass<mlir::FuncOp>(::mlir::mhlo::createLegalizeHloToLinalgPass()); in LowerTFtoLoops()
214 pm.addNestedPass<mlir::FuncOp>(mlir::createCSEPass()); in LowerTFtoLoops()
216 pm.addNestedPass<mlir::FuncOp>(mlir::createLinalgFusionOfTensorOpsPass()); in LowerTFtoLoops()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dbridge.cc45 pm.addNestedPass<FuncOp>(std::move(pass)); in AddGraphExportLoweringPasses()
53 pm.addNestedPass<FuncOp>(CreateTPUDevicePropagationPass()); in AddGraphExportLoweringPasses()
91 pm.addNestedPass<FuncOp>( in CreateTPUBridgePipeline()
96 pm.addNestedPass<FuncOp>(CreateExecutorDialectToFunctionalConversionPass()); in CreateTPUBridgePipeline()
100 pm.addNestedPass<FuncOp>(CreateTPUReorderReplicateAndPartitionedInputsPass()); in CreateTPUBridgePipeline()
120 pm.addNestedPass<FuncOp>(createCSEPass()); in CreateTPUBridgePipeline()
125 pm.addNestedPass<FuncOp>(TFDevice::CreateClusterConstantSinkingPass()); in CreateTPUBridgePipeline()
131 pm.addNestedPass<FuncOp>(CreateTPUResourceReadsWritesPartitioningPass()); in CreateTPUBridgePipeline()
135 pm.addNestedPass<FuncOp>(TFDevice::CreateReplicateInvariantOpHoistingPass()); in CreateTPUBridgePipeline()
136 pm.addNestedPass<FuncOp>(CreateTPUMergeVariablesWithExecutePass()); in CreateTPUBridgePipeline()
[all …]
Doptimize.cc168 pm.addNestedPass<FuncOp>(CreateTFOptimizePass()); in CreateTFStandardPipeline()
169 pm.addNestedPass<FuncOp>(createCSEPass()); in CreateTFStandardPipeline()
Dgraph_optimization_pass.cc49 pm.addNestedPass<FuncOp>(tf_executor::CreateTFExecutorIslandCoarseningPass()); in Run()
Dinit_text_file_to_import_test_pass.cc88 pm.addNestedPass<FuncOp>(CreateInitTextFileToImportPass()); in runOnOperation()
/external/tensorflow/tensorflow/compiler/mlir/tfjs/
Dtf_tfjs_passes.cc39 pm->addNestedPass<mlir::FuncOp>(mlir::tfjs::CreateOptimizePass()); in AddTFToTFJSConversionPasses()
42 pm->addNestedPass<mlir::FuncOp>(mlir::createCanonicalizerPass()); in AddTFToTFJSConversionPasses()
43 pm->addNestedPass<mlir::FuncOp>(mlir::createCSEPass()); in AddTFToTFJSConversionPasses()
46 pm->addNestedPass<mlir::FuncOp>( in AddTFToTFJSConversionPasses()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dcompile_mlir_util.cc283 pm.addNestedPass<mlir::FuncOp>(mlir::TF::CreateDropWhileShapeInvariantPass()); in CreateConvertMlirToXlaHloPipeline()
284 pm.addNestedPass<mlir::FuncOp>(mlir::createCanonicalizerPass()); in CreateConvertMlirToXlaHloPipeline()
296 pm.addNestedPass<mlir::FuncOp>( in CreateConvertMlirToXlaHloPipeline()
311 pm.addNestedPass<mlir::FuncOp>(mlir::mhlo::createLegalizeTFPass( in CreateConvertMlirToXlaHloPipeline()
315 pm.addNestedPass<mlir::FuncOp>(std::move(target_pass)); in CreateConvertMlirToXlaHloPipeline()
318 pm.addNestedPass<mlir::FuncOp>(mlir::createCanonicalizerPass()); in CreateConvertMlirToXlaHloPipeline()
328 pm.addNestedPass<mlir::FuncOp>(mlir::mhlo::createLegalizeTFPass( in CreateConvertMlirToXlaHloPipeline()
337 pm.addNestedPass<mlir::FuncOp>( in CreateConvertMlirToXlaHloPipeline()
/external/llvm-project/mlir/test/lib/Transforms/
DTestConvVectorization.cpp103 pm.addNestedPass<FuncOp>(createConvertLinalgToLoopsPass()); in runOnOperation()
/external/llvm-project/mlir/unittests/Pass/
DPassManagerTest.cpp63 pm.addNestedPass<FuncOp>(std::make_unique<AnnotateFunctionPass>()); in TEST()
/external/llvm-project/mlir/examples/toy/Ch3/
Dtoyc.cpp121 pm.addNestedPass<mlir::FuncOp>(mlir::createCanonicalizerPass()); in dumpMLIR()
/external/llvm-project/mlir/include/mlir/Pass/
DPassManager.h87 template <typename OpT> void addNestedPass(std::unique_ptr<Pass> pass) { in addNestedPass() function
/external/llvm-project/mlir/docs/Tutorials/Toy/
DCh-3.md128 pm.addNestedPass<mlir::FuncOp>(mlir::createCanonicalizerPass());
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/c/
Dc_api_unified_experimental_mlir.cc526 pm.addNestedPass<FuncOp>(CreateFunctionalToExecutorDialectConversionPass()); in GetFunctionDef()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc3840 pm.addNestedPass<mlir::FuncOp>( in LiftVariables()
3842 pm.addNestedPass<mlir::FuncOp>( in LiftVariables()
3846 pm.addNestedPass<mlir::FuncOp>( in LiftVariables()
3852 pm.addNestedPass<mlir::FuncOp>( in LiftVariables()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dmlir_hlo_to_hlo.cc1773 pm.addNestedPass<mlir::FuncOp>(mhlo::CreatePrepareForExport()); in ConvertMlirHloToHlo()