16 #include "llvm/ADT/StringRef.h" 18 using namespace clang;
27 static constexpr llvm::StringLiteral
ValidCPUNames[] = {
"generic",
"v1",
"v2",
Defines the clang::MacroBuilder utility class.
void fillValidCPUList(SmallVectorImpl< StringRef > &Values) const override
Fill a SmallVectorImpl with the valid values to setCPU.
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
static constexpr llvm::StringLiteral ValidCPUNames[]
bool isValidCPUName(StringRef Name) const override
brief Determine whether this TargetInfo supports the given CPU name.
void getTargetDefines(const LangOptions &Opts, MacroBuilder &Builder) const override
===-— Other target property query methods --------------------——===//
Dataflow Directional Tag Classes.
void defineMacro(const Twine &Name, const Twine &Value="1")
Append a #define line for macro of the form "\#define Name Value\n".