clang
20.0.0git
|
#include "clang/Sema/SemaPPC.h"
Additional Inherited Members | |
Public Types inherited from clang::SemaBase | |
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... | |
Public Attributes inherited from clang::SemaBase | |
Sema & | SemaRef |
clang::SemaPPC::SemaPPC | ( | Sema & | S | ) |
Definition at line 28 of file SemaPPC.cpp.
bool clang::SemaPPC::BuiltinPPCMMACall | ( | CallExpr * | TheCall, |
unsigned | BuiltinID, | ||
const char * | TypeDesc | ||
) |
BuiltinPPCMMACall - Check the call to a PPC MMA builtin for validity.
Emit an error and return true on failure; return false on success. TypeStr is a string containing the type descriptor of the value returned by the builtin and the descriptors of the expected type of the arguments.
Definition at line 334 of file SemaPPC.cpp.
Definition at line 400 of file SemaPPC.cpp.
References clang::Sema::checkArgCount(), clang::SemaBase::Diag(), clang::CallExpr::getArg(), clang::SemaBase::getASTContext(), clang::CallExpr::getBeginLoc(), clang::Stmt::getBeginLoc(), clang::CallExpr::getDirectCallee(), clang::Stmt::getEndLoc(), clang::Expr::getType(), clang::Type::isDependentType(), clang::Expr::isIntegerConstantExpr(), clang::Type::isVectorType(), clang::SemaBase::SemaRef, and clang::Expr::setType().
void clang::SemaPPC::checkAIXMemberAlignment | ( | SourceLocation | Loc, |
const Expr * | Arg | ||
) |
Definition at line 30 of file SemaPPC.cpp.
References clang::Type::castAs(), clang::SemaBase::Diag(), clang::RecordDecl::fields(), clang::SemaBase::getASTContext(), clang::RecordType::getDecl(), clang::CharUnits::getQuantity(), clang::Expr::getType(), clang::Expr::IgnoreParens(), Loc, and clang::ASTContext::toCharUnitsFromBits().
bool clang::SemaPPC::CheckPPCBuiltinFunctionCall | ( | const TargetInfo & | TI, |
unsigned | BuiltinID, | ||
CallExpr * | TheCall | ||
) |
Definition at line 96 of file SemaPPC.cpp.
bool clang::SemaPPC::CheckPPCMMAType | ( | QualType | Type, |
SourceLocation | TypeLoc | ||
) |
Definition at line 259 of file SemaPPC.cpp.