Home | History | Annotate | Download | only in Common
      1 //===-- TargetOptionsCommandFlags.h ----------------------------*- C++ -*-===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 //
     10 // Helper to create TargetOptions from command line flags.
     11 //
     12 //===----------------------------------------------------------------------===//
     13 
     14 #include "llvm/ADT/Optional.h"
     15 #include "llvm/Support/CodeGen.h"
     16 #include "llvm/Target/TargetOptions.h"
     17 
     18 namespace lld {
     19 llvm::TargetOptions InitTargetOptionsFromCodeGenFlags();
     20 llvm::Optional<llvm::CodeModel::Model> GetCodeModelFromCMModel();
     21 }
     22