LLVM 20.0.0git
Macros | Functions
CSKYTargetParser.cpp File Reference
#include "llvm/TargetParser/CSKYTargetParser.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/TargetParser/CSKYTargetParser.def"

Go to the source code of this file.

Macros

#define CSKY_CPU_NAME(NAME, ID, DEFAULT_EXT)
 

Functions

static bool stripNegationPrefix (StringRef &Name)
 

Macro Definition Documentation

◆ CSKY_CPU_NAME

#define CSKY_CPU_NAME (   NAME,
  ID,
  DEFAULT_EXT 
)
Value:
.Case(NAME, ARCHNames[static_cast<unsigned>(ArchKind::ID)].archBaseExt | \
DEFAULT_EXT)

Function Documentation

◆ stripNegationPrefix()

static bool stripNegationPrefix ( StringRef Name)
static

Definition at line 152 of file CSKYTargetParser.cpp.

References Name.

Referenced by llvm::CSKY::getArchExtFeature().