llvm/clang/lib/Basic/Targets/Hexagon.cpp

//===--- Hexagon.cpp - Implement Hexagon target feature support -----------===//
//
// 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 Hexagon TargetInfo objects.
//
//===----------------------------------------------------------------------===//

#include "Hexagon.h"
#include "Targets.h"
#include "clang/Basic/MacroBuilder.h"
#include "clang/Basic/TargetBuiltins.h"
#include "llvm/ADT/StringSwitch.h"

usingnamespaceclang;
usingnamespaceclang::targets;

void HexagonTargetInfo::getTargetDefines(const LangOptions &Opts,
                                         MacroBuilder &Builder) const {}

bool HexagonTargetInfo::initFeatureMap(
    llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU,
    const std::vector<std::string> &FeaturesVec) const {}

bool HexagonTargetInfo::handleTargetFeatures(std::vector<std::string> &Features,
                                             DiagnosticsEngine &Diags) {}

const char *const HexagonTargetInfo::GCCRegNames[] =;

ArrayRef<const char *> HexagonTargetInfo::getGCCRegNames() const {}

const TargetInfo::GCCRegAlias HexagonTargetInfo::GCCRegAliases[] =;

ArrayRef<TargetInfo::GCCRegAlias> HexagonTargetInfo::getGCCRegAliases() const {}

static constexpr Builtin::Info BuiltinInfo[] =;

bool HexagonTargetInfo::hasFeature(StringRef Feature) const {}

struct CPUSuffix {};

static constexpr CPUSuffix Suffixes[] =;

std::optional<unsigned> HexagonTargetInfo::getHexagonCPURev(StringRef Name) {}

const char *HexagonTargetInfo::getHexagonCPUSuffix(StringRef Name) {}

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

ArrayRef<Builtin::Info> HexagonTargetInfo::getTargetBuiltins() const {}