clang 20.0.0git
Namespaces | Macros | Enumerations | Functions
SemaARM.cpp File Reference
#include "clang/Sema/SemaARM.h"
#include "clang/Basic/DiagnosticSema.h"
#include "clang/Basic/TargetBuiltins.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Sema/Initialization.h"
#include "clang/Sema/ParsedAttr.h"
#include "clang/Sema/Sema.h"
#include "clang/Basic/arm_sme_builtins_za_state.inc"
#include "clang/Basic/arm_sme_streaming_attrs.inc"
#include "clang/Basic/arm_sme_sema_rangechecks.inc"
#include "clang/Basic/arm_sve_streaming_attrs.inc"
#include "clang/Basic/arm_sve_sema_rangechecks.inc"
#include "clang/Basic/arm_neon.inc"
#include "clang/Basic/arm_fp16.inc"
#include "clang/Basic/arm_mve_builtin_sema.inc"
#include "clang/Basic/arm_cde_builtin_sema.inc"
#include "clang/Basic/arm_mve_builtin_aliases.inc"
#include "clang/Basic/arm_cde_builtin_aliases.inc"

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

Macros

#define GET_SME_BUILTIN_GET_STATE
 
#define GET_SME_STREAMING_ATTRS
 
#define GET_SME_IMMEDIATE_CHECK
 
#define GET_SVE_STREAMING_ATTRS
 
#define GET_SVE_IMMEDIATE_CHECK
 
#define GET_NEON_BUILTINS
 
#define TARGET_BUILTIN(id, ...)   case NEON::BI##id:
 
#define BUILTIN(id, ...)   case NEON::BI##id:
 
#define GET_NEON_OVERLOAD_CHECK
 
#define GET_NEON_IMMEDIATE_CHECK
 

Enumerations

enum  clang::ArmSMEState : unsigned {
  clang::ArmNoState = 0 , clang::ArmInZA = 0b01 , clang::ArmOutZA = 0b10 , clang::ArmInOutZA = 0b11 ,
  clang::ArmZAMask = 0b11 , clang::ArmInZT0 = 0b01 << 2 , clang::ArmOutZT0 = 0b10 << 2 , clang::ArmInOutZT0 = 0b11 << 2 ,
  clang::ArmZT0Mask = 0b11 << 2
}
 

Functions

static unsigned clang::RFT (unsigned t, bool shift=false, bool ForceQuad=false)
 
static QualType clang::getNeonEltType (NeonTypeFlags Flags, ASTContext &Context, bool IsPolyUnsigned, bool IsInt64Long)
 getNeonEltType - Return the QualType corresponding to the elements of the vector type specified by the NeonTypeFlags.
 
SemaARM::ArmStreamingType clang::getArmStreamingFnType (const FunctionDecl *FD)
 
static bool clang::checkArmStreamingBuiltin (Sema &S, CallExpr *TheCall, const FunctionDecl *FD, SemaARM::ArmStreamingType BuiltinType, unsigned BuiltinID)
 
static bool clang::hasArmZAState (const FunctionDecl *FD)
 
static bool clang::hasArmZT0State (const FunctionDecl *FD)
 
static ArmSMEState clang::getSMEState (unsigned BuiltinID)
 
static bool clang::BuiltinAliasValid (unsigned BuiltinID, StringRef AliasName, ArrayRef< IntrinToName > Map, const char *IntrinNames)
 
static bool clang::checkNewAttrMutualExclusion (Sema &S, const ParsedAttr &AL, const FunctionProtoType *FPT, FunctionType::ArmStateValue CurrentState, StringRef StateName)
 

Macro Definition Documentation

◆ BUILTIN

#define BUILTIN (   id,
  ... 
)    case NEON::BI##id:

◆ GET_NEON_BUILTINS

#define GET_NEON_BUILTINS

◆ GET_NEON_IMMEDIATE_CHECK

#define GET_NEON_IMMEDIATE_CHECK

