#include "NVPTX.h"
#include "Targets.h"
#include "clang/Basic/Builtins.h"
#include "clang/Basic/MacroBuilder.h"
#include "clang/Basic/TargetBuiltins.h"
#include "llvm/ADT/StringSwitch.h"
usingnamespaceclang;
usingnamespaceclang::targets;
static constexpr Builtin::Info BuiltinInfo[] = …;
const char *const NVPTXTargetInfo::GCCRegNames[] = …;
NVPTXTargetInfo::NVPTXTargetInfo(const llvm::Triple &Triple,
const TargetOptions &Opts,
unsigned TargetPointerWidth)
: … { … }
ArrayRef<const char *> NVPTXTargetInfo::getGCCRegNames() const { … }
bool NVPTXTargetInfo::hasFeature(StringRef Feature) const { … }
void NVPTXTargetInfo::getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const { … }
ArrayRef<Builtin::Info> NVPTXTargetInfo::getTargetBuiltins() const { … }