13#include "llvm/TargetParser/TargetParser.h"
21 types::ID InputType, llvm::Triple &Triple) {
25 if (MArch ==
"amdgcnspirv") {
26 Triple.setArch(llvm::Triple::ArchType::spirv64);
32 const llvm::opt::ArgList &Args,
33 llvm::StringRef &
Arch) {
34 if (
const Arg *MArch = Args.getLastArg(options::OPT_march_EQ))
35 Arch = MArch->getValue();
36 else if (
const Arg *MCPU = Args.getLastArg(options::OPT_mcpu_EQ))
37 Arch = MCPU->getValue();
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.