clang 20.0.0git
|
#include "RISCV.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/MacroBuilder.h"
#include "clang/Basic/TargetBuiltins.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TargetParser/RISCVTargetParser.h"
#include <optional>
#include "clang/Basic/BuiltinsRISCVVector.def"
#include "clang/Basic/BuiltinsRISCV.inc"
Go to the source code of this file.
Macros | |
#define | BUILTIN(ID, TYPE, ATTRS) {#ID, TYPE, ATTRS, nullptr, HeaderDesc::NO_HEADER, ALL_LANGUAGES}, |
#define | TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE) {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::NO_HEADER, ALL_LANGUAGES}, |
#define | BUILTIN(ID, TYPE, ATTRS) {#ID, TYPE, ATTRS, nullptr, HeaderDesc::NO_HEADER, ALL_LANGUAGES}, |
#define | TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE) {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::NO_HEADER, ALL_LANGUAGES}, |
Functions | |
static unsigned | getVersionValue (unsigned MajorVersion, unsigned MinorVersion) |
static void | populateNegativeRISCVFeatures (std::vector< std::string > &Features) |
static void | handleFullArchString (StringRef FullArchStr, std::vector< std::string > &Features) |
Variables | |
static constexpr Builtin::Info | BuiltinInfo [] |
#define BUILTIN | ( | ID, | |
TYPE, | |||
ATTRS | |||
) | {#ID, TYPE, ATTRS, nullptr, HeaderDesc::NO_HEADER, ALL_LANGUAGES}, |
#define BUILTIN | ( | ID, | |
TYPE, | |||
ATTRS | |||
) | {#ID, TYPE, ATTRS, nullptr, HeaderDesc::NO_HEADER, ALL_LANGUAGES}, |
#define TARGET_BUILTIN | ( | ID, | |
TYPE, | |||
ATTRS, | |||
FEATURE | |||
) | {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::NO_HEADER, ALL_LANGUAGES}, |
#define TARGET_BUILTIN | ( | ID, | |
TYPE, | |||
ATTRS, | |||
FEATURE | |||
) | {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::NO_HEADER, ALL_LANGUAGES}, |
Definition at line 142 of file RISCV.cpp.
Referenced by clang::targets::RISCVTargetInfo::getTargetDefines().
|
static |
Definition at line 401 of file RISCV.cpp.
References populateNegativeRISCVFeatures().
Referenced by clang::targets::RISCVTargetInfo::parseTargetAttr().
|
static |
Definition at line 389 of file RISCV.cpp.
Referenced by handleFullArchString().
|
staticconstexpr |