clang
19.0.0git
|
#include "clang/Sema/SemaRISCV.h"
Public Attributes | |
bool | DeclareRVVBuiltins = false |
Indicate RISC-V vector builtin functions enabled or not. More... | |
bool | DeclareSiFiveVectorBuiltins = false |
Indicate RISC-V SiFive vector builtin functions enabled or not. More... | |
std::unique_ptr< sema::RISCVIntrinsicManager > | IntrinsicManager |
![]() | |
Sema & | SemaRef |
Additional Inherited Members | |
![]() | |
enum class | DeviceDiagnosticReason { None = 0 , OmpDevice = 1 << 0 , OmpHost = 1 << 1 , OmpAll = OmpDevice | OmpHost , CudaDevice = 1 << 2 , CudaHost = 1 << 3 , CudaAll = CudaDevice | CudaHost , Sycl = 1 << 4 , Esimd = 1 << 5 , All = OmpAll | CudaAll | Sycl | Esimd } |
Bitmask to contain the list of reasons a single diagnostic should be emitted, based on its language. More... | |
Definition at line 27 of file SemaRISCV.h.
clang::SemaRISCV::SemaRISCV | ( | Sema & | S | ) |
Definition at line 1425 of file SemaRISCV.cpp.
bool clang::SemaRISCV::CheckBuiltinFunctionCall | ( | const TargetInfo & | TI, |
unsigned | BuiltinID, | ||
CallExpr * | TheCall | ||
) |
Definition at line 557 of file SemaRISCV.cpp.
Definition at line 507 of file SemaRISCV.cpp.
References Diag(), clang::CallExpr::getArg(), clang::CallExpr::getBeginLoc(), clang::Stmt::getSourceRange(), clang::Expr::isTypeDependent(), and clang::Expr::isValueDependent().
void clang::SemaRISCV::checkRVVTypeSupport | ( | QualType | Ty, |
SourceLocation | Loc, | ||
Decl * | D, | ||
const llvm::StringMap< bool > & | FeatureMap | ||
) |
Definition at line 1372 of file SemaRISCV.cpp.
References clang::Type::castAs(), Diag(), clang::ASTContext::BuiltinVectorTypeInfo::EC, clang::ASTContext::BuiltinVectorTypeInfo::ElementType, clang::RISCV::Float, clang::Type::isBFloat16Type(), clang::Type::isFloat16Type(), clang::Type::isIntegerType(), clang::Type::isSpecificBuiltinType(), and Loc.
Are the two types RVV-bitcast-compatible types? I.e.
is bitcasting from the first RVV type (e.g. an RVV scalable type) to the second type (e.g. an RVV VLS type) allowed?
This will also return false if the two given types do not make sense from the perspective of RVV bitcasts.
Definition at line 1410 of file SemaRISCV.cpp.
References clang::VectorType::getVectorKind(), clang::Type::isRVVSizelessBuiltinType(), and clang::Type::isVectorType().
Indicate RISC-V vector builtin functions enabled or not.
Definition at line 40 of file SemaRISCV.h.
Indicate RISC-V SiFive vector builtin functions enabled or not.
Definition at line 43 of file SemaRISCV.h.
std::unique_ptr<sema::RISCVIntrinsicManager> clang::SemaRISCV::IntrinsicManager |
Definition at line 45 of file SemaRISCV.h.