LLVM API Documentation
00001 //===--- BuiltinOptions.h - The LLVM Compiler Driver ------------*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open 00006 // Source License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // Declarations of all global command-line option variables. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #ifndef LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H 00015 #define LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H 00016 00017 #include "llvm/Support/CommandLine.h" 00018 00019 #include <string> 00020 00021 namespace SaveTempsEnum { enum Values { Cwd, Obj, Unset }; } 00022 00023 extern llvm::cl::list<std::string> InputFilenames; 00024 extern llvm::cl::opt<std::string> OutputFilename; 00025 extern llvm::cl::opt<std::string> TempDirname; 00026 extern llvm::cl::list<std::string> Languages; 00027 extern llvm::cl::opt<bool> DryRun; 00028 extern llvm::cl::opt<bool> VerboseMode; 00029 extern llvm::cl::opt<bool> CheckGraph; 00030 extern llvm::cl::opt<bool> WriteGraph; 00031 extern llvm::cl::opt<bool> ViewGraph; 00032 extern llvm::cl::opt<SaveTempsEnum::Values> SaveTemps; 00033 00034 #endif // LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H