/external/llvm/utils/ |
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...] |
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/clang/lib/Serialization/ |
GeneratePCH.cpp | 29 StringRef OutputFile, 33 : PP(PP), OutputFile(OutputFile), Module(Module), 51 Writer.WriteAST(*SemaPtr, StatCalls, OutputFile, Module, isysroot);
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
FrontendActions.cpp | 19 CI.getFrontendOpts().OutputFile,
|
/external/clang/lib/Frontend/ |
HeaderIncludeGen.cpp | 21 raw_ostream *OutputFile; 32 : SM(PP->getSourceManager()), OutputFile(OutputFile_), 39 delete OutputFile; 50 raw_ostream *OutputFile = &llvm::errs(); 65 OutputFile = OS; 71 OutputFile, OwnsOutputFile, 124 OutputFile->write(Msg.data(), Msg.size());
|
DependencyGraph.cpp | 31 std::string OutputFile; 46 DependencyGraphCallback(const Preprocessor *_PP, StringRef OutputFile, 48 : PP(_PP), OutputFile(OutputFile.str()), SysRoot(SysRoot.str()) { } 66 void clang::AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile, 68 PP.addPPCallbacks(new DependencyGraphCallback(&PP, OutputFile, SysRoot)); 103 llvm::raw_fd_ostream OS(OutputFile.c_str(), Err); 106 << OutputFile << Err;
|
FrontendActions.cpp | 62 if (CI.getFrontendOpts().OutputFile.empty()) 83 std::string OutputFile; 85 if (ComputeASTConsumerArguments(CI, InFile, Sysroot, OutputFile, OS)) 90 return new PCHGenerator(CI.getPreprocessor(), OutputFile, 0, Sysroot, OS); 96 std::string &OutputFile, 107 OS = CI.createOutputFile(CI.getFrontendOpts().OutputFile, /*Binary=*/true, 113 OutputFile = CI.getFrontendOpts().OutputFile; 120 std::string OutputFile; 122 if (ComputeASTConsumerArguments(CI, InFile, Sysroot, OutputFile, OS) [all...] |
DependencyFile.cpp | 34 std::string OutputFile; 49 : PP(_PP), OutputFile(Opts.OutputFile), Targets(Opts.Targets), 164 llvm::sys::Path(OutputFile).eraseFromDisk(); 169 llvm::raw_fd_ostream OS(OutputFile.c_str(), Err); 172 << OutputFile << Err;
|
CompilerInstance.cpp | 150 StringRef OutputFile) { 153 OS.reset(new llvm::raw_fd_ostream(OutputFile.str().c_str(), ErrorInfo, 158 << OutputFile << ErrorInfo; 276 if (!DepOpts.OutputFile.empty()) 438 void CompilerInstance::addOutputFile(const OutputFile &OutFile) { 444 for (std::list<OutputFile>::iterator 477 return createOutputFile(getFrontendOpts().OutputFile, Binary, 505 addOutputFile(OutputFile((OutputPathName != "-") ? OutputPathName : "", 781 FrontendOpts.OutputFile = ModuleFileName.str(); [all...] |
/external/clang/include/clang/Frontend/ |
DependencyOutputOptions.h | 30 std::string OutputFile;
|
FrontendActions.h | 90 std::string &OutputFile, 117 std::string &OutputFile,
|
CompilerInstance.h | 120 struct OutputFile { 125 OutputFile(const std::string &filename, const std::string &tempFilename, 131 std::list<OutputFile> OutputFiles; 457 void addOutputFile(const OutputFile &OutFile);
|
Utils.h | 76 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile,
|
FrontendOptions.h | 142 std::string OutputFile;
|
/frameworks/compile/slang/ |
slang.cpp | 117 OpenOutputFile(const char *OutputFile, 121 slangAssert((OutputFile != NULL) && (Error != NULL) && 125 llvm::sys::path::parent_path(OutputFile), Error)) { 127 new llvm::tool_output_file(OutputFile, *Error, Flags); 134 << OutputFile << *Error; 325 bool Slang::setOutput(const char *OutputFile) { 326 llvm::sys::Path OutputFilePath(OutputFile); 334 OS = OpenOutputFile(OutputFile, 0, &Error, mDiagEngine); 342 OS = OpenOutputFile(OutputFile, llvm::raw_fd_ostream::F_Binary, 356 mOutputFileName = OutputFile; [all...] |
llvm-rs-cc.cpp | 311 std::string OutputFile(OutputDir); 314 if (!OutputFile.empty() && 315 (OutputFile[OutputFile.size() - 1]) != OS_PATH_SEPARATOR) 316 OutputFile.append(1, OS_PATH_SEPARATOR); 321 OutputFile.append(slang::RSSlangReflectUtils::GetFileNameStem(InputFile)); 323 OutputFile.append( 329 OutputFile.append(".d"); 333 OutputFile.append(".S"); 337 OutputFile.append(".ll") [all...] |
slang.h | 194 bool setOutput(const char *OutputFile); 200 bool setDepOutput(const char *OutputFile);
|
slang_rs.cpp | 284 const char *InputFile, *OutputFile, *BCOutputFile, *DepOutputFile; 314 OutputFile = IOFileIter->second; 321 if (!setOutput(OutputFile))
|
/gdk/sources/llvm-ndk-cc/ |
Compiler.cpp | 50 static inline llvm::tool_output_file *openOutputFile(const char *OutputFile, 54 assert((OutputFile != NULL) && (Error != NULL) && (Diag != NULL) && 58 new llvm::tool_output_file(OutputFile, *Error, Flags); 63 Diag->Report(clang::diag::err_fe_error_opening) << OutputFile << *Error; 236 bool Compiler::setOutput(const char *OutputFile) { 237 llvm::sys::Path OutputFilePath(OutputFile); 245 OS = openOutputFile(OutputFile, 0, &Error, mDiagnostics.getPtr()); 253 OS = openOutputFile(OutputFile, 269 mOutputFileName = OutputFile;
|
/external/llvm/tools/bugpoint/ |
ExecutionDriver.cpp | 294 std::string OutputFile, 326 if (OutputFile.empty()) OutputFile = OutputPrefix + "-execution-output"; 329 sys::Path uniqueFile(OutputFile); 335 OutputFile = uniqueFile.str(); 342 int RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile, OutputFile, 346 return OutputFile; 362 std::ofstream outFile(OutputFile.c_str(), std::ios_base::app); 368 return OutputFile; 375 std::string OutputFile, [all...] |
ToolRunner.cpp | 187 const std::string &OutputFile, 200 const std::string &OutputFile, 233 sys::Path(InputFile), sys::Path(OutputFile), sys::Path(OutputFile), 277 const std::string &OutputFile, 333 const std::string &OutputFile, 346 const std::string &OutputFile, 367 &ProgramArgs[0], sys::Path(InputFile), sys::Path(OutputFile), 368 sys::Path(OutputFile), Timeout, MemoryLimit, Error); 498 const std::string &OutputFile, [all...] |
ToolRunner.h | 58 /// Output is captured to the specified OutputFile location. The SharedLibs 66 const std::string &OutputFile, 77 std::string &OutputFile, 144 const std::string &OutputFile, 179 const std::string &OutputFile, 227 const std::string &OutputFile,
|
BugDriver.cpp | 43 OutputFile("output", cl::desc("Specify a reference program output " 72 : Context(ctxt), ToolName(toolname), ReferenceOutputFile(OutputFile),
|
/external/clang/lib/StaticAnalyzer/Core/ |
TextPathDiagnostics.cpp | 27 const std::string OutputFile; 32 : OutputFile(output), Diag(diag) {}
|
PlistDiagnostics.cpp | 31 const std::string OutputFile; 64 : OutputFile(output), LangOpts(LO), SubPD(subPD), flushed(false), 397 llvm::raw_fd_ostream o(OutputFile.c_str(), ErrMsg); 399 llvm::errs() << "warning: could not create file: " << OutputFile << '\n'; 512 FilesMade->push_back(OutputFile);
|