LLVM 20.0.0git
Namespaces | Enumerations | Functions
MSVCPaths.h File Reference
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.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

const charllvm::archToWindowsSDKArch (llvm::Triple::ArchType Arch)
 
const charllvm::archToLegacyVCArch (llvm::Triple::ArchType Arch)
 
const charllvm::archToDevDivInternalArch (llvm::Triple::ArchType Arch)
 
bool llvm::appendArchToWindowsSDKLibPath (int SDKMajor, llvm::SmallString< 128 > LibPath, llvm::Triple::ArchType Arch, std::string &path)
 
std::string llvm::getSubDirectoryPath (SubDirectoryType Type, ToolsetLayout VSLayout, const std::string &VCToolChainPath, llvm::Triple::ArchType TargetArch, llvm::StringRef SubdirParent="")
 
bool llvm::useUniversalCRT (ToolsetLayout VSLayout, const std::string &VCToolChainPath, llvm::Triple::ArchType TargetArch, llvm::vfs::FileSystem &VFS)
 
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.
 
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)
 
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)
 
bool llvm::findVCToolChainViaEnvironment (vfs::FileSystem &VFS, std::string &Path, ToolsetLayout &VSLayout)
 
bool llvm::findVCToolChainViaSetupConfig (vfs::FileSystem &VFS, std::optional< llvm::StringRef > VCToolsVersion, std::string &Path, ToolsetLayout &VSLayout)
 
bool llvm::findVCToolChainViaRegistry (std::string &Path, ToolsetLayout &VSLayout)