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 AddLoongArch64TargetArgs(
const llvm::opt::ArgList &Args,
78 llvm::opt::ArgStringList &CmdArgs)
const;
84 void AddRISCVTargetArgs(
const llvm::opt::ArgList &Args,
85 llvm::opt::ArgStringList &CmdArgs)
const;
91 void AddX86_64TargetArgs(
const llvm::opt::ArgList &Args,
92 llvm::opt::ArgStringList &CmdArgs)
const;
98 void AddPPCTargetArgs(
const llvm::opt::ArgList &Args,
99 llvm::opt::ArgStringList &CmdArgs)
const;
109 const JobAction &JA,
const llvm::opt::ArgList &Args,
110 llvm::opt::ArgStringList &CmdArgs)
const;
117 void addCodegenOptions(
const llvm::opt::ArgList &Args,
118 llvm::opt::ArgStringList &CmdArgs)
const;
125 void addOtherOptions(
const llvm::opt::ArgList &Args,
126 llvm::opt::ArgStringList &CmdArgs)
const;
139 const llvm::opt::ArgList &TCArgs,
140 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.