Lines Matching defs:ToolChain

20 #include "clang/Driver/ToolChain.h"
55 class ToolChain;
337 /// This maps from the string representation of a triple to a ToolChain
338 /// created targeting that triple. The driver owns all the ToolChain objects
340 mutable llvm::StringMap<std::unique_ptr<ToolChain>> ToolChains;
342 /// Cache of known offloading architectures for the ToolChain already derived.
345 llvm::DenseMap<const ToolChain *, llvm::DenseSet<llvm::StringRef>> KnownArchs;
361 void generatePrefixedToolNames(StringRef Tool, const ToolChain &TC,
476 void BuildInputs(const ToolChain &TC, llvm::opt::DerivedArgList &Args,
493 void BuildUniversalActions(Compilation &C, const ToolChain &TC,
513 Action::OffloadKind Kind, const ToolChain *TC,
603 std::string GetFilePath(StringRef Name, const ToolChain &TC) const;
611 std::string GetProgramPath(StringRef Name, const ToolChain &TC) const;
621 const ToolChain &TC) const;
645 /// jobs for a given (Action, ToolChain, BoundArch, DeviceKind) tuple once.
647 Compilation &C, const Action *A, const ToolChain *TC, StringRef BoundArch,
755 /// Retrieves a ToolChain for a particular \p Target triple.
759 const ToolChain &getToolChain(const llvm::opt::ArgList &Args,
764 /// Retrieves a ToolChain for a particular device \p Target triple
766 /// \param[in] HostTC is the host ToolChain paired with the device
769 /// an Offloading action that is optionally passed to a ToolChain (used by
774 const ToolChain &getOffloadingDeviceToolChain(
776 const ToolChain &HostTC,
788 Compilation &C, const Action *A, const ToolChain *TC, StringRef BoundArch,