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

//===--- AMDGPU.cpp - Implement AMDGPU 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 AMDGPU TargetInfo objects.
//
//===----------------------------------------------------------------------===//

#include "AMDGPU.h"
#include "clang/Basic/Builtins.h"
#include "clang/Basic/CodeGenOptions.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/MacroBuilder.h"
#include "clang/Basic/TargetBuiltins.h"
#include "llvm/ADT/SmallString.h"
usingnamespaceclang;
usingnamespaceclang::targets;

namespace clang {
namespace targets {

// If you edit the description strings, make sure you update
// getPointerWidthV().

static const char *const DataLayoutStringR600 =;

static const char *const DataLayoutStringAMDGCN =;

const LangASMap AMDGPUTargetInfo::AMDGPUDefIsGenMap =;

const LangASMap AMDGPUTargetInfo::AMDGPUDefIsPrivMap =;
} // namespace targets
} // namespace clang

static constexpr Builtin::Info BuiltinInfo[] =;

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

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

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

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

void AMDGPUTargetInfo::setAddressSpaceMap(bool DefaultIsPrivate) {}

AMDGPUTargetInfo::AMDGPUTargetInfo(const llvm::Triple &Triple,
                                   const TargetOptions &Opts)
    :{}

void AMDGPUTargetInfo::adjust(DiagnosticsEngine &Diags, LangOptions &Opts) {}

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

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

void AMDGPUTargetInfo::setAuxTarget(const TargetInfo *Aux) {}