Lines Matching refs:OutputFile
85 OutputFile("o", cl::desc("Override output filename"), variable
143 if (OutputFile.empty()) { in convertLLVMToSPIRV()
145 OutputFile = "-"; in convertLLVMToSPIRV()
147 OutputFile = removeExt(InputFile) + in convertLLVMToSPIRV()
151 llvm::StringRef outFile(OutputFile); in convertLLVMToSPIRV()
182 if (OutputFile.empty()) { in convertSPIRVToLLVM()
184 OutputFile = "-"; in convertSPIRVToLLVM()
186 OutputFile = removeExt(InputFile) + kExt::LLVMBinary; in convertSPIRVToLLVM()
190 tool_output_file Out(OutputFile.c_str(), EC, sys::fs::F_None); in convertSPIRVToLLVM()
211 if (OutputFile.empty()) { in convertSPIRV()
213 OutputFile = "-"; in convertSPIRV()
215 OutputFile = removeExt(InputFile) in convertSPIRV()
228 if (OutputFile != "-") { in convertSPIRV()
230 llvm::raw_fd_ostream OFS(llvm::StringRef(OutputFile), EC, llvm::sys::fs::F_None); in convertSPIRV()
263 if (OutputFile.empty()) { in regularizeLLVM()
265 OutputFile = "-"; in regularizeLLVM()
267 OutputFile = removeExt(InputFile) + ".regularized.bc"; in regularizeLLVM()
276 tool_output_file Out(OutputFile.c_str(), EC, sys::fs::F_None); in regularizeLLVM()