Changeset View
Changeset View
Standalone View
Standalone View
clang/lib/Driver/ToolChains/Cuda.h
Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Lines | public: | ||||
bool hasIntegratedCPP() const override { return false; } | bool hasIntegratedCPP() const override { return false; } | ||||
void ConstructJob(Compilation &C, const JobAction &JA, | void ConstructJob(Compilation &C, const JobAction &JA, | ||||
const InputInfo &Output, const InputInfoList &Inputs, | const InputInfo &Output, const InputInfoList &Inputs, | ||||
const llvm::opt::ArgList &TCArgs, | const llvm::opt::ArgList &TCArgs, | ||||
const char *LinkingOutput) const override; | const char *LinkingOutput) const override; | ||||
}; | }; | ||||
class LLVM_LIBRARY_VISIBILITY OpenMPLinker : public Tool { | |||||
public: | |||||
OpenMPLinker(const ToolChain &TC) | |||||
: Tool("NVPTX::OpenMPLinker", "nvlink", TC) {} | |||||
bool hasIntegratedCPP() const override { return false; } | |||||
void ConstructJob(Compilation &C, const JobAction &JA, | |||||
const InputInfo &Output, const InputInfoList &Inputs, | |||||
const llvm::opt::ArgList &TCArgs, | |||||
const char *LinkingOutput) const override; | |||||
}; | |||||
void getNVPTXTargetFeatures(const Driver &D, const llvm::Triple &Triple, | void getNVPTXTargetFeatures(const Driver &D, const llvm::Triple &Triple, | ||||
const llvm::opt::ArgList &Args, | const llvm::opt::ArgList &Args, | ||||
std::vector<StringRef> &Features); | std::vector<StringRef> &Features); | ||||
} // end namespace NVPTX | } // end namespace NVPTX | ||||
} // end namespace tools | } // end namespace tools | ||||
namespace toolchains { | namespace toolchains { | ||||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |