9#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_SPIRV_H
10#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_SPIRV_H
23 const llvm::opt::ArgStringList &Args);
28 const llvm::opt::ArgStringList &Args);
33 :
Tool(
"SPIR-V::Translator",
"llvm-spirv", TC) {}
40 const llvm::opt::ArgList &TCArgs,
41 const char *LinkingOutput)
const override;
44class LLVM_LIBRARY_VISIBILITY
Linker final :
public Tool {
51 const llvm::opt::ArgList &TCArgs,
52 const char *LinkingOutput)
const override;
62 const llvm::opt::ArgList &TCArgs,
63 const char *AssembleOutput)
const override;
72 mutable std::unique_ptr<Tool> Translator;
73 mutable std::unique_ptr<Tool> Assembler;
77 const llvm::opt::ArgList &Args);
91 bool HasNativeLLVMSupport()
const override;
97 Tool *buildLinker()
const override;
103 bool NativeLLVMSupport;
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.
const FunctionProtoType * T