LLVM 22.0.0git
MSVCPaths.h File Reference
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.h"
#include "llvm/TargetParser/Triple.h"
#include <optional>
#include <string>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::vfs

Enumerations

enum class  llvm::SubDirectoryType { llvm::Bin , llvm::Include , llvm::Lib }
enum class  llvm::ToolsetLayout { llvm::OlderVS , llvm::VS2017OrNewer , llvm::DevDivInternal }

Functions

LLVM_ABI const charllvm::archToWindowsSDKArch (llvm::Triple::ArchType Arch)
LLVM_ABI const charllvm::archToLegacyVCArch (llvm::Triple::ArchType Arch)
LLVM_ABI const charllvm::archToDevDivInternalArch (llvm::Triple::ArchType Arch)
LLVM_ABI bool llvm::appendArchToWindowsSDKLibPath (int SDKMajor, llvm::SmallString< 128 > LibPath, llvm::Triple::ArchType Arch, std::string &path)
LLVM_ABI std::string llvm::getSubDirectoryPath (SubDirectoryType Type, ToolsetLayout VSLayout, const std::string &VCToolChainPath, llvm::Triple::ArchType TargetArch, llvm::StringRef SubdirParent="")
LLVM_ABI bool llvm::useUniversalCRT (ToolsetLayout VSLayout, const std::string &VCToolChainPath, llvm::Triple::ArchType TargetArch, llvm::vfs::FileSystem &VFS)
LLVM_ABI bool llvm::getWindowsSDKDir (vfs::FileSystem &VFS, std::optional< llvm::StringRef > WinSdkDir, std::optional< llvm::StringRef > WinSdkVersion, std::optional< llvm::StringRef > WinSysRoot, std::string &Path, int &Major, std::string &WindowsSDKIncludeVersion, std::string &WindowsSDKLibVersion)
 Get Windows SDK installation directory.
LLVM_ABI bool llvm::getUniversalCRTSdkDir (vfs::FileSystem &VFS, std::optional< llvm::StringRef > WinSdkDir, std::optional< llvm::StringRef > WinSdkVersion, std::optional< llvm::StringRef > WinSysRoot, std::string &Path, std::string &UCRTVersion)
LLVM_ABI bool llvm::findVCToolChainViaCommandLine (vfs::FileSystem &VFS, std::optional< llvm::StringRef > VCToolsDir, std::optional< llvm::StringRef > VCToolsVersion, std::optional< llvm::StringRef > WinSysRoot, std::string &Path, ToolsetLayout &VSLayout)
LLVM_ABI bool llvm::findVCToolChainViaEnvironment (vfs::FileSystem &VFS, std::string &Path, ToolsetLayout &VSLayout)
LLVM_ABI bool llvm::findVCToolChainViaSetupConfig (vfs::FileSystem &VFS, std::optional< llvm::StringRef > VCToolsVersion, std::string &Path, ToolsetLayout &VSLayout)
LLVM_ABI bool llvm::findVCToolChainViaRegistry (std::string &Path, ToolsetLayout &VSLayout)