Searched refs:function_passes (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | compiler_functor.cc | 86 llvm::legacy::FunctionPassManager function_passes(&module); in operator ()() local 106 AddOptimizationPasses(&module_passes, &function_passes, /*opt_level=*/2, in operator ()() 109 AddOptimizationPasses(&module_passes, &function_passes, in operator ()() 114 function_passes.doInitialization(); in operator ()() 119 function_passes.run(*func); in operator ()() 121 function_passes.doFinalization(); in operator ()() 219 llvm::legacy::FunctionPassManager* function_passes, unsigned opt_level, in AddOptimizationPasses() argument 236 builder.populateFunctionPassManager(*function_passes); in AddOptimizationPasses()
|
D | compiler_functor.h | 64 llvm::legacy::FunctionPassManager* function_passes,
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/ |
D | gpu_backend_lib.cc | 191 llvm::legacy::FunctionPassManager* function_passes, in AddOptimizationPasses() argument 211 builder.populateFunctionPassManager(*function_passes); in AddOptimizationPasses() 413 llvm::legacy::FunctionPassManager function_passes(module); in LinkAndOptimizeModule() local 432 &function_passes, inline_threshold); in LinkAndOptimizeModule() 452 function_passes.doInitialization(); in LinkAndOptimizeModule() 454 function_passes.run(*func); in LinkAndOptimizeModule() 456 function_passes.doFinalization(); in LinkAndOptimizeModule()
|