Home
last modified time | relevance | path

Searched refs:OutputFile (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/utils/
Dllvm-native-gxx36 $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/clang/lib/Frontend/
DHeaderIncludeGen.cpp21 raw_ostream *OutputFile; member in __anona4f9c0b20111::HeaderIncludesCallback
33 : SM(PP->getSourceManager()), OutputFile(OutputFile_), in HeaderIncludesCallback()
40 delete OutputFile; in ~HeaderIncludesCallback()
52 raw_ostream *OutputFile = MSStyle ? &llvm::outs() : &llvm::errs(); in AttachHeaderIncludeGen() local
67 OutputFile = OS; in AttachHeaderIncludeGen()
74 OutputFile, in AttachHeaderIncludeGen()
135 OutputFile->write(Msg.data(), Msg.size()); in FileChanged()
136 OutputFile->flush(); in FileChanged()
DDependencyGraph.cpp31 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()
DFrontendActions.cpp81 std::string OutputFile; in CreateASTConsumer() local
83 ComputeASTConsumerArguments(CI, InFile, Sysroot, OutputFile); in CreateASTConsumer()
89 return llvm::make_unique<PCHGenerator>(CI.getPreprocessor(), OutputFile, in CreateASTConsumer()
95 std::string &OutputFile) { in ComputeASTConsumerArguments() argument
106 CI.createOutputFile(CI.getFrontendOpts().OutputFile, /*Binary=*/true, in ComputeASTConsumerArguments()
112 OutputFile = CI.getFrontendOpts().OutputFile; in ComputeASTConsumerArguments()
120 std::string OutputFile; in CreateASTConsumer() local
122 ComputeASTConsumerArguments(CI, InFile, Sysroot, OutputFile); in CreateASTConsumer()
126 return llvm::make_unique<PCHGenerator>(CI.getPreprocessor(), OutputFile, in CreateASTConsumer()
361 std::string &OutputFile) { in ComputeASTConsumerArguments() argument
[all …]
DDependencyFile.cpp146 std::string OutputFile; member in __anonc90c6eea0211::DFGImpl
160 : PP(_PP), OutputFile(Opts.OutputFile), Targets(Opts.Targets), in DFGImpl()
306 llvm::sys::fs::remove(OutputFile); in OutputDependencyFile()
311 llvm::raw_fd_ostream OS(OutputFile, EC, llvm::sys::fs::F_Text); in OutputDependencyFile()
313 PP->getDiagnostics().Report(diag::err_fe_error_opening) << OutputFile in OutputDependencyFile()
DSerializedDiagnosticPrinter.cpp257 : DiagOpts(Diags), Stream(Buffer), OutputFile(File.str()), in SharedState()
270 std::string OutputFile; member
310 create(StringRef OutputFile, DiagnosticOptions *Diags, bool MergeChildRecords) { in create() argument
311 return llvm::make_unique<SDiagsWriter>(OutputFile, Diags, MergeChildRecords); in create()
791 if (!llvm::sys::fs::remove(State->OutputFile)) in RemoveOldDiagnostics()
815 if (llvm::sys::fs::exists(State->OutputFile)) in finish()
816 if (SDiagsMerger(*this).mergeRecordsFromFile(State->OutputFile.c_str())) in finish()
821 auto OS = llvm::make_unique<llvm::raw_fd_ostream>(State->OutputFile.c_str(), in finish()
825 << State->OutputFile << EC.message(); in finish()
DCompilerInstance.cpp168 StringRef OutputFile) { in SetupSerializedDiagnostics() argument
170 clang::serialized_diags::create(OutputFile, DiagOpts); in SetupSerializedDiagnostics()
337 if (!DepOpts.OutputFile.empty()) in createPreprocessor()
521 void CompilerInstance::addOutputFile(OutputFile &&OutFile) { in addOutputFile()
527 for (OutputFile &OF : OutputFiles) { in clearOutputFiles()
559 return createOutputFile(getFrontendOpts().OutputFile, Binary, in createDefaultOutputFile()
567 addOutputFile(OutputFile("", "", std::move(OS))); in createNullOutputFile()
590 addOutputFile(OutputFile((OutputPathName != "-") ? OutputPathName : "", in createOutputFile()
906 FrontendOpts.OutputFile = ModuleFileName.str(); in compileModuleImpl()
/external/llvm/tools/bugpoint/
DExecutionDriver.cpp296 std::string OutputFile, in executeProgram() argument
330 if (OutputFile.empty()) OutputFile = OutputPrefix + "-execution-output-%%%%%%%"; in executeProgram()
334 std::error_code EC = sys::fs::createUniqueFile(OutputFile, UniqueFile); in executeProgram()
340 OutputFile = UniqueFile.str(); in executeProgram()
347 int RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile, OutputFile, in executeProgram()
351 return OutputFile; in executeProgram()
367 std::ofstream outFile(OutputFile.c_str(), std::ios_base::app); in executeProgram()
373 return OutputFile; in executeProgram()
380 std::string OutputFile, in executeProgramSafely() argument
382 return executeProgram(Program, OutputFile, "", "", SafeInterpreter, Error); in executeProgramSafely()
[all …]
DToolRunner.cpp185 const std::string &OutputFile,
198 const std::string &OutputFile, in ExecuteProgram() argument
231 InputFile, OutputFile, OutputFile, in ExecuteProgram()
306 const std::string &OutputFile, in ExecuteProgram() argument
362 const std::string &OutputFile,
375 const std::string &OutputFile, in ExecuteProgram() argument
396 &ProgramArgs[0], InputFile, OutputFile, in ExecuteProgram()
397 OutputFile, Timeout, MemoryLimit, Error); in ExecuteProgram()
530 const std::string &OutputFile, in ExecuteProgram() argument
547 InputFile, OutputFile, Error, GCCArgs, in ExecuteProgram()
[all …]
DToolRunner.h65 const std::string &OutputFile,
76 std::string &OutputFile,
141 const std::string &OutputFile,
179 const std::string &OutputFile,
DBugDriver.cpp44 OutputFile("output", cl::desc("Specify a reference program output " variable
73 : Context(ctxt), ToolName(toolname), ReferenceOutputFile(OutputFile), in BugDriver()
DBugDriver.h186 std::string OutputFile,
/external/llvm/tools/dsymutil/
Ddsymutil.cpp84 std::string OutputFile; in main() local
87 OutputFile = "a.out.dwarf"; in main()
89 OutputFile = InputFile + ".dwarf"; in main()
91 OutputFile = OutputFileOpt; in main()
94 return !linkDwarf(OutputFile, **DebugMapPtrOrErr, Options); in main()
/external/clang/lib/Serialization/
DGeneratePCH.cpp28 StringRef OutputFile, in PCHGenerator() argument
32 : PP(PP), OutputFile(OutputFile), Module(Module), in PCHGenerator()
53 Writer.WriteAST(*SemaPtr, OutputFile, Module, isysroot, hasErrors); in HandleTranslationUnit()
/external/compiler-rt/lib/profile/
DInstrProfilingFile.c61 FILE *OutputFile; in writeFileWithName() local
66 OutputFile = fopen(OutputName, "a"); in writeFileWithName()
67 if (!OutputFile) in writeFileWithName()
70 RetVal = writeFile(OutputFile); in writeFileWithName()
72 fclose(OutputFile); in writeFileWithName()
/external/clang/include/clang/Frontend/
DCompilerInstance.h151 struct OutputFile { struct
156 OutputFile(const std::string &filename, const std::string &tempFilename, in OutputFile() argument
159 OutputFile(OutputFile &&O) in OutputFile() argument
170 std::list<OutputFile> OutputFiles;
529 void addOutputFile(OutputFile &&OutFile);
DSerializedDiagnosticPrinter.h36 std::unique_ptr<DiagnosticConsumer> create(StringRef OutputFile,
DDependencyOutputOptions.h32 std::string OutputFile; variable
DFrontendActions.h91 std::string &OutputFile);
124 std::string &OutputFile);
DUtils.h144 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile,
DFrontendOptions.h208 std::string OutputFile; variable
/external/clang/include/clang/Serialization/
DASTWriter.h487 StringRef isysroot, const std::string &OutputFile);
555 StringRef isysroot, const std::string &OutputFile,
578 const std::string &OutputFile,
865 std::string OutputFile; variable
881 PCHGenerator(const Preprocessor &PP, StringRef OutputFile,
/external/clang/lib/StaticAnalyzer/Core/
DPlistDiagnostics.cpp31 const std::string OutputFile; member in __anon26f7d2b50111::PlistDiagnostics
63 : OutputFile(output), in PlistDiagnostics()
342 llvm::raw_fd_ostream o(OutputFile, EC, llvm::sys::fs::F_Text); in FlushDiagnosticsImpl()
/external/llvm/lib/Support/Unix/
DSignals.inc351 SmallString<32> InputFile, OutputFile;
353 sys::fs::createTemporaryFile("symbolizer-output", "", OutputFile);
355 FileRemover OutputRemover(OutputFile.c_str());
366 StringRef OutputFileStr(OutputFile);
377 auto OutputBuf = MemoryBuffer::getFile(OutputFile.c_str());
/external/libvpx/libvpx/build/make/
Dgen_msvs_proj.sh372 OutputFile="\$(OutDir)/${name}${lib_sfx}d.lib" \
480 OutputFile="\$(OutDir)/${name}${lib_sfx}.lib" \

12