|
clang 23.0.0git
|
#include "clang/Sema/SemaPPC.h"
Additional Inherited Members | |
| Public Attributes inherited from clang::SemaBase | |
| Sema & | SemaRef |
| clang::SemaPPC::SemaPPC | ( | Sema & | S | ) |
Definition at line 30 of file SemaPPC.cpp.
References clang::SemaBase::SemaBase().
| 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 489 of file SemaPPC.cpp.
References clang::DecodePPCMMATypeFromStr(), clang::SemaBase::Diag(), clang::CallExpr::getArg(), clang::SemaBase::getASTContext(), clang::Stmt::getBeginLoc(), clang::QualType::getCanonicalType(), clang::CallExpr::getNumArgs(), clang::Expr::getType(), clang::QualType::getUnqualifiedType(), clang::Type::isArrayType(), clang::Type::isPointerType(), clang::QualType::isRestrictQualified(), clang::QualType::isVolatileQualified(), clang::SemaBase::SemaRef, clang::Expr::setType(), and clang::ast_matchers::type.
Definition at line 555 of file SemaPPC.cpp.
References 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().
Referenced by CheckPPCBuiltinFunctionCall().
| void clang::SemaPPC::checkAIXMemberAlignment | ( | SourceLocation | Loc, |
| const Expr * | Arg ) |
Definition at line 32 of file SemaPPC.cpp.
References clang::SemaBase::Diag(), clang::SemaBase::getASTContext(), clang::CharUnits::getQuantity(), clang::Expr::getType(), clang::Expr::IgnoreParens(), and clang::ASTContext::toCharUnitsFromBits().
Referenced by clang::Sema::checkCall().
| bool clang::SemaPPC::CheckPPCBuiltinFunctionCall | ( | const TargetInfo & | TI, |
| unsigned | BuiltinID, | ||
| CallExpr * | TheCall ) |
Definition at line 113 of file SemaPPC.cpp.
References clang::AltiVecVector, BuiltinVSX(), clang::SemaBase::Diag(), clang::Builtin::evaluateRequiredTargetFeatures(), clang::CallExpr::getArg(), clang::SemaBase::getASTContext(), clang::CallExpr::getBeginLoc(), clang::Stmt::getBeginLoc(), clang::NamedDecl::getDeclName(), clang::CallExpr::getDirectCallee(), clang::Expr::getIntegerConstantExpr(), clang::TargetInfo::getIntPtrType(), clang::TargetInfo::getLongDoubleFormat(), clang::CallExpr::getNumArgs(), clang::Stmt::getSourceRange(), clang::Expr::getType(), clang::TargetInfo::getTypeWidth(), clang::Type::isIntegerType(), clang::isPPC_64Builtin(), clang::Result, clang::SemaBase::SemaRef, and toString().
| bool clang::SemaPPC::CheckPPCMMAType | ( | QualType | Type, |
| SourceLocation | TypeLoc ) |
Definition at line 414 of file SemaPPC.cpp.
References clang::SemaBase::Diag(), clang::SemaBase::getASTContext(), clang::Type::isArrayType(), and clang::Type::isPointerType().
Referenced by clang::Sema::BuildCXXThrow().
| bool clang::SemaPPC::checkTargetClonesAttr | ( | const SmallVectorImpl< StringRef > & | Params, |
| const SmallVectorImpl< SourceLocation > & | Locs, | ||
| SmallVectorImpl< SmallString< 64 > > & | NewParams, | ||
| SourceLocation | AttrLoc ) |
Definition at line 597 of file SemaPPC.cpp.
References clang::SemaBase::Diag(), clang::SemaBase::getASTContext(), clang::SourceLocation::getLocWithOffset(), clang::ASTContext::getTargetInfo(), clang::TargetInfo::isValidCPUName(), clang::None, clang::TargetClones, clang::Unknown, and clang::TargetInfo::validateCpuIs().
Referenced by handleTargetClonesAttr().