LLVM API Documentation

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 Triple::ObjectFormatType parseFormat (StringRef EnvironmentName)
static Triple::SubArchType parseSubArch (StringRef SubArchName)
static const char * getObjectFormatTypeName (Triple::ObjectFormatType Kind)
static Triple::ObjectFormatType getDefaultFormat (const Triple &T)
static unsigned EatNumber (StringRef &Str)
static unsigned getArchPointerBitWidth (llvm::Triple::ArchType Arch)

Function Documentation

static unsigned EatNumber ( StringRef Str) [static]

Definition at line 620 of file Triple.cpp.

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

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

static const char* getObjectFormatTypeName ( Triple::ObjectFormatType  Kind) [static]
static Triple::ArchType parseArch ( StringRef  ArchName) [static]
static Triple::EnvironmentType parseEnvironment ( StringRef  EnvironmentName) [static]
static Triple::ObjectFormatType parseFormat ( StringRef  EnvironmentName) [static]
static Triple::OSType parseOS ( StringRef  OSName) [static]
static Triple::SubArchType parseSubArch ( StringRef  SubArchName) [static]
static Triple::VendorType parseVendor ( StringRef  VendorName) [static]