#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 {
static const char *const DataLayoutStringR600 = …;
static const char *const DataLayoutStringAMDGCN = …;
const LangASMap AMDGPUTargetInfo::AMDGPUDefIsGenMap = …;
const LangASMap AMDGPUTargetInfo::AMDGPUDefIsPrivMap = …;
}
}
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) { … }