Home
last modified time | relevance | path

Searched refs:AttrKind (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/lib/IR/
DAttributeImpl.h55 bool hasAttribute(Attribute::AttrKind A) const;
58 Attribute::AttrKind getKindAsEnum() const;
75 static void Profile(FoldingSetNodeID &ID, Attribute::AttrKind Kind, in Profile()
86 static uint64_t getAttrMask(Attribute::AttrKind Val);
98 Attribute::AttrKind Kind;
101 EnumAttributeImpl(AttrEntryKind ID, Attribute::AttrKind Kind) in EnumAttributeImpl()
105 EnumAttributeImpl(Attribute::AttrKind Kind) in EnumAttributeImpl()
108 Attribute::AttrKind getEnumKind() const { return Kind; } in getEnumKind()
116 IntAttributeImpl(Attribute::AttrKind Kind, uint64_t Val) in IntAttributeImpl()
159 bool hasAttribute(Attribute::AttrKind Kind) const;
[all …]
DAttributes.cpp34 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind, in get()
119 Attribute::AttrKind Attribute::getKindAsEnum() const { in getKindAsEnum()
147 bool Attribute::hasAttribute(AttrKind Kind) const { in hasAttribute()
338 bool AttributeImpl::hasAttribute(Attribute::AttrKind A) const { in hasAttribute()
348 Attribute::AttrKind AttributeImpl::getKindAsEnum() const { in getKindAsEnum()
390 uint64_t AttributeImpl::getAttrMask(Attribute::AttrKind Val) { in getAttrMask()
486 bool AttributeSetNode::hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute()
500 Attribute AttributeSetNode::getAttribute(Attribute::AttrKind Kind) const { in getAttribute()
562 Attribute::AttrKind Kind = Attr.getKindAsEnum(); in Raw()
664 for (Attribute::AttrKind Kind = Attribute::None; in get()
[all …]
DInstructions.cpp334 void CallInst::addAttribute(unsigned i, Attribute::AttrKind attr) { in addAttribute()
361 bool CallInst::hasFnAttrImpl(Attribute::AttrKind A) const { in hasFnAttrImpl()
369 bool CallInst::paramHasAttr(unsigned i, Attribute::AttrKind A) const { in paramHasAttr()
590 bool InvokeInst::hasFnAttrImpl(Attribute::AttrKind A) const { in hasFnAttrImpl()
598 bool InvokeInst::paramHasAttr(unsigned i, Attribute::AttrKind A) const { in paramHasAttr()
606 void InvokeInst::addAttribute(unsigned i, Attribute::AttrKind attr) { in addAttribute()
DFunction.cpp327 void Function::addAttribute(unsigned i, Attribute::AttrKind attr) { in addAttribute()
/external/llvm/include/llvm/IR/
DAttributes.h64 enum AttrKind { enum
130 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
158 bool hasAttribute(AttrKind Val) const;
165 Attribute::AttrKind getKindAsEnum() const;
260 ArrayRef<Attribute::AttrKind> Kind);
266 Attribute::AttrKind Attr) const;
284 Attribute::AttrKind Attr) const;
320 bool hasAttribute(unsigned Index, Attribute::AttrKind Kind) const;
330 bool hasAttrSomewhere(Attribute::AttrKind Attr) const;
333 Attribute getAttribute(unsigned Index, Attribute::AttrKind Kind) const;
[all …]
DFunction.h163 void addFnAttr(Attribute::AttrKind N) {
169 void removeFnAttr(Attribute::AttrKind N) {
187 bool hasFnAttribute(Attribute::AttrKind Kind) const {
195 Attribute getFnAttribute(Attribute::AttrKind Kind) const {
215 void addAttribute(unsigned i, Attribute::AttrKind attr);
DCallSite.h207 bool hasFnAttr(Attribute::AttrKind A) const { in hasFnAttr()
212 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const { in paramHasAttr()
DInstructions.h1411 void addAttribute(unsigned i, Attribute::AttrKind attr);
1424 bool hasFnAttr(Attribute::AttrKind A) const {
1431 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const;
1542 bool hasFnAttrImpl(Attribute::AttrKind A) const;
3107 void addAttribute(unsigned i, Attribute::AttrKind attr);
3120 bool hasFnAttr(Attribute::AttrKind A) const {
3127 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const;
3261 bool hasFnAttrImpl(Attribute::AttrKind A) const;
/external/clang/include/clang/AST/
DAttr.h46 unsigned AttrKind : 16; variable
79 : Range(R), AttrKind(AK), SpellingListIndex(SpellingListIndex), in Attr()
86 return static_cast<attr::Kind>(AttrKind); in getKind()
DType.h1349 unsigned AttrKind : 32 - NumTypeBits;
3498 AttributedTypeBits.AttrKind = attrKind;
3503 return static_cast<Kind>(AttributedTypeBits.AttrKind);
/external/clang/include/clang/Sema/
DAttributeList.h123 unsigned AttrKind : 8; variable
225 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
248 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
268 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
287 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
300 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
314 AttrKind = getKind(getName(), getScopeName(), syntaxUsed); in AttributeList()
364 Kind getKind() const { return Kind(AttrKind); } in getKind()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp44 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitStrLen()
69 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitStrNLen()
93 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitStrChr()
120 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitStrNCmp()
219 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitMemChr()
243 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitMemCmp()
/external/clang/lib/ARCMigrate/
DTransZeroOutPropsInDealloc.cpp122 ObjCPropertyDecl::PropertyAttributeKind AttrKind = in TraverseObjCMethodDecl() local
124 if (AttrKind & in TraverseObjCMethodDecl()
DTransforms.h88 enum AttrKind { Weak, Strong } Kind; enum
DTransGCAttrs.cpp103 MigrationContext::GCAttrOccurrence::AttrKind Kind; in handleAttr()
/external/llvm/docs/
DHowToUseAttributes.rst23 ``Attribute::AttrKind`` enum), a string representing a target-dependent
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp413 static Attribute::AttrKind
606 Attribute::AttrKind R = determinePointerReadAttrs(A, Self); in AddArgumentAttrs()
691 Attribute::AttrKind ReadAttr = Attribute::ReadNone; in AddArgumentAttrs()
694 Attribute::AttrKind K = determinePointerReadAttrs(A, ArgumentSCCNodes); in AddArgumentAttrs()
/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h81 static attr::Kind getAttrKind(llvm::StringRef AttrKind) {
82 return llvm::StringSwitch<attr::Kind>(AttrKind)
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp166 Attribute::AttrKind AK[] = { Attribute::NoCapture }; in TEST_F()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp1293 template<typename AttrKind>
1294 static bool attributeMatches(Function *F1, Function *F2, AttrKind Attr) { in attributeMatches()
/external/llvm/lib/AsmParser/
DLLParser.h226 bool ParseOptionalDerefAttrBytes(lltok::Kind AttrKind, uint64_t &Bytes);
DLLParser.cpp1539 bool LLParser::ParseOptionalDerefAttrBytes(lltok::Kind AttrKind, in ParseOptionalDerefAttrBytes() argument
1541 assert((AttrKind == lltok::kw_dereferenceable || in ParseOptionalDerefAttrBytes()
1542 AttrKind == lltok::kw_dereferenceable_or_null) && in ParseOptionalDerefAttrBytes()
1546 if (!EatIfPresent(AttrKind)) in ParseOptionalDerefAttrBytes()
/external/clang/lib/Parse/
DParseDecl.cpp280 AttributeList::Kind AttrKind = in ParseAttributeArgsCommon() local
285 if (AttrKind == AttributeList::UnknownAttribute || in ParseAttributeArgsCommon()
286 AttrKind == AttributeList::IgnoredAttribute) { in ParseAttributeArgsCommon()
344 AttributeList::Kind AttrKind = in ParseGNUAttributeArgs() local
347 if (AttrKind == AttributeList::AT_Availability) { in ParseGNUAttributeArgs()
351 } else if (AttrKind == AttributeList::AT_ObjCBridgeRelated) { in ParseGNUAttributeArgs()
355 } else if (AttrKind == AttributeList::AT_TypeTagForDatatype) { in ParseGNUAttributeArgs()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h4033 AST_MATCHER_P(Decl, hasAttr, attr::Kind, AttrKind) { in AST_MATCHER_P() argument
4035 if (Attr->getKind() == AttrKind) in AST_MATCHER_P()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp357 std::error_code ParseAttrKind(uint64_t Code, Attribute::AttrKind *Kind);
1055 static Attribute::AttrKind GetAttrFromCode(uint64_t Code) { in GetAttrFromCode()
1157 Attribute::AttrKind *Kind) { in ParseAttrKind()
1204 Attribute::AttrKind Kind; in ParseAttributeGroupBlock()
1210 Attribute::AttrKind Kind; in ParseAttributeGroupBlock()

12