Home
last modified time | relevance | path

Searched refs:getAttrs (Results 1 – 25 of 62) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DAssumeModeling.cpp37 if (!hasSpecificAttr<CXXAssumeAttr>(A->getAttrs())) in checkPostStmt()
40 for (const auto *Attr : getSpecificAttrs<CXXAssumeAttr>(A->getAttrs())) { in checkPostStmt()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h527 AttrVec &getAttrs() { in getAttrs() function
528 return const_cast<AttrVec&>(const_cast<const Decl*>(this)->getAttrs()); in getAttrs()
531 const AttrVec &getAttrs() const;
543 return hasAttrs() ? getAttrs().begin() : nullptr; in attr_begin()
546 return hasAttrs() ? getAttrs().end() : nullptr; in attr_end()
552 AttrVec &Vec = getAttrs(); in dropAttrs()
577 return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr; in getAttr()
581 return hasAttrs() && hasSpecificAttr<T>(getAttrs()); in hasAttr()
H A DStmtDataCollectors.td237 for (const Attr *A : S->getAttrs()) {
H A DTypeProperties.td688 let Read = [{ static_cast<uint32_t>(node->getAttrs().ResourceClass) }];
691 let Read = [{ node->getAttrs().IsROV }];
694 let Read = [{ node->getAttrs().RawBuffer }];
H A DASTNodeTraverser.h830 for (const auto *A : Node->getAttrs()) in VisitAttributedStmt()
836 for (const auto *A : Node->getDecl()->getAttrs()) in VisitLabelStmt()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DDirectX.cpp45 const HLSLAttributedResourceType::Attributes &ResAttrs = ResType->getAttrs(); in getHLSLType()
H A DSPIR.cpp476 const HLSLAttributedResourceType::Attributes &ResAttrs = ResType->getAttrs(); in getHLSLType()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDemangledNameInfo.cpp192 auto *Attrs = N.getAttrs(); in printRightImpl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugSuppression.cpp33 return llvm::any_of(S->getAttrs(), [](const Attr *A) { in hasSuppression()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp258 return declarator.getTypeObject(chunkIndex).getAttrs(); in getCurrentAttributes()
518 destChunk->getAttrs()); in distributeObjCPointerTypeAttr()
534 dest->getAttrs()); in distributeObjCPointerTypeAttr()
602 declarator.getTypeObject(innermost).getAttrs()); in distributeObjCPointerTypeAttrFromDeclarator()
626 chunk.getAttrs()); in distributeFunctionTypeAttr()
657 moveAttrFromListToList(attr, attrList, chunk.getAttrs()); in distributeFunctionTypeAttrToInnermost()
2882 for (const ParsedAttr &AL : chunk.getAttrs()) in inferARCWriteback()
4475 hasCFReturnsAttr(InnermostChunk->getAttrs()) || in GetFullTypeForDeclarator()
4659 DeclType.EndLoc, DeclType.getAttrs(), in GetFullTypeForDeclarator()
4682 DeclType.EndLoc, DeclType.getAttrs(), in GetFullTypeForDeclarator()
[all …]
H A DSemaHLSL.cpp1830 ResourceClass RC = AttrResType->getAttrs().ResourceClass; in collectResourceBindingsOnUserRecordDecl()
1881 if (RegType == getRegisterType(AttrResType->getAttrs().ResourceClass)) in DiagnoseLocalRegisterBinding()
3106 return !(ResTy->getAttrs().ResourceClass == ResourceClass::UAV && in CheckBuiltinFunctionCall()
3107 ResTy->getAttrs().RawBuffer && ResTy->hasContainedType()); in CheckBuiltinFunctionCall()
3733 Bindings.addDeclBindingInfo(VD, AttrResType->getAttrs().ResourceClass); in collectResourceBindingsOnVarDecl()
H A DHLSLBuiltinTypeDeclBuilder.cpp746 return cast<HLSLAttributedResourceType>(HandleType)->getAttrs(); in getResourceAttrs()
H A DJumpDiagnostics.cpp1061 ArrayRef<const Attr *> Attrs = AS->getAttrs(); in GetMustTailAttr()
H A DSemaCUDA.cpp110 return D->hasAttrs() && llvm::any_of(D->getAttrs(), [&](Attr *Attribute) { in hasAttr()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1662 const ParsedAttributesView &getAttrs() const { return AttrList; } in getAttrs() function
1663 ParsedAttributesView &getAttrs() { return AttrList; } in getAttrs() function
2359 DeclTypeInfo.back().getAttrs().addAll(attrs.begin(), attrs.end()); in AddTypeInfo()
2373 getAttributePool().takeFrom(DeclTypeInfo.back().getAttrs(), OtherPool); in AddTypeInfo()
2699 if (!getTypeObject(i).getAttrs().empty()) in hasAttributes()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp227 for (auto *Attr : VD->getAttrs()) { in fillPackoffsetLayout()
482 for (const Attr *Attr : FD->getAttrs()) { in emitEntryFunction()
H A DCGOpenMPRuntimeGPU.cpp151 for (specific_attr_iterator<AlignedAttr> I(VD->getAttrs().begin()), in buildRecordForGlobalizedVars()
152 E(VD->getAttrs().end()); in buildRecordForGlobalizedVars()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRDFGraph.h497 uint16_t getAttrs() const { return Attrs; } in getAttrs() function
499 void setFlags(uint16_t F) { setAttrs(NodeAttrs::set_flags(getAttrs(), F)); } in setFlags()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp548 const AttrVec &V = getAttrs(); in getMaxAlignment()
1033 AttrVec &Attrs = getAttrs(); in addAttr()
1050 const AttrVec &Decl::getAttrs() const { in getAttrs() function in Decl
H A DASTStructuralEquivalence.cpp470 D1Attr = *D1->getAttrs().begin(); in CheckStructurallyEquivalentAttributes()
472 D2Attr = *D2->getAttrs().begin(); in CheckStructurallyEquivalentAttributes()
1179 if (cast<HLSLAttributedResourceType>(T1)->getAttrs() != in IsStructurallyEquivalent()
1180 cast<HLSLAttributedResourceType>(T2)->getAttrs()) in IsStructurallyEquivalent()
H A DDeclPrinter.cpp265 const AttrVec &Attrs = D->getAttrs(); in prettyPrintAttributes()
325 AttrVec &Attrs = D->getAttrs(); in prettyPrintPragmas()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp678 AS && hasSpecificAttr<FallThroughAttr>(AS->getAttrs()); in reportDeadCode()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp421 if (Def.Addr->getAttrs() & NodeAttrs::Dead) in getGadgetGraph()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp1006 const AttrVec &Attrs = DI->CommentDecl->getAttrs(); in visitFullComment()
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/
H A DCIRDialect.cpp685 printer.printOptionalAttrDict(op->getAttrs(), in printCallCommon()
863 p.printOptionalAttrDict(getOperation()->getAttrs()); in print()

123