LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
Triple.cpp File Reference
#include "llvm/ADT/Triple.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/ErrorHandling.h"
#include <cstring>
Include dependency graph for Triple.cpp:

Go to the source code of this file.

Functions

static Triple::ArchType parseArch (StringRef ArchName)
 
static Triple::VendorType parseVendor (StringRef VendorName)
 
static Triple::OSType parseOS (StringRef OSName)
 
static Triple::EnvironmentType parseEnvironment (StringRef EnvironmentName)
 
static unsigned EatNumber (StringRef &Str)
 
static unsigned getArchPointerBitWidth (llvm::Triple::ArchType Arch)
 

Function Documentation

static unsigned EatNumber ( StringRef Str)
static

Definition at line 512 of file Triple.cpp.

References llvm::StringRef::empty(), and llvm::StringRef::substr().

Referenced by llvm::Triple::getOSVersion().

static unsigned getArchPointerBitWidth ( llvm::Triple::ArchType  Arch)
static
static Triple::ArchType parseArch ( StringRef  ArchName)
static
static Triple::EnvironmentType parseEnvironment ( StringRef  EnvironmentName)
static
static Triple::OSType parseOS ( StringRef  OSName)
static
static Triple::VendorType parseVendor ( StringRef  VendorName)
static