LLVM  15.0.0git
Namespaces | Enumerations | Functions
MSVCPaths.h File Reference
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Triple.h"
#include <string>
Include dependency graph for MSVCPaths.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Enumerations

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

Functions

const char * llvm::archToWindowsSDKArch (llvm::Triple::ArchType Arch)
 
const char * llvm::archToLegacyVCArch (llvm::Triple::ArchType Arch)
 
const char * llvm::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, llvm::Optional< llvm::StringRef > WinSdkDir, llvm::Optional< llvm::StringRef > WinSdkVersion, llvm::Optional< llvm::StringRef > WinSysRoot, std::string &Path, int &Major, std::string &WindowsSDKIncludeVersion, std::string &WindowsSDKLibVersion)
 Get Windows SDK installation directory. More...
 
bool llvm::getUniversalCRTSdkDir (vfs::FileSystem &VFS, llvm::Optional< llvm::StringRef > WinSdkDir, llvm::Optional< llvm::StringRef > WinSdkVersion, llvm::Optional< llvm::StringRef > WinSysRoot, std::string &Path, std::string &UCRTVersion)
 
bool llvm::findVCToolChainViaCommandLine (vfs::FileSystem &VFS, llvm::Optional< llvm::StringRef > VCToolsDir, llvm::Optional< llvm::StringRef > VCToolsVersion, llvm::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::string &Path, ToolsetLayout &VSLayout)
 
bool llvm::findVCToolChainViaRegistry (std::string &Path, ToolsetLayout &VSLayout)