LLVM  6.0.0svn
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 "llvm/Support/Host.h"
#include "llvm/Support/TargetParser.h"
#include <cstring>
Include dependency graph for Triple.cpp:

Go to the source code of this file.

Functions

static Triple::ArchType parseBPFArch (StringRef ArchName)
 
static Triple::ArchType parseARMArch (StringRef ArchName)
 
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 StringRef getObjectFormatTypeName (Triple::ObjectFormatType Kind)
 
static Triple::ObjectFormatType getDefaultFormat (const Triple &T)
 
static unsigned EatNumber (StringRef &Str)
 
static void parseVersionFromName (StringRef Name, unsigned &Major, unsigned &Minor, unsigned &Micro)
 
static unsigned getArchPointerBitWidth (llvm::Triple::ArchType Arch)
 

Function Documentation

◆ EatNumber()

static unsigned EatNumber ( StringRef Str)
static

Definition at line 964 of file Triple.cpp.

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

Referenced by parseVersionFromName().

◆ getArchPointerBitWidth()

static unsigned getArchPointerBitWidth ( llvm::Triple::ArchType  Arch)
static

◆ getDefaultFormat()

static Triple::ObjectFormatType getDefaultFormat ( const Triple T)
static

◆ getObjectFormatTypeName()

static StringRef getObjectFormatTypeName ( Triple::ObjectFormatType  Kind)
static

◆ parseArch()

static Triple::ArchType parseArch ( StringRef  ArchName)
static

◆ parseARMArch()

static Triple::ArchType parseARMArch ( StringRef  ArchName)
static

◆ parseBPFArch()

static Triple::ArchType parseBPFArch ( StringRef  ArchName)
static

◆ parseEnvironment()

static Triple::EnvironmentType parseEnvironment ( StringRef  EnvironmentName)
static

◆ parseFormat()

static Triple::ObjectFormatType parseFormat ( StringRef  EnvironmentName)
static

◆ parseOS()

static Triple::OSType parseOS ( StringRef  OSName)
static

◆ parseSubArch()

static Triple::SubArchType parseSubArch ( StringRef  SubArchName)
static

◆ parseVendor()

static Triple::VendorType parseVendor ( StringRef  VendorName)
static

◆ parseVersionFromName()

static void parseVersionFromName ( StringRef  Name,
unsigned Major,
unsigned Minor,
unsigned Micro 
)
static