LLVM 17.0.0git
Macros | Functions
ARMTargetParser.cpp File Reference
#include "llvm/TargetParser/ARMTargetParser.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/TargetParser/ARMTargetParserCommon.h"
#include "llvm/TargetParser/Triple.h"
#include <cctype>
#include "llvm/TargetParser/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 ARM::ProfileKind getProfileKind (ARM::ArchKind AK)
 
static bool stripNegationPrefix (StringRef &Name)
 
static unsigned findDoublePrecisionFPU (unsigned InputFPUKind)
 

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, \
ARMArchNames[static_cast<unsigned>(ArchKind::ID)].ArchBaseExtensions | \
DEFAULT_EXT)

Function Documentation

◆ findDoublePrecisionFPU()

static unsigned findDoublePrecisionFPU ( unsigned  InputFPUKind)
static

◆ getHWDivSynonym()

static StringRef getHWDivSynonym ( StringRef  HWDiv)
static

◆ getProfileKind()

static ARM::ProfileKind getProfileKind ( ARM::ArchKind  AK)
static

Definition at line 94 of file ARMTargetParser.cpp.

References llvm_unreachable.

Referenced by llvm::ARM::convertV9toV8(), and llvm::ARM::parseArchProfile().

◆ stripNegationPrefix()

static bool stripNegationPrefix ( StringRef Name)
static

Definition at line 347 of file ARMTargetParser.cpp.

References Name.

Referenced by llvm::ARM::appendArchExtFeatures(), and llvm::ARM::getArchExtFeature().