LLVM  10.0.0svn
Macros | Functions
ARMTargetParser.cpp File Reference
#include "llvm/Support/ARMTargetParser.h"
#include "llvm/ADT/StringSwitch.h"
#include <cctype>
#include "llvm/Support/ARMTargetParser.def"
Include dependency graph for ARMTargetParser.cpp:

Go to the source code of this file.

Macros

#define ARM_CPU_NAME(NAME, ID, DEFAULT_FPU, IS_DEFAULT, DEFAULT_EXT)   .Case(NAME, DEFAULT_FPU)
 
#define ARM_CPU_NAME(NAME, ID, DEFAULT_FPU, IS_DEFAULT, DEFAULT_EXT)
 

Functions

static StringRef getHWDivSynonym (StringRef HWDiv)
 
static bool stripNegationPrefix (StringRef &Name)
 
static unsigned findDoublePrecisionFPU (unsigned InputFPUKind)
 
static unsigned getAEKID (StringRef ArchExtName)
 

Macro Definition Documentation

◆ ARM_CPU_NAME [1/2]

#define ARM_CPU_NAME (   NAME,
  ID,
  DEFAULT_FPU,
  IS_DEFAULT,
  DEFAULT_EXT 
)    .Case(NAME, DEFAULT_FPU)

◆ ARM_CPU_NAME [2/2]

#define ARM_CPU_NAME (   NAME,
  ID,
  DEFAULT_FPU,
  IS_DEFAULT,
  DEFAULT_EXT 
)
Value:
.Case(NAME, \
ARCHNames[static_cast<unsigned>(ArchKind::ID)].ArchBaseExtensions | \
DEFAULT_EXT)
static const ArchNames< ArchKind > ARCHNames[]

Function Documentation

◆ findDoublePrecisionFPU()

static unsigned findDoublePrecisionFPU ( unsigned  InputFPUKind)
static

◆ getAEKID()

static unsigned getAEKID ( StringRef  ArchExtName)
static

◆ getHWDivSynonym()

static StringRef getHWDivSynonym ( StringRef  HWDiv)
static

Definition at line 20 of file ARMTargetParser.cpp.

References llvm::StringSwitch< T, R >::Default().

Referenced by llvm::ARM::parseHWDiv().

◆ stripNegationPrefix()

static bool stripNegationPrefix ( StringRef Name)
static