llvm/llvm/lib/TargetParser/LoongArchTargetParser.cpp

//===-- LoongArchTargetParser - Parser for LoongArch features --*- C++ -*-====//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file implements a target parser to recognise LoongArch hardware features
// such as CPU/ARCH and extension names.
//
//===----------------------------------------------------------------------===//

#include "llvm/TargetParser/LoongArchTargetParser.h"

usingnamespacellvm;
usingnamespacellvm::LoongArch;

const FeatureInfo AllFeatures[] =;

const ArchInfo AllArchs[] =;

bool LoongArch::isValidArchName(StringRef Arch) {}

bool LoongArch::getArchFeatures(StringRef Arch,
                                std::vector<StringRef> &Features) {}

bool LoongArch::isValidCPUName(StringRef Name) {}

void LoongArch::fillValidCPUList(SmallVectorImpl<StringRef> &Values) {}

StringRef LoongArch::getDefaultArch(bool Is64Bit) {}