/external/llvm/utils/ |
D | llvm-native-gxx | 36 $OutputFile = $ARGV[$i + 1]; 108 my ($BCFile, $Backend, $OutputFile) = @_; 113 $GeneratedCode = "${OutputFile}.c"; 120 $GeneratedCode = "${OutputFile}.s"; 128 run "gcc $GCCOptions $GeneratedCode -o $OutputFile $LibDirs $Libs"; 134 my ($LLVMGCCCommand, $Backend, $OutputFile) = @_; 139 my $BCFile = "${OutputFile}.llvm.bc"; 141 run "mv ${OutputFile} $BCFile"; 143 run "mv ${OutputFile}.bc $BCFile"; 147 $GeneratedCode = "${OutputFile}.cbe.c"; [all …]
|
/external/swiftshader/third_party/LLVM/utils/ |
D | llvm-native-gcc | 36 $OutputFile = $ARGV[$i + 1]; 108 my ($BCFile, $Backend, $OutputFile) = @_; 113 $GeneratedCode = "${OutputFile}.c"; 120 $GeneratedCode = "${OutputFile}.s"; 128 run "gcc $GCCOptions $GeneratedCode -o $OutputFile $LibDirs $Libs"; 134 my ($LLVMGCCCommand, $Backend, $OutputFile) = @_; 139 my $BCFile = "${OutputFile}.llvm.bc"; 141 run "mv ${OutputFile} $BCFile"; 143 run "mv ${OutputFile}.bc $BCFile"; 147 $GeneratedCode = "${OutputFile}.cbe.c"; [all …]
|
D | llvm-native-gxx | 36 $OutputFile = $ARGV[$i + 1]; 108 my ($BCFile, $Backend, $OutputFile) = @_; 113 $GeneratedCode = "${OutputFile}.c"; 120 $GeneratedCode = "${OutputFile}.s"; 128 run "gcc $GCCOptions $GeneratedCode -o $OutputFile $LibDirs $Libs"; 134 my ($LLVMGCCCommand, $Backend, $OutputFile) = @_; 139 my $BCFile = "${OutputFile}.llvm.bc"; 141 run "mv ${OutputFile} $BCFile"; 143 run "mv ${OutputFile}.bc $BCFile"; 147 $GeneratedCode = "${OutputFile}.cbe.c"; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/ |
D | llvm-native-gxx | 36 $OutputFile = $ARGV[$i + 1]; 108 my ($BCFile, $Backend, $OutputFile) = @_; 113 $GeneratedCode = "${OutputFile}.c"; 120 $GeneratedCode = "${OutputFile}.s"; 128 run "gcc $GCCOptions $GeneratedCode -o $OutputFile $LibDirs $Libs"; 134 my ($LLVMGCCCommand, $Backend, $OutputFile) = @_; 139 my $BCFile = "${OutputFile}.llvm.bc"; 141 run "mv ${OutputFile} $BCFile"; 143 run "mv ${OutputFile}.bc $BCFile"; 147 $GeneratedCode = "${OutputFile}.cbe.c"; [all …]
|
/external/spirv-llvm/tools/llvm-spirv/ |
D | llvm-spirv.cpp | 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() [all …]
|
/external/clang/lib/Frontend/ |
D | HeaderIncludeGen.cpp | 22 raw_ostream *OutputFile; member in __anona4f9c0b20111::HeaderIncludesCallback 36 : SM(PP->getSourceManager()), OutputFile(OutputFile_), DepOpts(DepOpts), in HeaderIncludesCallback() 43 delete OutputFile; in ~HeaderIncludesCallback() 52 static void PrintHeaderInfo(raw_ostream *OutputFile, StringRef Filename, in PrintHeaderInfo() argument 75 *OutputFile << Msg; in PrintHeaderInfo() 76 OutputFile->flush(); in PrintHeaderInfo() 83 raw_ostream *OutputFile = MSStyle ? &llvm::outs() : &llvm::errs(); in AttachHeaderIncludeGen() local 97 OutputFile = OS; in AttachHeaderIncludeGen() 108 PrintHeaderInfo(OutputFile, Header, ShowDepth, 2, MSStyle); in AttachHeaderIncludeGen() 110 &PP, ShowAllHeaders, OutputFile, DepOpts, OwnsOutputFile, ShowDepth, in AttachHeaderIncludeGen() [all …]
|
D | DependencyGraph.cpp | 31 std::string OutputFile; member in __anon7c4ba1fc0111::DependencyGraphCallback 45 DependencyGraphCallback(const Preprocessor *_PP, StringRef OutputFile, in DependencyGraphCallback() argument 47 : PP(_PP), OutputFile(OutputFile.str()), SysRoot(SysRoot.str()) { } in DependencyGraphCallback() 62 void clang::AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile, in AttachDependencyGraphGen() argument 64 PP.addPPCallbacks(llvm::make_unique<DependencyGraphCallback>(&PP, OutputFile, in AttachDependencyGraphGen() 101 llvm::raw_fd_ostream OS(OutputFile, EC, llvm::sys::fs::F_Text); in OutputGraphFile() 103 PP->getDiagnostics().Report(diag::err_fe_error_opening) << OutputFile in OutputGraphFile()
|
D | FrontendActions.cpp | 82 std::string OutputFile; in CreateASTConsumer() local 84 ComputeASTConsumerArguments(CI, InFile, Sysroot, OutputFile); in CreateASTConsumer() 94 CI.getPreprocessor(), OutputFile, nullptr, Sysroot, in CreateASTConsumer() 100 CI, InFile, OutputFile, OS, Buffer)); in CreateASTConsumer() 107 std::string &OutputFile) { in ComputeASTConsumerArguments() argument 118 CI.createOutputFile(CI.getFrontendOpts().OutputFile, /*Binary=*/true, in ComputeASTConsumerArguments() 124 OutputFile = CI.getFrontendOpts().OutputFile; in ComputeASTConsumerArguments() 132 std::string OutputFile; in CreateASTConsumer() local 134 ComputeASTConsumerArguments(CI, InFile, Sysroot, OutputFile); in CreateASTConsumer() 142 CI.getPreprocessor(), OutputFile, Module, Sysroot, in CreateASTConsumer() [all …]
|
/external/llvm/tools/bugpoint/ |
D | ExecutionDriver.cpp | 303 std::string OutputFile, in executeProgram() argument 337 if (OutputFile.empty()) OutputFile = OutputPrefix + "-execution-output-%%%%%%%"; in executeProgram() 341 std::error_code EC = sys::fs::createUniqueFile(OutputFile, UniqueFile); in executeProgram() 347 OutputFile = UniqueFile.str(); in executeProgram() 354 int RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile, OutputFile, in executeProgram() 358 return OutputFile; in executeProgram() 374 std::ofstream outFile(OutputFile.c_str(), std::ios_base::app); in executeProgram() 380 return OutputFile; in executeProgram() 387 const std::string &OutputFile, in executeProgramSafely() argument 389 return executeProgram(Program, OutputFile, "", "", SafeInterpreter, Error); in executeProgramSafely() [all …]
|
D | ToolRunner.cpp | 167 const std::string &OutputFile, 180 const std::string &OutputFile, in ExecuteProgram() argument 213 InputFile, OutputFile, OutputFile, in ExecuteProgram() 288 const std::string &OutputFile, in ExecuteProgram() argument 344 const std::string &OutputFile, 357 const std::string &OutputFile, in ExecuteProgram() argument 378 &ProgramArgs[0], InputFile, OutputFile, in ExecuteProgram() 379 OutputFile, Timeout, MemoryLimit, Error); in ExecuteProgram() 512 const std::string &OutputFile, in ExecuteProgram() argument 529 InputFile, OutputFile, Error, CCArgs, in ExecuteProgram() [all …]
|
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
D | ExecutionDriver.cpp | 338 std::string OutputFile, in executeProgram() argument 370 if (OutputFile.empty()) OutputFile = OutputPrefix + "-execution-output"; in executeProgram() 373 sys::Path uniqueFile(OutputFile); in executeProgram() 379 OutputFile = uniqueFile.str(); in executeProgram() 386 int RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile, OutputFile, in executeProgram() 390 return OutputFile; in executeProgram() 406 std::ofstream outFile(OutputFile.c_str(), std::ios_base::app); in executeProgram() 412 return OutputFile; in executeProgram() 419 std::string OutputFile, in executeProgramSafely() argument 421 return executeProgram(Program, OutputFile, "", "", SafeInterpreter, Error); in executeProgramSafely() [all …]
|
D | ToolRunner.cpp | 187 const std::string &OutputFile, 200 const std::string &OutputFile, in ExecuteProgram() argument 233 sys::Path(InputFile), sys::Path(OutputFile), sys::Path(OutputFile), in ExecuteProgram() 275 const std::string &OutputFile, in ExecuteProgram() argument 331 const std::string &OutputFile, 344 const std::string &OutputFile, in ExecuteProgram() argument 365 &ProgramArgs[0], sys::Path(InputFile), sys::Path(OutputFile), in ExecuteProgram() 366 sys::Path(OutputFile), Timeout, MemoryLimit, Error); in ExecuteProgram() 496 const std::string &OutputFile, in ExecuteProgram() argument 513 InputFile, OutputFile, Error, GCCArgs, in ExecuteProgram() [all …]
|
D | ToolRunner.h | 66 const std::string &OutputFile, 77 std::string &OutputFile, 143 const std::string &OutputFile, 178 const std::string &OutputFile, 226 const std::string &OutputFile,
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/ |
D | ExecutionDriver.cpp | 295 std::string OutputFile, in executeProgram() argument 322 if (OutputFile.empty()) in executeProgram() 323 OutputFile = OutputPrefix + "-execution-output-%%%%%%%"; in executeProgram() 327 std::error_code EC = sys::fs::createUniqueFile(OutputFile, UniqueFile); in executeProgram() 333 OutputFile = UniqueFile.str(); in executeProgram() 341 OutputFile, AdditionalLinkerArgs, in executeProgram() 364 std::ofstream outFile(OutputFile.c_str(), std::ios_base::app); in executeProgram() 370 return OutputFile; in executeProgram() 377 const std::string &OutputFile) const { in executeProgramSafely() 378 return executeProgram(Program, OutputFile, "", "", SafeInterpreter); in executeProgramSafely() [all …]
|
D | ToolRunner.cpp | 159 const std::string &InputFile, const std::string &OutputFile, 169 const std::string &OutputFile, in ExecuteProgram() argument 199 return RunProgramWithTimeout(LLIPath, LLIArgs, InputFile, OutputFile, in ExecuteProgram() 200 OutputFile, Timeout, MemoryLimit); in ExecuteProgram() 272 const std::string &InputFile, const std::string &OutputFile, in ExecuteProgram() argument 321 const std::string &InputFile, const std::string &OutputFile, 330 const std::string &InputFile, const std::string &OutputFile, in ExecuteProgram() argument 347 OutputFile, OutputFile, Timeout, MemoryLimit); in ExecuteProgram() 500 const std::string &OutputFile, in ExecuteProgram() argument 517 OutputFile, CCArgs, Timeout, MemoryLimit); in ExecuteProgram() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cvtres/ |
D | llvm-cvtres.cpp | 136 SmallString<128> OutputFile; in main() local 139 OutputFile = InputArgs.getLastArgValue(OPT_OUT); in main() 141 OutputFile = sys::path::filename(StringRef(InputFiles[0])); in main() 142 sys::path::replace_extension(OutputFile, ".obj"); in main() 196 FileOutputBuffer::create(OutputFile, OutputBuffer->getBufferSize()); in main() 198 reportError(OutputFile, errorToErrorCode(FileOrErr.takeError())); in main() 205 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(OutputFile); in main() 207 reportError(OutputFile, errorToErrorCode(BinaryOrErr.takeError())); in main()
|
/external/clang/lib/Serialization/ |
D | GeneratePCH.cpp | 27 const Preprocessor &PP, StringRef OutputFile, in PCHGenerator() argument 32 : PP(PP), OutputFile(OutputFile), Module(Module), isysroot(isysroot.str()), in PCHGenerator() 54 Writer.WriteAST(*SemaPtr, OutputFile, Module, isysroot, in HandleTranslationUnit()
|
/external/llvm/lib/Support/ |
D | Signals.cpp | 107 SmallString<32> InputFile, OutputFile; in printSymbolizedStackTrace() local 109 sys::fs::createTemporaryFile("symbolizer-output", "", OutputFile); in printSymbolizedStackTrace() 111 FileRemover OutputRemover(OutputFile.c_str()); in printSymbolizedStackTrace() 122 StringRef OutputFileStr(OutputFile); in printSymbolizedStackTrace() 141 auto OutputBuf = MemoryBuffer::getFile(OutputFile.c_str()); in printSymbolizedStackTrace()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Signals.cpp | 107 SmallString<32> InputFile, OutputFile; in printSymbolizedStackTrace() local 109 sys::fs::createTemporaryFile("symbolizer-output", "", OutputFile); in printSymbolizedStackTrace() 111 FileRemover OutputRemover(OutputFile.c_str()); in printSymbolizedStackTrace() 122 StringRef OutputFileStr(OutputFile); in printSymbolizedStackTrace() 141 auto OutputBuf = MemoryBuffer::getFile(OutputFile.c_str()); in printSymbolizedStackTrace()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
D | dsymutil.cpp | 251 static bool verify(llvm::StringRef OutputFile, llvm::StringRef Arch) { in verify() argument 252 if (OutputFile == "-") { in verify() 258 Expected<OwningBinary<Binary>> BinOrErr = createBinary(OutputFile); in verify() 260 errs() << OutputFile << ": " << toString(BinOrErr.takeError()); in verify() 524 std::string OutputFile = getOutputFileName(InputFile); in main() local 537 OutputFile = TempFile.TmpName; in main() 540 OS = std::make_shared<raw_fd_ostream>(NoOutput ? "-" : OutputFile, EC, in main() 543 errs() << OutputFile << ": " << EC.message(); in main() 549 OutputFile](std::shared_ptr<raw_fd_ostream> Stream) { in main() 553 AllOK.fetch_and(verify(OutputFile, Map->getTriple().getArchName())); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mt/ |
D | llvm-mt.cpp | 128 StringRef OutputFile; in main() local 130 OutputFile = InputArgs.getLastArgValue(OPT_out); in main() 132 OutputFile = InputFiles[0]; in main() 152 FileOutputBuffer::create(OutputFile, OutputBuffer->getBufferSize()); in main() 154 reportError(OutputFile, errorToErrorCode(FileOrErr.takeError())); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | Signals.cpp | 143 SmallString<32> InputFile, OutputFile; in printSymbolizedStackTrace() local 145 sys::fs::createTemporaryFile("symbolizer-output", "", OutputFile); in printSymbolizedStackTrace() 147 FileRemover OutputRemover(OutputFile.c_str()); in printSymbolizedStackTrace() 158 StringRef(OutputFile), llvm::None}; in printSymbolizedStackTrace() 174 auto OutputBuf = MemoryBuffer::getFile(OutputFile.c_str()); in printSymbolizedStackTrace()
|
/external/compiler-rt/lib/profile/ |
D | InstrProfilingFile.c | 201 FILE *OutputFile; in writeFile() local 204 OutputFile = fopen(OutputName, "ab"); in writeFile() 206 OutputFile = openFileForMerging(OutputName); in writeFile() 208 if (!OutputFile) in writeFile() 213 RetVal = lprofWriteData(fileWriter, OutputFile, lprofGetVPDataReader()); in writeFile() 215 fclose(OutputFile); in writeFile()
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerIO.cpp | 24 static FILE *OutputFile = stderr; variable 125 OutputFile = NewOutputFile; in DupAndCloseStderr() 138 vfprintf(OutputFile, Fmt, ap); in Printf() 140 fflush(OutputFile); in Printf()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ToolDrivers/llvm-dlltool/ |
D | DlltoolDriver.cpp | 148 Def->OutputFile = Arg->getValue(); in dlltoolDriverMain() 150 if (Def->OutputFile.empty()) { in dlltoolDriverMain() 157 Path = getImplibPath(Def->OutputFile); in dlltoolDriverMain() 176 if (writeImportLibrary(Def->OutputFile, Path, Def->Exports, Machine, true)) in dlltoolDriverMain()
|