llvm/llvm/lib/TargetParser/CSKYTargetParser.cpp

//===-- TargetParser - Parser for target features ---------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file implements a target parser to recognise CSKY hardware features
// such as CPU/ARCH names.
//
//===----------------------------------------------------------------------===//

#include "llvm/TargetParser/CSKYTargetParser.h"
#include "llvm/ADT/StringSwitch.h"

usingnamespacellvm;

bool CSKY::getFPUFeatures(CSKYFPUKind CSKYFPUKind,
                          std::vector<StringRef> &Features) {}

// ======================================================= //
// Information by ID
// ======================================================= //

StringRef CSKY::getArchName(ArchKind AK) {}

// The default cpu's name is same as arch name.
StringRef CSKY::getDefaultCPU(StringRef Arch) {}

// ======================================================= //
// Parsers
// ======================================================= //
CSKY::ArchKind CSKY::parseArch(StringRef Arch) {}

CSKY::ArchKind CSKY::parseCPUArch(StringRef CPU) {}

uint64_t CSKY::parseArchExt(StringRef ArchExt) {}

void CSKY::fillValidCPUArchList(SmallVectorImpl<StringRef> &Values) {}

StringRef CSKY::getFPUName(unsigned FPUKind) {}

CSKY::FPUVersion CSKY::getFPUVersion(unsigned FPUKind) {}

uint64_t CSKY::getDefaultExtensions(StringRef CPU) {}

StringRef CSKY::getArchExtName(uint64_t ArchExtKind) {}

static bool stripNegationPrefix(StringRef &Name) {}

StringRef CSKY::getArchExtFeature(StringRef ArchExt) {}

bool CSKY::getExtensionFeatures(uint64_t Extensions,
                                std::vector<StringRef> &Features) {}