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

12345678

/external/clang/lib/Sema/
H A DSemaDeclAttr.cpp175 static unsigned getNumAttributeArgs(const AttributeList &Attr) { argument
177 return Attr.getNumArgs() + Attr.hasParsedType();
181 static bool checkAttributeNumArgsImpl(Sema &S, const AttributeList &Attr, argument
184 if (Comp(getNumAttributeArgs(Attr), Num)) {
185 S.Diag(Attr.getLoc(), Diag) << Attr.getName() << Num;
194 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr, argument
196 return checkAttributeNumArgsImpl(S, Attr, Num,
203 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr, argument
212 checkAttributeAtMostNumArgs(Sema &S, const AttributeList &Attr, unsigned Num) argument
221 checkUInt32Argument(Sema &S, const AttributeList &Attr, const Expr *Expr, uint32_t &Val, unsigned Idx = UINT_MAX) argument
266 checkFunctionOrMethodParameterIndex(Sema &S, const Decl *D, const AttributeList &Attr, unsigned AttrArgNum, const Expr *IdxExpr, uint64_t &Idx) argument
314 checkStringLiteralArgumentAttr(const AttributeList &Attr, unsigned ArgNum, StringRef &Str, SourceLocation *ArgLocation) argument
349 handleSimpleAttribute(Sema &S, Decl *D, const AttributeList &Attr) argument
356 handleSimpleAttributeWithExclusions(Sema &S, Decl *D, const AttributeList &Attr) argument
365 handleSimpleAttributeWithExclusions(Sema &S, Decl *D, const AttributeList &Attr) argument
400 threadSafetyCheckIsPointer(Sema &S, const Decl *D, const AttributeList &Attr) argument
521 checkAttrArgsAreCapabilityObjs(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args, int Sidx = 0, bool ParamIdxOk = false) argument
599 handlePtGuardedVarAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
609 checkGuardedByAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, Expr* &Arg) argument
624 handleGuardedByAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
633 handlePtGuardedByAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
647 checkAcquireOrderAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args) argument
669 handleAcquiredAfterAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
682 handleAcquiredBeforeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
695 checkLockFunAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args) argument
705 handleAssertSharedLockAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
718 handleAssertExclusiveLockAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
733 checkTryLockFunAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args) argument
751 handleSharedTrylockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
764 handleExclusiveTrylockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
775 handleLockReturnedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
789 handleLocksExcludedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
807 handleEnableIfAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
837 handlePassObjectSizeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
874 handleConsumableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
896 checkForConsumableClass(Sema &S, const CXXMethodDecl *MD, const AttributeList &Attr) argument
913 handleCallableWhenAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
951 handleParamTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
988 handleReturnTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1036 handleSetTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1060 handleTestTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1085 handleExtVectorTypeAttr(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument
1091 handlePackedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1108 checkIBOutletCommon(Sema &S, Decl *D, const AttributeList &Attr) argument
1134 handleIBOutlet(Sema &S, Decl *D, const AttributeList &Attr) argument
1143 handleIBOutletCollection(Sema &S, Decl *D, const AttributeList &Attr) argument
1214 attrNonNullArgCheck(Sema &S, QualType T, const AttributeList &Attr, SourceRange AttrParmRange, SourceRange TypeRange, bool isReturnValue = false) argument
1230 handleNonNullAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1274 handleNonNullAttrParameter(Sema &S, ParmVarDecl *D, const AttributeList &Attr) argument
1296 handleReturnsNonNullAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1309 handleAssumeAlignedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1488 handleWeakRefAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1552 handleIFuncAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1574 handleAliasAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1607 handleColdAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1615 handleHotAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1623 handleTLSModelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1643 handleRestrictAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1655 handleCommonAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1667 handleNakedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1701 handleAnalyzerNoReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1724 handleVecReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1779 handleDependencyAttr(Sema &S, Scope *Scope, Decl *D, const AttributeList &Attr) argument
1796 handleNotTailCalledAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1806 handleDisableTailCallsAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1816 handleUsedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1833 handleUnusedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1855 handleConstructorAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1866 handleDestructorAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1878 handleAttrWithMessage(Sema &S, Decl *D, const AttributeList &Attr) argument
1889 handleObjCSuppresProtocolAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2123 handleAvailabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2272 handleVisibilityAttr(Sema &S, Decl *D, const AttributeList &Attr, bool isTypeVisibility) argument
2325 handleObjCMethodFamilyAttr(Sema &S, Decl *decl, const AttributeList &Attr) argument
2355 handleObjCNSObject(Sema &S, Decl *D, const AttributeList &Attr) argument
2384 handleObjCIndependentClass(Sema &S, Decl *D, const AttributeList &Attr) argument
2400 handleBlocksAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2420 handleSentinelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2511 handleWarnUnusedResult(Sema &S, Decl *D, const AttributeList &Attr) argument
2536 handleWeakImportAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2561 handleWorkGroupSize(Sema &S, Decl *D, const AttributeList &Attr) argument
2586 handleVecTypeHint(Sema &S, Decl *D, const AttributeList &Attr) argument
2640 handleSectionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2675 handleTargetAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2687 handleCleanupAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2752 handleFormatArgAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2824 handleInitPriorityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2886 handleFormatAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3008 handleTransparentUnionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3077 handleAnnotateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3095 handleAlignValueAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3146 handleAlignedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3425 handleModeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3581 handleNoDebugAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3673 handleAlwaysInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3685 handleMinSizeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3691 handleOptimizeNoneAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3698 handleGlobalAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3731 handleGNUInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3743 handleCallConvAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4009 CheckRegparmAttr(const AttributeList &Attr, unsigned &numParams) argument
4047 makeLaunchBoundsArgExpr(Sema &S, Expr *E, const CUDALaunchBoundsAttr &Attr, const unsigned Idx) argument
4102 handleLaunchBoundsAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4113 handleArgumentWithTypeTagAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4158 handleTypeTagForDatatypeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4209 handleNSConsumedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4251 handleNSReturnsRetainedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4413 handleCFAuditedTransferAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4424 handleCFUnknownTransferAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4435 handleObjCBridgeAttr(Sema &S, Scope *Sc, Decl *D, const AttributeList &Attr) argument
4465 handleObjCBridgeMutableAttr(Sema &S, Scope *Sc, Decl *D, const AttributeList &Attr) argument
4479 handleObjCBridgeRelatedAttr(Sema &S, Scope *Sc, Decl *D, const AttributeList &Attr) argument
4497 handleObjCDesignatedInitializer(Sema &S, Decl *D, const AttributeList &Attr) argument
4515 handleObjCRuntimeName(Sema &S, Decl *D, const AttributeList &Attr) argument
4530 handleObjCBoxable(Sema &S, Decl *D, const AttributeList &Attr) argument
4553 handleObjCOwnershipAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4561 handleObjCPreciseLifetimeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4606 handleUuidAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4651 handleMSInheritanceAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4667 handleDeclspecThreadAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4686 handleAbiTagAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4718 handleARMInterruptAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4747 handleMSP430InterruptAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4783 handleMipsInterruptAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4842 handleAnyX86InterruptAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4908 handleInterruptAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4928 handleAMDGPUNumVGPRAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4941 handleAMDGPUNumSGPRAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4954 handleX86ForceAlignArgPointerAttr(Sema &S, Decl *D, const AttributeList& Attr) argument
4979 handleLayoutVersion(Sema &S, Decl *D, const AttributeList &Attr) argument
5093 handleCapabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
5117 handleAssertCapabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
5124 handleAcquireCapabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
5136 handleTryAcquireCapabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
5150 handleReleaseCapabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
5161 handleRequiresCapabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
5179 handleDeprecatedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
5213 handleNoSanitizeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
5237 handleNoSanitizeSpecificAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
5252 handleInternalLinkageAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
5260 handleOpenCLNoSVMAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
5272 handleCommonAttributeFeatures(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument
5310 handleOpenCLAccessAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
5351 ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr, bool IncludeCXX11Attributes) argument
[all...]
/external/clang/lib/Basic/
H A DAttributes.cpp7 const IdentifierInfo *Attr, const TargetInfo &Target,
9 StringRef Name = Attr->getName();
6 hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope, const IdentifierInfo *Attr, const TargetInfo &Target, const LangOptions &LangOpts) argument
/external/llvm/lib/Analysis/
H A DAliasAnalysisSummary.cpp34 bool hasUnknownAttr(AliasAttrs Attr) { return Attr.test(AttrUnknownIndex); } argument
37 bool hasCallerAttr(AliasAttrs Attr) { return Attr.test(AttrCaller); } argument
38 bool hasUnknownOrCallerAttr(AliasAttrs Attr) { argument
39 return Attr.test(AttrUnknownIndex) || Attr.test(AttrCallerIndex);
43 bool hasEscapedAttr(AliasAttrs Attr) { return Attr.test(AttrEscapedIndex); } argument
66 bool isGlobalOrArgAttr(AliasAttrs Attr) { argument
73 getExternallyVisibleAttrs(AliasAttrs Attr) argument
[all...]
/external/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.h23 AttributeSpec(uint16_t Attr, uint16_t Form) : Attr(Attr), Form(Form) {} argument
24 uint16_t Attr; member in struct:llvm::DWARFAbbreviationDeclaration::AttributeSpec
H A DDWARFDebugInfoEntry.h89 bool getAttributeValue(const DWARFUnit *U, const uint16_t Attr,
92 const char *getAttributeValueAsString(const DWARFUnit *U, const uint16_t Attr,
95 uint64_t getAttributeValueAsAddress(const DWARFUnit *U, const uint16_t Attr,
99 const uint16_t Attr,
102 uint64_t getAttributeValueAsReference(const DWARFUnit *U, const uint16_t Attr,
106 const uint16_t Attr,
/external/skia/src/xml/
H A DSkDOM.h29 typedef SkDOMAttr Attr; typedef in class:SkDOM
52 const Attr* getFirstAttr(const Node*) const;
53 const Attr* getNextAttr(const Node*, const Attr*) const;
54 const char* getAttrName(const Node*, const Attr*) const;
55 const char* getAttrValue(const Node*, const Attr*) const;
82 const Attr* fAttr;
83 const Attr* fStop;
/external/llvm/lib/Support/
H A DARMBuildAttrs.cpp17 ARMBuildAttrs::AttrType Attr; member in struct:__anon12762::__anon12763
74 StringRef AttrTypeAsString(unsigned Attr, bool HasTagPrefix) { argument
75 return AttrTypeAsString(static_cast<AttrType>(Attr), HasTagPrefix);
78 StringRef AttrTypeAsString(AttrType Attr, bool HasTagPrefix) { argument
81 if (ARMAttributeTags[TI].Attr == Attr)
91 return ARMAttributeTags[TI].Attr;
H A DThreading.cpp48 pthread_attr_t Attr; local
52 if (::pthread_attr_init(&Attr) != 0)
57 if (::pthread_attr_setstacksize(&Attr, RequestedStackSize) != 0)
62 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0)
69 ::pthread_attr_destroy(&Attr);
/external/clang/include/clang/AST/
H A DAttr.h1 //===--- Attr.h - Classes for representing attributes ----------*- C++ -*-===//
10 // This file defines the Attr interface and subclasses.
44 /// Attr - This represents one attribute.
45 class Attr { class in namespace:clang
52 /// attribute defined in Attr.td file.
79 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex, function in class:clang::Attr
109 Attr *clone(ASTContext &C) const;
122 class StmtAttr : public Attr {
126 : Attr(AK, R, SpellingListIndex, IsLateParsed, DuplicatesAllowed) {}
129 static bool classof(const Attr *
[all...]
H A DASTMutationListener.h17 class Attr;
115 /// \param Attr the added attribute.
117 const Attr *Attr) {}
128 /// \param Attr The attribute that was added to the Record
131 virtual void AddedAttributeToRecord(const Attr *Attr, argument
116 DeclarationMarkedOpenMPDeclareTarget(const Decl *D, const Attr *Attr) argument
/external/llvm/lib/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.cpp41 uint16_t Attr = Data.getULEB128(OffsetPtr); local
52 if (Attr == 0 && Form == 0)
54 AttributeSpecs.push_back(AttributeSpec(Attr, Form));
74 const char *attrString = AttributeString(Spec.Attr);
78 OS << format("DW_AT_Unknown_%x", Spec.Attr);
93 if (AttributeSpecs[i].Attr == attr)
/external/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;
186 MigrationContext::GCAttrOccurrence &Attr local
202 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs[i]; local
338 GCAttrOccurrence &Attr = GCAttrs[i]; local
[all...]
/external/clang/include/clang/Basic/
H A DAttributes.h34 const IdentifierInfo *Attr, const TargetInfo &Target,
/external/llvm/lib/CodeGen/
H A DXRayInstrumentation.cpp46 Attribute Attr = F.getFnAttribute("xray-instruction-threshold"); local
49 if (Attr.hasAttribute(Attribute::None) || !Attr.isStringAttribute())
51 if (Attr.getValueAsString().getAsInteger(10, XRayThreshold))
/external/webrtc/webrtc/libjingle/xmpp/
H A Dmucroomdiscoverytask.cc39 const std::string name(identity->Attr(QN_NAME));
51 features.insert(feature->Attr(QN_VAR));
58 const std::string key(field->Attr(QN_VAR));
59 extended_info[key] = field->Attr(QN_XDATA_VALUE);
H A Ddiscoitemsquerytask.cc56 item->jid = element->Attr(QN_JID);
57 item->name = element->Attr(QN_NAME);
58 item->node = element->Attr(QN_NODE);
H A Diqtask.cc41 if (stanza->Attr(buzz::QN_TYPE) != buzz::STR_RESULT &&
42 stanza->Attr(buzz::QN_TYPE) != buzz::STR_ERROR) {
55 bool success = (stanza->Attr(buzz::QN_TYPE) == buzz::STR_RESULT);
H A Djingleinfotask.cc46 if (stanza->Attr(QN_TYPE) != STR_RESULT)
74 Jid from(stanza->Attr(QN_FROM));
99 std::string host = server->Attr(QN_JINGLE_INFO_HOST);
100 std::string port = server->Attr(QN_JINGLE_INFO_UDP);
112 std::string host = server->Attr(QN_JINGLE_INFO_HOST);
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
H A DAttList.java23 import org.w3c.dom.Attr;
107 String ns = m_dh.getNamespaceOfNode(((Attr) m_attrs.item(index)));
123 return m_dh.getLocalNameOfNode(((Attr) m_attrs.item(index)));
136 return ((Attr) m_attrs.item(i)).getName();
162 return ((Attr) m_attrs.item(i)).getValue();
203 Attr attr = ((Attr) m_attrs.getNamedItem(name));
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DAttList.java23 import org.w3c.dom.Attr;
98 String ns = m_dh.getNamespaceOfNode(((Attr) m_attrs.item(index)));
114 return m_dh.getLocalNameOfNode(((Attr) m_attrs.item(index)));
127 return ((Attr) m_attrs.item(i)).getName();
153 return ((Attr) m_attrs.item(i)).getValue();
194 Attr attr = ((Attr) m_attrs.getNamedItem(name));
/external/llvm/lib/Transforms/ObjCARC/
H A DARCRuntimeEntryPoints.h131 AttributeSet Attr = local
136 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
149 AttributeSet Attr = AttributeSet(); local
152 Attr = Attr.addAttribute(C, AttributeSet::FunctionIndex,
155 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
168 AttributeSet Attr = local
171 Attr = Attr.addAttribute(C, 1, Attribute::NoCapture);
176 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
[all...]
/external/swiftshader/third_party/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);
/external/spirv-llvm/lib/SPIRV/libSPIRV/
H A DSPIRVFunction.cpp63 auto Attr = static_cast<SPIRVFuncParamAttrKind>( local
65 assert(isValid(Attr));
66 Func(Attr);
163 auto Attr = static_cast<SPIRVFuncParamAttrKind>( local
165 assert(isValid(Attr));
166 Func(Attr);
/external/clang/utils/TableGen/
H A DClangAttrEmitter.cpp73 GetFlattenedSpellings(const Record &Attr) { argument
74 std::vector<Record *> Spellings = Attr.getValueAsListOfDefs("Spellings");
154 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr");
157 for (const auto *Attr : Attrs) {
158 if (Attr->getValueAsBit("SemaHandler")) {
160 if (Attr->isSubClassOf("TargetSpecificAttr") &&
161 !Attr->isValueUnset("ParseKind")) {
162 AN = Attr->getValueAsString("ParseKind");
168 Dupes->push_back(std::make_pair(AN, Attr));
173 AN = NormalizeAttrName(Attr
190 Argument(const Record &Arg, StringRef Attr) argument
248 SimpleArgument(const Record &Arg, StringRef Attr, std::string T) argument
337 DefaultSimpleArgument(const Record &Arg, StringRef Attr, std::string T, int64_t Default) argument
356 StringArgument(const Record &Arg, StringRef Attr) argument
437 AlignedArgument(const Record &Arg, StringRef Attr) argument
592 VariadicArgument(const Record &Arg, StringRef Attr, std::string T) argument
735 EnumArgument(const Record &Arg, StringRef Attr) argument
864 VariadicEnumArgument(const Record &Arg, StringRef Attr) argument
960 VersionArgument(const Record &Arg, StringRef Attr) argument
1022 ExprArgument(const Record &Arg, StringRef Attr) argument
1059 VariadicExprArgument(const Record &Arg, StringRef Attr) argument
1118 VariadicStringArgument(const Record &Arg, StringRef Attr) argument
1141 TypeArgument(const Record &Arg, StringRef Attr) argument
1167 createArgument(const Record &Arg, StringRef Attr, const Record *Search = nullptr) argument
1555 const Record &Attr = *I.second; local
[all...]
/external/llvm/lib/IR/
H A DStatepoint.cpp51 bool llvm::isStatepointDirectiveAttr(Attribute Attr) { argument
52 return Attr.hasAttribute("statepoint-id") ||
53 Attr.hasAttribute("statepoint-num-patch-bytes");

Completed in 528 milliseconds

12345678