#include "clang/Sema/SemaRISCV.h"
Definition at line 32 of file SemaRISCV.h.
◆ SemaRISCV() ◆ CheckBuiltinFunctionCall()Definition at line 552 of file SemaRISCV.cpp.
References clang::Sema::BuiltinConstantArgRange(), clang::Type::castAs(), clang::Sema::checkArgCountAtLeast(), clang::Sema::checkArgCountAtMost(), clang::CheckInvalidVLENandLMUL(), CheckLMUL(), clang::Sema::DefaultFunctionArrayLvalueConversion(), clang::SemaBase::Diag(), clang::ASTContext::BuiltinVectorTypeInfo::EC, clang::ASTContext::BuiltinVectorTypeInfo::ElementType, clang::ActionResult< PtrTy, Compress >::get(), clang::CallExpr::getArg(), clang::Type::getAs(), clang::SemaBase::getASTContext(), clang::DeclRefExpr::getBeginLoc(), clang::CallExpr::getBeginLoc(), clang::ASTContext::getBuiltinVectorTypeInfo(), clang::CallExpr::getCallee(), clang::QualType::getCanonicalType(), clang::Sema::getCurFunctionDecl(), clang::ASTContext::getFunctionFeatureMap(), clang::CallExpr::getNumArgs(), clang::PointerType::getPointeeType(), clang::Stmt::getSourceRange(), clang::Expr::getType(), clang::QualType::getTypePtr(), clang::ASTContext::getTypeSize(), clang::QualType::getUnqualifiedType(), clang::TargetInfo::hasFeature(), clang::Expr::IgnoreParenCasts(), clang::InitializedEntity::InitializeParameter(), clang::Type::isAnyPointerType(), clang::Type::isBlockPointerType(), clang::Type::isFloatingType(), clang::Type::isIntegerType(), clang::ActionResult< PtrTy, Compress >::isInvalid(), clang::Type::isRVVSizelessBuiltinType(), clang::Type::isVectorType(), clang::ASTContext::BuiltinVectorTypeInfo::NumVectors, clang::Sema::PerformCopyInitialization(), clang::SemaBase::SemaRef, clang::CallExpr::setArg(), clang::Expr::setType(), and clang::ASTContext::VoidTy.
◆ CheckLMUL() ◆ checkRVVTypeSupport()Definition at line 1372 of file SemaRISCV.cpp.
References clang::Type::castAs(), clang::Sema::Context, D, clang::SemaBase::Diag(), clang::ASTContext::BuiltinVectorTypeInfo::EC, clang::ASTContext::BuiltinVectorTypeInfo::ElementType, clang::ASTContext::getBuiltinVectorTypeInfo(), clang::ASTContext::getTypeSize(), clang::Type::isBFloat16Type(), clang::Type::isFloat16Type(), clang::Type::isIntegerType(), clang::Type::isSpecificBuiltinType(), Loc, and clang::SemaBase::SemaRef.
Referenced by clang::Sema::CheckVariableDeclarationType().
◆ handleInterruptAttr() void clang::SemaRISCV::handleInterruptAttr ( Decl * D, const ParsedAttr & AL )Definition at line 1424 of file SemaRISCV.cpp.
References clang::Decl::addAttr(), clang::ParsedAttr::checkAtMostNumArgs(), clang::Sema::checkStringLiteralArgumentAttr(), D, clang::SemaBase::Diag(), clang::ExpectedFunction, clang::SemaBase::getASTContext(), clang::Decl::getAttr(), clang::SourceRange::getBegin(), clang::getFunctionOrMethodNumParams(), clang::getFunctionOrMethodResultType(), clang::Decl::getFunctionType(), clang::AttributeCommonInfo::getLoc(), clang::Decl::getLocation(), clang::ParsedAttr::getNumArgs(), clang::AttributeCommonInfo::getRange(), clang::hasFunctionProto(), clang::AttributeCommonInfo::isRegularKeywordAttribute(), and clang::SemaBase::SemaRef.
Referenced by handleInterruptAttr().
◆ isAliasValid() bool clang::SemaRISCV::isAliasValid ( unsigned BuiltinID, llvm::StringRef AliasName ) ◆ isValidFMVExtension() bool clang::SemaRISCV::isValidFMVExtension ( StringRef Ext )Definition at line 1487 of file SemaRISCV.cpp.
◆ isValidRVVBitcast() ◆ DeclareRVVBuiltins bool clang::SemaRISCV::DeclareRVVBuiltins = falseIndicate RISC-V vector builtin functions enabled or not.
Definition at line 49 of file SemaRISCV.h.
◆ DeclareSiFiveVectorBuiltins bool clang::SemaRISCV::DeclareSiFiveVectorBuiltins = falseIndicate RISC-V SiFive vector builtin functions enabled or not.
Definition at line 52 of file SemaRISCV.h.
◆ IntrinsicManagerThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4