Searched refs:Attr (Results 1 - 25 of 67) sorted by relevance

123

/freebsd-10.3-release/contrib/llvm/tools/clang/lib/AST/
H A DAttrImpl.cpp10 // This file contains out-of-line virtual methods for Attr classes.
14 #include "clang/AST/Attr.h"
21 Attr::~Attr() { }
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DTargetAttributesSema.cpp25 const AttributeList &Attr, Sema &S) const {
30 const AttributeList &Attr, Sema &S) {
32 if (Attr.getNumArgs() > 1) {
33 S.Diag(Attr.getLoc(), diag::err_attribute_too_many_arguments)
41 if (Attr.getNumArgs() == 0)
43 else if (!S.checkStringLiteralArgumentAttr(Attr, 0, Str, &ArgLoc))
48 S.Diag(Attr.getLoc(), diag::warn_attribute_type_not_supported)
49 << Attr.getName() << Str << ArgLoc;
53 unsigned Index = Attr.getAttributeSpellingListIndex();
55 ARMInterruptAttr(Attr
24 ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, Sema &S) const argument
29 HandleARMInterruptAttr(Decl *d, const AttributeList &Attr, Sema &S) argument
62 ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, Sema &S) const argument
73 HandleMSP430InterruptAttr(Decl *d, const AttributeList &Attr, Sema &S) argument
109 ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, Sema &S) const argument
120 HandleX86ForceAlignArgPointerAttr(Decl *D, const AttributeList& Attr, Sema &S) argument
175 HandleDLLImportAttr(Decl *D, const AttributeList &Attr, Sema &S) argument
222 HandleDLLExportAttr(Decl *D, const AttributeList &Attr, Sema &S) argument
256 ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, Sema &S) const argument
280 HandleMips16Attr(Decl *D, const AttributeList &Attr, Sema &S) argument
297 HandleNoMips16Attr(Decl *D, const AttributeList &Attr, Sema &S) argument
319 ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, Sema &S) const argument
[all...]
H A DSemaDeclAttr.cpp212 static unsigned getNumAttributeArgs(const AttributeList &Attr) { argument
214 return Attr.getNumArgs() + Attr.hasParsedType();
219 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr, argument
221 if (getNumAttributeArgs(Attr) != Num) {
222 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments)
223 << Attr.getName() << Num;
233 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr, argument
235 if (getNumAttributeArgs(Attr) < Num) {
236 S.Diag(Attr
297 checkStringLiteralArgumentAttr(const AttributeList &Attr, unsigned ArgNum, StringRef &Str, SourceLocation *ArgLocation) argument
368 threadSafetyCheckIsPointer(Sema &S, const Decl *D, const AttributeList &Attr) argument
420 checkForLockableRecord(Sema &S, Decl *D, const AttributeList &Attr, QualType Ty) argument
461 checkAttrArgsAreLockableObjs(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr*> &Args, int Sidx = 0, bool ParamIdxOk = false) argument
543 checkGuardedVarAttrCommon(Sema &S, Decl *D, const AttributeList &Attr) argument
555 handleGuardedVarAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
564 handlePtGuardedVarAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
577 checkGuardedByAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, Expr* &Arg) argument
599 handleGuardedByAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
607 handlePtGuardedByAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
620 checkLockableAttrCommon(Sema &S, Decl *D, const AttributeList &Attr) argument
632 handleLockableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
639 handleScopedLockableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
649 handleNoThreadSafetyAnalysis(Sema &S, Decl *D, const AttributeList &Attr) argument
661 handleNoSanitizeAddressAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
674 handleNoSanitizeMemory(Sema &S, Decl *D, const AttributeList &Attr) argument
686 handleNoSanitizeThread(Sema &S, Decl *D, const AttributeList &Attr) argument
698 checkAcquireOrderAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args) argument
731 handleAcquiredAfterAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
744 handleAcquiredBeforeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
757 checkLockFunAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args) argument
775 handleSharedLockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
788 handleExclusiveLockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
802 handleAssertSharedLockAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
815 handleAssertExclusiveLockAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
830 checkTryLockFunAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args) argument
854 handleSharedTrylockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
867 handleExclusiveTrylockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
880 checkLocksRequiredCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args) argument
900 handleExclusiveLocksRequiredAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
913 handleSharedLocksRequiredAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
926 handleUnlockFunAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
947 handleLockReturnedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
967 handleLocksExcludedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
991 handleConsumableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1019 checkForConsumableClass(Sema &S, const CXXMethodDecl *MD, const AttributeList &Attr) argument
1037 handleCallableWhenAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1076 handleParamTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1122 handleReturnTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1179 handleSetTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1212 handleTestTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1246 handleExtVectorTypeAttr(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument
1260 handlePackedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1279 handleMsStructAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1288 handleIBAction(Sema &S, Decl *D, const AttributeList &Attr) argument
1301 checkIBOutletCommon(Sema &S, Decl *D, const AttributeList &Attr) argument
1327 handleIBOutlet(Sema &S, Decl *D, const AttributeList &Attr) argument
1336 handleIBOutletCollection(Sema &S, Decl *D, const AttributeList &Attr) argument
1398 handleAllocSizeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1439 handleNonNullAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1615 handleWeakRefAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1685 handleAliasAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1701 handleMinSizeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1713 handleColdAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1730 handleHotAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1747 handleNakedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1759 handleAlwaysInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1772 handleTLSModelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1798 handleMallocAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1812 handleMayAliasAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1818 handleNoCommonAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1828 handleCommonAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1868 handleAnalyzerNoReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1890 handleCXX11NoReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1908 handleVecReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1970 handleDependencyAttr(Sema &S, Scope *Scope, Decl *D, const AttributeList &Attr) argument
1991 handleUnusedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2004 handleReturnsTwiceAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2017 handleUsedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2034 handleConstructorAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2066 handleDestructorAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2099 handleAttrWithMessage(Sema &S, Decl *D, const AttributeList &Attr) argument
2116 handleArcWeakrefUnavailableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2123 handleObjCRootClassAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2136 handleObjCRequiresPropertyDefsAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2330 handleAvailabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2398 handleVisibilityAttr(Sema &S, Decl *D, const AttributeList &Attr, bool isTypeVisibility) argument
2451 handleObjCMethodFamilyAttr(Sema &S, Decl *decl, const AttributeList &Attr) argument
2486 handleObjCExceptionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2500 handleObjCNSObject(Sema &S, Decl *D, const AttributeList &Attr) argument
2530 handleOverloadableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2541 handleBlocksAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2561 handleSentinelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2657 handleWarnUnusedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2664 handleWarnUnusedResult(Sema &S, Decl *D, const AttributeList &Attr) argument
2688 handleWeakAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2706 handleWeakImportAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2730 handleWorkGroupSize(Sema &S, Decl *D, const AttributeList &Attr) argument
2780 handleVecTypeHint(Sema &S, Decl *D, const AttributeList &Attr) argument
2828 handleSectionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2857 handleNothrowAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2868 handleConstAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2879 handlePureAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2885 handleCleanupAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2950 handleFormatArgAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3029 handleInitPriorityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3100 handleFormatAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3241 handleTransparentUnionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3305 handleAnnotateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3325 handleAlignedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3493 handleModeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3610 handleNoDebugAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3628 handleNoInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3640 handleNoInstrumentFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3653 handleConstantAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3669 handleDeviceAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3692 handleGlobalAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3723 handleHostAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3739 handleSharedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3755 handleGNUInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3773 handleCallConvAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3859 handleOpenCLKernelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3863 handleOpenCLImageAccessAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3943 handleRegparmAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3963 CheckRegparmAttr(const AttributeList &Attr, unsigned &numParams) argument
4001 handleLaunchBoundsAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4050 handleArgumentWithTypeTagAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4098 handleTypeTagForDatatypeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4137 handleNSConsumedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4170 handleNSConsumesSelfAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4183 handleNSReturnsRetainedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4363 handleNSBridgedAttr(Sema &S, Scope *Sc, Decl *D, const AttributeList &Attr) argument
4394 handleObjCBridgeAttr(Sema &S, Scope *Sc, Decl *D, const AttributeList &Attr) argument
4419 handleObjCOwnershipAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4427 handleObjCPreciseLifetimeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4480 checkMicrosoftExt(Sema &S, const AttributeList &Attr, bool OtherExtension = false) argument
4488 handleUuidAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4524 handleInheritanceAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4546 handlePortabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4557 handleForceInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4565 handleSelectAnyAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4578 handleCommonAttributeFeatures(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument
4605 ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr, bool IncludeCXX11Attributes) argument
[all...]
H A DTargetAttributesSema.h23 const AttributeList &Attr, Sema &S) const;
H A DSemaStmtAttr.cpp27 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const AttributeList &A,
48 static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A,
69 SmallVector<const Attr*, 8> Attrs;
71 if (Attr *a = ProcessStmtAttribute(*this, S, *l, Range))
H A DSemaType.cpp2832 for (const AttributeList *Attr = ReturnTypeChunk.getAttrs();
2833 Attr; Attr = Attr->getNext()) {
2834 if (Attr->getKind() == AttributeList::AT_ObjCOwnership) {
2835 AttrLoc = Attr->getLoc();
2841 for (const AttributeList *Attr
2843 Attr; Attr = Attr
3919 HandleAddressSpaceTypeAttribute(QualType &Type, const AttributeList &Attr, Sema &S) argument
4350 handleMSPointerTypeQualifierAttr(TypeProcessingState &State, AttributeList &Attr, QualType &Type) argument
4413 getCCTypeAttrKind(AttributeList &Attr) argument
4622 HandleOpenCLImageAccessAttribute(QualType& CurType, const AttributeList &Attr, Sema &S) argument
4665 HandleVectorSizeAttr(QualType& CurType, const AttributeList &Attr, Sema &S) argument
4724 HandleExtVectorTypeAttr(QualType &CurType, const AttributeList &Attr, Sema &S) argument
4803 HandleNeonVectorTypeAttr(QualType& CurType, const AttributeList &Attr, Sema &S, VectorType::VectorKind VecKind) argument
[all...]
/freebsd-10.3-release/contrib/llvm/lib/DebugInfo/
H A DDWARFAbbreviationDeclaration.h26 AttributeSpec(uint16_t Attr, uint16_t Form) : Attr(Attr), Form(Form) {} argument
27 uint16_t Attr; member in struct:llvm::DWARFAbbreviationDeclaration::AttributeSpec
39 return idx < Attributes.size() ? Attributes[idx].Attr : 0;
H A DDWARFAbbreviationDeclaration.cpp41 uint16_t Attr = Data.getULEB128(OffsetPtr); local
52 if (Attr == 0 && Form == 0)
54 Attributes.push_back(AttributeSpec(Attr, Form));
74 const char *attrString = AttributeString(Attributes[i].Attr);
78 OS << format("DW_AT_Unknown_%x", Attributes[i].Attr);
93 if (Attributes[i].Attr == attr)
H A DDWARFDebugInfoEntry.h116 bool getAttributeValue(const DWARFUnit *U, const uint16_t Attr,
119 const char *getAttributeValueAsString(const DWARFUnit *U, const uint16_t Attr,
122 uint64_t getAttributeValueAsAddress(const DWARFUnit *U, const uint16_t Attr,
126 const uint16_t Attr,
129 uint64_t getAttributeValueAsReference(const DWARFUnit *U, const uint16_t Attr,
133 const uint16_t Attr,
H A DDWARFDebugInfoEntry.cpp146 const DWARFUnit *U, const uint16_t Attr, DWARFFormValue &FormValue) const {
150 uint32_t AttrIdx = AbbrevDecl->findAttributeIndex(Attr);
171 const DWARFUnit *U, const uint16_t Attr, const char *FailValue) const {
173 if (!getAttributeValue(U, Attr, FormValue))
180 const DWARFUnit *U, const uint16_t Attr, uint64_t FailValue) const {
182 if (!getAttributeValue(U, Attr, FormValue))
189 const DWARFUnit *U, const uint16_t Attr, uint64_t FailValue) const {
191 if (!getAttributeValue(U, Attr, FormValue))
198 const DWARFUnit *U, const uint16_t Attr, uint64_t FailValue) const {
200 if (!getAttributeValue(U, Attr, FormValu
145 getAttributeValue( const DWARFUnit *U, const uint16_t Attr, DWARFFormValue &FormValue) const argument
170 getAttributeValueAsString( const DWARFUnit *U, const uint16_t Attr, const char *FailValue) const argument
179 getAttributeValueAsAddress( const DWARFUnit *U, const uint16_t Attr, uint64_t FailValue) const argument
188 getAttributeValueAsUnsignedConstant( const DWARFUnit *U, const uint16_t Attr, uint64_t FailValue) const argument
197 getAttributeValueAsReference( const DWARFUnit *U, const uint16_t Attr, uint64_t FailValue) const argument
206 getAttributeValueAsSectionOffset( const DWARFUnit *U, const uint16_t Attr, uint64_t FailValue) const argument
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DAttr.h1 //===--- Attr.h - Classes for representing attributes ----------*- C++ -*-===//
10 // This file defines the Attr interface and subclasses.
41 /// Attr - This represents one attribute.
42 class Attr { class in namespace:clang
49 /// attribute defined in Attr.td file.
56 virtual ~Attr();
77 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0) function in class:clang::Attr
99 virtual Attr *clone(ASTContext &C) const = 0;
108 class InheritableAttr : public Attr {
112 : Attr(A
[all...]
H A DAttrIterator.h10 // This file defines the Attr vector and specific_attr_iterator interfaces.
22 class Attr;
41 /// AttrVec - A vector of Attr, which is how they are stored on the AST.
42 typedef SmallVector<Attr*, 2> AttrVec;
43 typedef SmallVector<const Attr*, 2> ConstAttrVec;
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp68 } else if (AttributedTypeLoc Attr = TL.getAs<AttributedTypeLoc>()) {
69 if (handleAttr(Attr, D))
71 TL = Attr.getModifiedLoc();
113 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs.back(); local
115 Attr.Kind = Kind;
116 Attr.Loc = Loc;
117 Attr.ModifiedType = TL.getModifiedLoc().getType();
118 Attr.Dcl = D;
119 Attr.FullyMigratable = FullyMigratable;
190 MigrationContext::GCAttrOccurrence &Attr local
206 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs[i]; local
342 GCAttrOccurrence &Attr = GCAttrs[i]; local
[all...]
/freebsd-10.3-release/contrib/llvm/lib/Transforms/ObjCARC/
H A DARCRuntimeEntryPoints.h133 AttributeSet Attr = local
138 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
151 AttributeSet Attr = AttributeSet(); local
154 Attr = Attr.addAttribute(C, AttributeSet::FunctionIndex,
157 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
170 AttributeSet Attr = local
173 Attr = Attr.addAttribute(C, 1, Attribute::NoCapture);
178 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
[all...]
/freebsd-10.3-release/contrib/llvm/lib/Support/
H A DThreading.cpp82 pthread_attr_t Attr; local
86 if (::pthread_attr_init(&Attr) != 0)
91 if (::pthread_attr_setstacksize(&Attr, RequestedStackSize) != 0)
96 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0)
103 ::pthread_attr_destroy(&Attr);
/freebsd-10.3-release/lib/clang/
H A Dclang.build.mk70 Attrs.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
73 ${CLANG_SRCS}/include/clang/Basic/Attr.td
75 AttrDump.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
78 ${CLANG_SRCS}/include/clang/Basic/Attr.td
80 AttrIdentifierArg.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
83 ${CLANG_SRCS}/include/clang/Basic/Attr.td
85 AttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
88 ${CLANG_SRCS}/include/clang/Basic/Attr.td
90 AttrLateParsed.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
93 ${CLANG_SRCS}/include/clang/Basic/Attr
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/utils/TableGen/
H A DClangAttrEmitter.cpp103 Argument(Record &Arg, StringRef Attr) argument
105 attrName(Attr), isOpt(false) {
147 SimpleArgument(Record &Arg, StringRef Attr, std::string T) argument
148 : Argument(Arg, Attr), type(T)
227 StringArgument(Record &Arg, StringRef Attr) argument
228 : Argument(Arg, Attr)
294 AlignedArgument(Record &Arg, StringRef Attr) argument
295 : Argument(Arg, Attr)
318 OS << "bool " << getAttrName() << "Attr::is" << getUpperName()
334 OS << "unsigned " << getAttrName() << "Attr
424 VariadicArgument(Record &Arg, StringRef Attr, std::string T) argument
519 EnumArgument(Record &Arg, StringRef Attr) argument
615 VariadicEnumArgument(Record &Arg, StringRef Attr) argument
700 VersionArgument(Record &Arg, StringRef Attr) argument
753 ExprArgument(Record &Arg, StringRef Attr) argument
785 VariadicExprArgument(Record &Arg, StringRef Attr) argument
835 TypeArgument(Record &Arg, StringRef Attr) argument
857 createArgument(Record &Arg, StringRef Attr, Record *Search = 0) argument
1207 Record &Attr = **I; local
1238 Record &Attr = **I; local
1464 Record &Attr = **I; local
1544 Record &Attr = **I; local
1644 Record &Attr = **I; local
1732 Record &Attr = **I; local
[all...]
/freebsd-10.3-release/contrib/llvm/lib/IR/
H A DAttributes.cpp497 Attribute Attr = *II; local
500 if (Attr.isStringAttribute()) continue;
502 Attribute::AttrKind Kind = Attr.getKindAsEnum();
665 Attribute::AttrKind Attr) const {
666 if (hasAttribute(Index, Attr)) return *this;
667 return addAttributes(C, Index, AttributeSet::get(C, Index, Attr));
734 Attribute::AttrKind Attr) const {
735 if (!hasAttribute(Index, Attr)) return *this;
736 return removeAttributes(C, Index, AttributeSet::get(C, Index, Attr));
835 bool AttributeSet::hasAttrSomewhere(Attribute::AttrKind Attr) cons
976 addAttribute(Attribute Attr) argument
1020 Attribute Attr = *I; local
1108 Attribute Attr = *I; local
[all...]
/freebsd-10.3-release/contrib/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp161 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive) local
168 assert(Attr != MCSA_Invalid && "unexpected symbol attribute directive!");
178 getStreamer().EmitSymbolAttribute(Sym, Attr);
521 MCSymbolAttr Attr; local
526 Attr = StringSwitch<MCSymbolAttr>(Type)
543 Attr = StringSwitch<MCSymbolAttr>(Type)
556 if (Attr == MCSA_Invalid)
564 getStreamer().EmitSymbolAttribute(Sym, Attr);
/freebsd-10.3-release/contrib/llvm/lib/MC/
H A DMCSectionMachO.cpp262 StringRef Attr = Plus.first; local
263 StripSpaces(Attr);
271 Attr == SectionAttrDescriptors[i].AssemblerName) {
/freebsd-10.3-release/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDIEHash.cpp32 static StringRef getDIEStringAttr(const DIE &Die, uint16_t Attr) { argument
39 if (Abbrevs.getData()[i].getAttribute() == Attr) {
272 // Hash an individual attribute \param Attr based on the type of attribute and
274 void DIEHash::hashAttribute(AttrEntry Attr, dwarf::Tag Tag) { argument
275 const DIEValue *Value = Attr.Val;
276 const DIEAbbrevData *Desc = Attr.Desc;
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Analysis/
H A DThreadSafety.cpp19 #include "clang/AST/Attr.h"
1458 void getMutexIDs(MutexIDList &Mtxs, AttrType *Attr, Expr *Exp,
1462 void getMutexIDs(MutexIDList &Mtxs, AttrType *Attr, Expr *Exp,
1549 void ThreadSafetyAnalyzer::getMutexIDs(MutexIDList &Mtxs, AttrType *Attr, argument
1554 if (Attr->args_size() == 0) {
1564 for (iterator_type I=Attr->args_begin(), E=Attr->args_end(); I != E; ++I) {
1578 void ThreadSafetyAnalyzer::getMutexIDs(MutexIDList &Mtxs, AttrType *Attr, argument
1599 getMutexIDs(Mtxs, Attr, Exp, D);
1716 Attr *Att local
2391 Attr *Attr = ArgAttrs[i]; local
[all...]
/freebsd-10.3-release/contrib/llvm/lib/CodeGen/
H A DStackProtector.cpp70 Attribute Attr = Fn.getAttributes().getAttribute(
72 if (Attr.isStringAttribute())
73 Attr.getValueAsString().getAsInteger(10, SSPBufferSize);
/freebsd-10.3-release/contrib/llvm/include/llvm/IR/
H A DAttributes.h249 Attribute::AttrKind Attr) const;
267 Attribute::AttrKind Attr) const;
302 bool hasAttrSomewhere(Attribute::AttrKind Attr) const;
/freebsd-10.3-release/contrib/llvm/include/llvm/Support/
H A DGraphWriter.h261 void emitSimpleNode(const void *ID, const std::string &Attr, argument
265 if (!Attr.empty())
266 O << Attr << ","; local

Completed in 284 milliseconds

123