2009-06-25 20:20:10 +02:00
|
|
|
//===--- BuiltinOptions.h - The LLVM Compiler Driver ------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open
|
|
|
|
// Source License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// Declarations of all global command-line option variables.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H
|
|
|
|
#define LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H
|
|
|
|
|
|
|
|
#include "llvm/Support/CommandLine.h"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2010-08-20 13:24:44 +02:00
|
|
|
namespace llvmc {
|
|
|
|
|
2009-06-25 20:20:10 +02:00
|
|
|
namespace SaveTempsEnum { enum Values { Cwd, Obj, Unset }; }
|
|
|
|
|
|
|
|
extern llvm::cl::list<std::string> InputFilenames;
|
|
|
|
extern llvm::cl::opt<std::string> OutputFilename;
|
2009-07-09 10:23:38 +02:00
|
|
|
extern llvm::cl::opt<std::string> TempDirname;
|
2009-06-25 20:20:10 +02:00
|
|
|
extern llvm::cl::list<std::string> Languages;
|
|
|
|
extern llvm::cl::opt<bool> DryRun;
|
2009-11-07 07:33:58 +01:00
|
|
|
extern llvm::cl::opt<bool> Time;
|
2009-06-25 20:20:10 +02:00
|
|
|
extern llvm::cl::opt<bool> VerboseMode;
|
|
|
|
extern llvm::cl::opt<bool> CheckGraph;
|
|
|
|
extern llvm::cl::opt<bool> ViewGraph;
|
2009-11-07 07:33:58 +01:00
|
|
|
extern llvm::cl::opt<bool> WriteGraph;
|
2009-06-25 20:20:10 +02:00
|
|
|
extern llvm::cl::opt<SaveTempsEnum::Values> SaveTemps;
|
|
|
|
|
2010-08-20 13:24:44 +02:00
|
|
|
} // End namespace llvmc.
|
|
|
|
|
2009-06-25 20:20:10 +02:00
|
|
|
#endif // LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H
|