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

Go to the source code of this file.

Macros

#define AARCH64_CPU_NAME(NAME, ID, DEFAULT_FPU, IS_DEFAULT, DEFAULT_EXT)   .Case(NAME, ARM::DEFAULT_FPU)
 
#define AARCH64_CPU_NAME(NAME, ID, DEFAULT_FPU, IS_DEFAULT, DEFAULT_EXT)
 
#define AARCH64_CPU_NAME(NAME, ID, DEFAULT_FPU, IS_DEFAULT, DEFAULT_EXT)   .Case(NAME, ArchKind::ID)
 

Functions

static unsigned checkArchVersion (llvm::StringRef Arch)
 

Macro Definition Documentation

◆ AARCH64_CPU_NAME [1/3]

#define AARCH64_CPU_NAME (   NAME,
  ID,
  DEFAULT_FPU,
  IS_DEFAULT,
  DEFAULT_EXT 
)    .Case(NAME, ARM::DEFAULT_FPU)

◆ AARCH64_CPU_NAME [2/3]

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

◆ AARCH64_CPU_NAME [3/3]

#define AARCH64_CPU_NAME (   NAME,
  ID,
  DEFAULT_FPU,
  IS_DEFAULT,
  DEFAULT_EXT 
)    .Case(NAME, ArchKind::ID)

Function Documentation

◆ checkArchVersion()

static unsigned checkArchVersion ( llvm::StringRef  Arch)
static

Definition at line 22 of file AArch64TargetParser.cpp.

References llvm::StringRef::size().

Referenced by llvm::AArch64::parseArch().