Home
last modified time | relevance | path

Searched refs:getKindAsEnum (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm/lib/IR/
DAttributeImpl.h62 Attribute::AttrKind getKindAsEnum() const;
73 Profile(ID, getKindAsEnum(), 0); in Profile()
75 Profile(ID, getKindAsEnum(), getValueAsInt()); in Profile()
167 AvailableAttrs |= ((uint64_t)1) << I.getKindAsEnum(); in AttributeSetNode()
270 AvailableFunctionAttrs |= ((uint64_t)1) << I.getKindAsEnum(); in AttributeSetImpl()
DAttributes.cpp157 Attribute::AttrKind Attribute::getKindAsEnum() const { in getKindAsEnum() function in Attribute
161 return pImpl->getKindAsEnum(); in getKindAsEnum()
413 return getKindAsEnum() == A; in hasAttribute()
421 Attribute::AttrKind AttributeImpl::getKindAsEnum() const { in getKindAsEnum() function in AttributeImpl
445 if (AI.isEnumAttribute()) return getKindAsEnum() < AI.getKindAsEnum(); in operator <()
453 if (getKindAsEnum() == AI.getKindAsEnum()) in operator <()
455 return getKindAsEnum() < AI.getKindAsEnum(); in operator <()
661 Attribute::AttrKind Kind = Attr.getKindAsEnum(); in Raw()
1276 Attribute::AttrKind Kind = Attr.getKindAsEnum(); in addAttribute()
1328 removeAttribute(Attr.getKindAsEnum()); in removeAttributes()
[all …]
DVerifier.cpp1273 if (I->getKindAsEnum() == Attribute::NoReturn || in verifyAttributeTypes()
1274 I->getKindAsEnum() == Attribute::NoUnwind || in verifyAttributeTypes()
1275 I->getKindAsEnum() == Attribute::NoInline || in verifyAttributeTypes()
1276 I->getKindAsEnum() == Attribute::AlwaysInline || in verifyAttributeTypes()
1277 I->getKindAsEnum() == Attribute::OptimizeForSize || in verifyAttributeTypes()
1278 I->getKindAsEnum() == Attribute::StackProtect || in verifyAttributeTypes()
1279 I->getKindAsEnum() == Attribute::StackProtectReq || in verifyAttributeTypes()
1280 I->getKindAsEnum() == Attribute::StackProtectStrong || in verifyAttributeTypes()
1281 I->getKindAsEnum() == Attribute::SafeStack || in verifyAttributeTypes()
1282 I->getKindAsEnum() == Attribute::NoRedZone || in verifyAttributeTypes()
[all …]
DCore.cpp140 return unwrap(A).getKindAsEnum(); in LLVMGetEnumAttributeKind()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributeImpl.h66 Attribute::AttrKind getKindAsEnum() const;
79 Profile(ID, getKindAsEnum(), static_cast<uint64_t>(0)); in Profile()
81 Profile(ID, getKindAsEnum(), getValueAsInt()); in Profile()
85 Profile(ID, getKindAsEnum(), getValueAsType()); in Profile()
DAttributes.cpp199 Attribute::AttrKind Attribute::getKindAsEnum() const { in getKindAsEnum() function in Attribute
203 return pImpl->getKindAsEnum(); in getKindAsEnum()
511 return getKindAsEnum() == A; in hasAttribute()
519 Attribute::AttrKind AttributeImpl::getKindAsEnum() const { in getKindAsEnum() function in AttributeImpl
548 if (AI.isEnumAttribute()) return getKindAsEnum() < AI.getKindAsEnum(); in operator <()
557 assert(getKindAsEnum() != AI.getKindAsEnum() && in operator <()
559 return getKindAsEnum() < AI.getKindAsEnum(); in operator <()
569 if (getKindAsEnum() == AI.getKindAsEnum()) in operator <()
571 return getKindAsEnum() < AI.getKindAsEnum(); in operator <()
730 Attribute::AttrKind Kind = I.getKindAsEnum(); in AttributeSetNode()
[all …]
DVerifier.cpp1568 if (isFuncOnlyAttr(A.getKindAsEnum())) { in verifyAttributeTypes()
1575 } else if (IsFunction && !isFuncOrArgAttr(A.getKindAsEnum())) { in verifyAttributeTypes()
/external/llvm-project/llvm/lib/IR/
DAttributeImpl.h65 Attribute::AttrKind getKindAsEnum() const;
78 Profile(ID, getKindAsEnum(), static_cast<uint64_t>(0)); in Profile()
80 Profile(ID, getKindAsEnum(), getValueAsInt()); in Profile()
84 Profile(ID, getKindAsEnum(), getValueAsType()); in Profile()
DAttributes.cpp254 Attribute::AttrKind Attribute::getKindAsEnum() const { in getKindAsEnum() function in Attribute
258 return pImpl->getKindAsEnum(); in getKindAsEnum()
577 return getKindAsEnum() == A; in hasAttribute()
585 Attribute::AttrKind AttributeImpl::getKindAsEnum() const { in getKindAsEnum() function in AttributeImpl
616 if (AI.isEnumAttribute()) return getKindAsEnum() < AI.getKindAsEnum(); in operator <()
625 assert(getKindAsEnum() != AI.getKindAsEnum() && in operator <()
627 return getKindAsEnum() < AI.getKindAsEnum(); in operator <()
637 if (getKindAsEnum() == AI.getKindAsEnum()) in operator <()
639 return getKindAsEnum() < AI.getKindAsEnum(); in operator <()
808 AvailableAttrs.addAttribute(I.getKindAsEnum()); in AttributeSetNode()
[all …]
DVerifier.cpp1664 Attribute::doesAttrKindHaveArgument(A.getKindAsEnum())) { in verifyAttributeTypes()
1670 if (isFuncOnlyAttr(A.getKindAsEnum())) { in verifyAttributeTypes()
1677 } else if (IsFunction && !isFuncOrArgAttr(A.getKindAsEnum())) { in verifyAttributeTypes()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp117 if (LA.getKindAsEnum() != RA.getKindAsEnum()) in cmpAttrs()
118 return cmpNumbers(LA.getKindAsEnum(), RA.getKindAsEnum()); in cmpAttrs()
DCodeExtractor.cpp846 switch (Attr.getKindAsEnum()) { in constructFunction()
/external/llvm-project/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp122 if (LA.getKindAsEnum() != RA.getKindAsEnum()) in cmpAttrs()
123 return cmpNumbers(LA.getKindAsEnum(), RA.getKindAsEnum()); in cmpAttrs()
DAssumeBundleBuilder.cpp197 !isUsefullToPreserve(Attr.getKindAsEnum()))) in addAttribute()
202 addKnowledge({Attr.getKindAsEnum(), AttrArg, WasOn}); in addAttribute()
DCodeExtractor.cpp895 switch (Attr.getKindAsEnum()) { in constructFunction()
/external/llvm-project/llvm/include/llvm/IR/
DAttributes.h119 return get(Context, getKindAsEnum(), ReplacementTy); in getWithNewType()
161 Attribute::AttrKind getKindAsEnum() const;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.h125 Attribute::AttrKind getKindAsEnum() const;
/external/llvm/include/llvm/IR/
DAttributes.h125 Attribute::AttrKind getKindAsEnum() const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DAttributes.h134 Attribute::AttrKind getKindAsEnum() const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DAttributor.cpp366 Attribute::AttrKind Kind = Attr.getKindAsEnum(); in addIfNotExistent()
382 Attribute::AttrKind Kind = Attr.getKindAsEnum(); in addIfNotExistent()
540 if (EquivIRP.getAttr(AK).getKindAsEnum() == AK) in hasAttr()
557 if (Attr.getKindAsEnum() == AK) in getAttrs()
4651 switch (Attr.getKindAsEnum()) { in getKnownStateFromValue()
4695 return IRP.hasAttr(Attr.getKindAsEnum(), in manifest()
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributor.cpp170 Attribute::AttrKind Kind = Attr.getKindAsEnum(); in addIfNotExistent()
186 Attribute::AttrKind Kind = Attr.getKindAsEnum(); in addIfNotExistent()
DAttributorAttributes.cpp5819 switch (Attr.getKindAsEnum()) { in getKnownStateFromValue()
5866 return IRP.hasAttr(Attr.getKindAsEnum(), in manifest()
6419 switch (Attr.getKindAsEnum()) { in getKnownStateFromValue()
6471 return IRP.hasAttr(Attr.getKindAsEnum(), in manifest()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp755 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); in writeAttributeGroupTable()
758 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); in writeAttributeGroupTable()
775 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); in writeAttributeGroupTable()
/external/llvm-project/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp780 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); in writeAttributeGroupTable()
783 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); in writeAttributeGroupTable()
800 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); in writeAttributeGroupTable()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp703 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); in writeAttributeGroupTable()
706 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); in writeAttributeGroupTable()

12