9#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_HIPAMD_H
10#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_HIPAMD_H
24class LLVM_LIBRARY_VISIBILITY
Linker final :
public Tool {
32 const llvm::opt::ArgList &TCArgs,
33 const char *LinkingOutput)
const override;
38 const llvm::opt::ArgList &Args)
const;
42 const llvm::opt::ArgList &Args)
const;
46 const llvm::opt::ArgList &Args)
const;
57 const ToolChain &HostTC,
const llvm::opt::ArgList &Args);
63 llvm::opt::DerivedArgList *
64 TranslateArgs(
const llvm::opt::DerivedArgList &Args, StringRef BoundArch,
67 addClangTargetOptions(
const llvm::opt::ArgList &DriverArgs,
68 llvm::opt::ArgStringList &CC1Args,
70 void addClangWarningOptions(llvm::opt::ArgStringList &CC1Args)
const override;
71 CXXStdlibType GetCXXStdlibType(
const llvm::opt::ArgList &Args)
const override;
73 AddClangSystemIncludeArgs(
const llvm::opt::ArgList &DriverArgs,
74 llvm::opt::ArgStringList &CC1Args)
const override;
75 void AddClangCXXStdlibIncludeArgs(
76 const llvm::opt::ArgList &Args,
77 llvm::opt::ArgStringList &CC1Args)
const override;
78 void AddIAMCUIncludeArgs(
const llvm::opt::ArgList &DriverArgs,
79 llvm::opt::ArgStringList &CC1Args)
const override;
80 void AddHIPIncludeArgs(
const llvm::opt::ArgList &DriverArgs,
81 llvm::opt::ArgStringList &CC1Args)
const override;
83 getDeviceLibs(
const llvm::opt::ArgList &Args)
const override;
88 computeMSVCVersion(
const Driver *
D,
89 const llvm::opt::ArgList &Args)
const override;
94 void checkTargetID(
const llvm::opt::ArgList &DriverArgs)
const override;
97 Tool *buildLinker()
const override;
Compilation - A set of tasks to perform for a single driver invocation.
Driver - Encapsulate logic for constructing compilation processes from a set of gcc-driver-like comma...
The JSON file list parser is used to communicate input to InstallAPI.