#include "Sparc.h"
#include "Targets.h"
#include "clang/Basic/MacroBuilder.h"
#include "llvm/ADT/StringSwitch.h"
usingnamespaceclang;
usingnamespaceclang::targets;
const char *const SparcTargetInfo::GCCRegNames[] = …;
ArrayRef<const char *> SparcTargetInfo::getGCCRegNames() const { … }
const TargetInfo::GCCRegAlias SparcTargetInfo::GCCRegAliases[] = …;
ArrayRef<TargetInfo::GCCRegAlias> SparcTargetInfo::getGCCRegAliases() const { … }
bool SparcTargetInfo::hasFeature(StringRef Feature) const { … }
struct SparcCPUInfo { … };
static constexpr SparcCPUInfo CPUInfo[] = …;
SparcTargetInfo::CPUGeneration
SparcTargetInfo::getCPUGeneration(CPUKind Kind) const { … }
SparcTargetInfo::CPUKind SparcTargetInfo::getCPUKind(StringRef Name) const { … }
void SparcTargetInfo::fillValidCPUList(
SmallVectorImpl<StringRef> &Values) const { … }
void SparcTargetInfo::getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const { … }
void SparcV8TargetInfo::getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const { … }
void SparcV9TargetInfo::getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const { … }
void SparcV9TargetInfo::fillValidCPUList(
SmallVectorImpl<StringRef> &Values) const { … }