◆ GET_NEON_OVERLOAD_CHECK

#define GET_NEON_OVERLOAD_CHECK

◆ GET_SME_BUILTIN_GET_STATE

#define GET_SME_BUILTIN_GET_STATE

◆ GET_SME_IMMEDIATE_CHECK

#define GET_SME_IMMEDIATE_CHECK

◆ GET_SME_STREAMING_ATTRS

#define GET_SME_STREAMING_ATTRS

◆ GET_SVE_IMMEDIATE_CHECK

#define GET_SVE_IMMEDIATE_CHECK

◆ GET_SVE_STREAMING_ATTRS

#define GET_SVE_STREAMING_ATTRS

◆ TARGET_BUILTIN

#define TARGET_BUILTIN (   id,
  ... 
)    case NEON::BI##id:

Variable Documentation

◆ FullName

int32_t FullName

◆ Id

uint32_t Id

Definition at line 1144 of file SemaARM.cpp.

Referenced by clang::Sema::ActOnEnumConstant(), clang::Sema::ActOnIdExpression(), clang::Sema::actOnLambdaInitCaptureInitialization(), clang::Sema::ActOnMemberAccessExpr(), clang::SemaOpenMP::ActOnOpenMPIdExpression(), clang::Sema::ActOnTagTemplateIdType(), clang::LambdaIntroducer::addCapture(), clang::driver::types::appendSuffixForType(), argumentDependentLookup(), clang::Sema::BuildBuiltinCallExpr(), buildCaptureDecl(), clang::Sema::buildLambdaInitCaptureInitialization(), clang::SemaObjC::BuildObjCExceptionDecl(), clang::BuiltinAliasValid(), clang::driver::types::canLipoType(), clang::driver::types::canTypeBeUserSpecified(), checkConfigMacro(), clang::Sema::CheckEnumConstant(), clang::SemaCodeCompletion::CodeCompleteAfterFunctionEquals(), clang::SemaCodeCompletion::CodeCompleteObjCMethodDecl(), TypeInfo::PhasesBitSet::contains(), clang::NamespaceDecl::Create(), clang::ObjCCategoryImplDecl::Create(), clang::OMPCapturedExprDecl::Create(), clang::ObjCProtocolDecl::Create(), clang::ObjCCategoryDecl::Create(), clang::BindingDecl::Create(), clang::ImplicitParamDecl::Create(), clang::IndirectFieldDecl::Create(), clang::ObjCPropertyDecl::Create(), clang::ObjCCompatibleAliasDecl::Create(), clang::VarDecl::Create(), clang::ParmVarDecl::Create(), clang::TypedefDecl::Create(), clang::TypeAliasDecl::Create(), clang::EnumDecl::Create(), clang::ObjCAtDefsFieldDecl::Create(), clang::EnumConstantDecl::Create(), clang::ObjCIvarDecl::Create(), clang::ObjCInterfaceDecl::Create(), clang::TemplateTypeParmDecl::Create(), clang::TemplateTemplateParmDecl::Create(), clang::FieldDecl::Create(), clang::NonTypeTemplateParmDecl::Create(), clang::CXXRecordDecl::Create(), clang::RecordDecl::Create(), clang::Sema::createLambdaInitCaptureVarDecl(), clang::ento::ExplodedGraph::createUncachedNode(), clang::Sema::DecomposeUnqualifiedId(), clang::HeaderMapImpl::dump(), clang::ento::ExplodedNode::ExplodedNode(), clang::transformer::expression(), clang::diff::SyntaxTree::findPositionInParent(), clang::diff::SyntaxTree::Impl::findPositionInParent(), clang::ObjCImplDecl::FindPropertyImplDecl(), formatModuleId(), clang::MangleContext::getAnonymousStructId(), GetAssumedMessageSendExprType(), clang::ASTContext::GetBuiltinType(), clang::driver::types::getCompilationPhases(), clang::driver::InputAction::getId(), clang::ento::ExplodedNode::getID(), clang::diff::Subtree::getIdInRoot(), clang::ObjCContainerDecl::getIvarDecl(), clang::getLastArgIntValue(), clang::getLastArgUInt64Value(), clang::diff::Subtree::getLeftMostDescendant(), clang::diff::ASTDiff::Impl::getMapped(), clang::diff::ASTDiff::getMapped(), clang::diff::SyntaxTree::Impl::getMutableNode(), getNode(), clang::diff::SyntaxTree::getNode(), clang::diff::SyntaxTree::Impl::getNode(), clang::diff::Subtree::getNode(), clang::diff::SyntaxTree::getNodeValue(), clang::diff::SyntaxTree::Impl::getNodeValue(), clang::diff::Subtree::getNodeValue(), clang::diff::SyntaxTree::Impl::getNumberOfDescendants(), clang::SemaObjC::getObjCInterfaceDecl(), clang::CodeCompletionResult::getOrderedName(), clang::driver::phases::getPhaseName(), clang::driver::types::getPrecompiledType(), clang::driver::types::getPreprocessedType(), clang::ObjCContainerDecl::getProperty(), clang::diff::getSubtreePostorder(), clang::Sema::getTemplateArgumentBindingsText(), clang::driver::types::getTypeName(), clang::driver::types::getTypeTempSuffix(), clang::transformer::ifBound(), clang::Sema::Initialize(), clang::driver::types::isAcceptedByClang(), clang::driver::types::isAcceptedByFlang(), clang::driver::types::isCuda(), clang::driver::types::isCXX(), clang::driver::types::isDerivedFromC(), clang::driver::types::isHIP(), clang::driver::types::isHLSL(), clang::diff::SyntaxTree::Impl::isInSubtree(), clang::driver::types::isLLVMIR(), clang::Preprocessor::isMacroDefined(), clang::NSAPI::isMacroDefined(), clang::driver::types::isObjC(), clang::driver::types::isOpenCL(), isPreprocessedHeaderUnitType(), isPreprocessedModuleType(), clang::driver::types::isSrcFile(), clang::diff::SyntaxTree::Impl::isValidNodeId(), clang::driver::types::lookupCXXTypeForCType(), clang::driver::types::lookupHeaderTypeForSourceType(), clang::Sema::LookupInlineAsmIdentifier(), clang::SemaOpenMP::lookupOpenMPDeclareTargetName(), clang::driver::types::lookupTypeForTypeSpecifier(), clang::MacroPPCallbacks::MacroDefined(), clang::MacroPPCallbacks::MacroUndefined(), clang::transformer::notBoundError(), clang::driver::types::onlyPrecompileType(), clang::diff::SNodeId::operator int(), clang::diff::SNodeId::operator+(), clang::diff::SNodeId::operator++(), clang::diff::SNodeId::operator--(), parseId(), clang::Parser::ParseMSAsmIdentifier(), parseRangeSelectorImpl(), parseStringId(), clang::Parser::ParseUnqualifiedId(), TypeInfo::PhasesBitSet::PhasesBitSet(), clang::Module::print(), printNode(), clang::Sema::ProcessPragmaWeak(), clang::ento::mpi::Request::Profile(), clang::ASTReader::ReadAST(), clang::TreeTransform< Derived >::RebuildDependentNameType(), clang::TreeTransform< Derived >::RebuildExceptionDecl(), RegisterBuiltinMacro(), clang::driver::InputAction::setId(), clang::UnqualifiedId::setIdentifier(), clang::Declarator::SetIdentifier(), clang::UnqualifiedId::setImplicitSelfParam(), clang::UnqualifiedId::setLiteralOperatorId(), clang::CodeGen::CodeGenModule::SetLLVMFunctionAttributesForDefinition(), clang::SarifResult::setRuleId(), and clang::SarifRule::setRuleId().

◆ ShortName

int32_t ShortName