Home
last modified time | relevance | path

Searched refs:codegen_passes (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/
Dtf_to_kernel.cc95 llvm::legacy::PassManager codegen_passes; in EmitToBinary() local
96 codegen_passes.add(new llvm::TargetLibraryInfoWrapperPass( in EmitToBinary()
99 if (target_machine->addPassesToEmitFile(codegen_passes, ostream, nullptr, in EmitToBinary()
103 codegen_passes.run(*llvm_module); in EmitToBinary()
/external/tensorflow/tensorflow/compiler/aot/
Dembedded_protocol_buffers.cc81 llvm::legacy::PassManager codegen_passes; in CodegenModule() local
83 if (target_machine->addPassesToEmitFile(codegen_passes, ostream, nullptr, in CodegenModule()
89 codegen_passes.run(*module); in CodegenModule()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcompiler_functor.cc141 llvm::legacy::PassManager codegen_passes; in operator ()() local
142 target_machine_->addPassesToEmitMC(codegen_passes, mc_context, ostream); in operator ()()
143 codegen_passes.run(module); in operator ()()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/
Dgpu_backend_lib.cc238 IrDumpingPassManager codegen_passes( in EmitModuleToPTX() local
241 codegen_passes.add(new llvm::TargetLibraryInfoWrapperPass( in EmitModuleToPTX()
244 target_machine->addPassesToEmitFile(codegen_passes, pstream, nullptr, in EmitModuleToPTX()
246 codegen_passes.run(*module); in EmitModuleToPTX()
707 IrDumpingPassManager codegen_passes( in EmitModuleToHsaco() local
711 codegen_passes.add(new llvm::TargetLibraryInfoWrapperPass( in EmitModuleToHsaco()
718 target_machine->addPassesToEmitFile(codegen_passes, *isabin_fs, nullptr, in EmitModuleToHsaco()
720 codegen_passes.run(*module); in EmitModuleToHsaco()