9#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_FLANG_H
10#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_FLANG_H
16#include "llvm/Option/ArgList.h"
17#include "llvm/Support/Compiler.h"
32 void addFortranDialectOptions(
const llvm::opt::ArgList &Args,
33 llvm::opt::ArgStringList &CmdArgs)
const;
40 void addPreprocessingOptions(
const llvm::opt::ArgList &Args,
41 llvm::opt::ArgStringList &CmdArgs)
const;
48 void addPicOptions(
const llvm::opt::ArgList &Args,
49 llvm::opt::ArgStringList &CmdArgs)
const;
56 void addTargetOptions(
const llvm::opt::ArgList &Args,
57 llvm::opt::ArgStringList &CmdArgs)
const;
63 void AddAArch64TargetArgs(
const llvm::opt::ArgList &Args,
64 llvm::opt::ArgStringList &CmdArgs)
const;
70 void AddAMDGPUTargetArgs(
const llvm::opt::ArgList &Args,
71 llvm::opt::ArgStringList &CmdArgs)
const;
77 void AddRISCVTargetArgs(
const llvm::opt::ArgList &Args,
78 llvm::opt::ArgStringList &CmdArgs)
const;
84 void AddX86_64TargetArgs(
const llvm::opt::ArgList &Args,
85 llvm::opt::ArgStringList &CmdArgs)
const;
95 const JobAction &JA,
const llvm::opt::ArgList &Args,
96 llvm::opt::ArgStringList &CmdArgs)
const;
103 void addCodegenOptions(
const llvm::opt::ArgList &Args,
104 llvm::opt::ArgStringList &CmdArgs)
const;
111 void addOtherOptions(
const llvm::opt::ArgList &Args,
112 llvm::opt::ArgStringList &CmdArgs)
const;
125 const llvm::opt::ArgList &TCArgs,
126 const char *LinkingOutput)
const override;
Compilation - A set of tasks to perform for a single driver invocation.
The JSON file list parser is used to communicate input to InstallAPI.