LLVM  8.0.1
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)
 

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

◆ getHWDivSynonym()

static StringRef getHWDivSynonym ( StringRef  HWDiv)
static

Definition at line 21 of file ARMTargetParser.cpp.

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

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