#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 { … }