Home
last modified time | relevance | path

Searched refs:module_passes (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcompiler_functor.cc85 FilteredPassManager module_passes(disable_expensive_passes_); in operator ()() local
96 AddTargetInfoPasses(&module_passes); in operator ()()
106 AddOptimizationPasses(&module_passes, &function_passes, /*opt_level=*/2, in operator ()()
109 AddOptimizationPasses(&module_passes, &function_passes, in operator ()()
122 module_passes.run(module); in operator ()()
218 llvm::legacy::PassManagerBase* module_passes, in AddOptimizationPasses() argument
237 builder.populateModulePassManager(*module_passes); in AddOptimizationPasses()
Dcompiler_functor.h63 void AddOptimizationPasses(llvm::legacy::PassManagerBase* module_passes,
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/
Dgpu_backend_lib.cc190 llvm::legacy::PassManagerBase* module_passes, in AddOptimizationPasses() argument
212 builder.populateModulePassManager(*module_passes); in AddOptimizationPasses()
387 IrDumpingPassManager module_passes(module->getModuleIdentifier(), "", false); in LinkAndOptimizeModule() local
393 module_passes.add(tliwp); in LinkAndOptimizeModule()
403 module_passes.add(llvm::createTargetTransformInfoWrapperPass( in LinkAndOptimizeModule()
409 module_passes.add(llvm::createVerifierPass()); in LinkAndOptimizeModule()
431 /*size_level=*/0, target_machine, &module_passes, in LinkAndOptimizeModule()
444 module_passes.add(llvm::createSROAPass()); in LinkAndOptimizeModule()
448 module_passes.add(llvm::createVerifierPass()); in LinkAndOptimizeModule()
457 module_passes.run(*module); in LinkAndOptimizeModule()