#include "BPF.h"
#include "Targets.h"
#include "clang/Basic/MacroBuilder.h"
#include "clang/Basic/TargetBuiltins.h"
#include "llvm/ADT/StringRef.h"
usingnamespaceclang;
usingnamespaceclang::targets;
static constexpr Builtin::Info BuiltinInfo[] = …;
void BPFTargetInfo::getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const { … }
static constexpr llvm::StringLiteral ValidCPUNames[] = …;
bool BPFTargetInfo::isValidCPUName(StringRef Name) const { … }
void BPFTargetInfo::fillValidCPUList(SmallVectorImpl<StringRef> &Values) const { … }
ArrayRef<Builtin::Info> BPFTargetInfo::getTargetBuiltins() const { … }
bool BPFTargetInfo::handleTargetFeatures(std::vector<std::string> &Features,
DiagnosticsEngine &Diags) { … }