Home
last modified time | relevance | path

Searched refs:AvailableAttrs (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/llvm/lib/IR/
DAttributeImpl.h193 uint8_t AvailableAttrs[12] = {}; variable
194 static_assert(Attribute::EndAttrKinds <= sizeof(AvailableAttrs) * CHAR_BIT,
199 return AvailableAttrs[Kind / 8] & (1 << (Kind % 8)); in hasAttribute()
203 AvailableAttrs[Kind / 8] |= 1 << (Kind % 8); in addAttribute()
217 AttributeBitSet AvailableAttrs; ///< Available enum attributes. variable
242 return AvailableAttrs.hasAttribute(Kind); in hasAttribute()
DAttributes.cpp808 AvailableAttrs.addAttribute(I.getKindAsEnum()); in AttributeSetNode()
/external/llvm/lib/IR/
DAttributeImpl.h156 uint64_t AvailableAttrs; variable
159 : NumAttrs(Attrs.size()), AvailableAttrs(0) { in AttributeSetNode()
160 static_assert(Attribute::EndAttrKinds <= sizeof(AvailableAttrs) * CHAR_BIT, in AttributeSetNode()
167 AvailableAttrs |= ((uint64_t)1) << I.getKindAsEnum(); in AttributeSetNode()
184 return AvailableAttrs & ((uint64_t)1) << Kind; in hasAttribute()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributeImpl.h184 uint8_t AvailableAttrs[12] = {}; variable
203 return AvailableAttrs[Kind / 8] & ((uint64_t)1) << (Kind % 8); in hasAttribute()
DAttributes.cpp725 sizeof(AvailableAttrs) * CHAR_BIT, in AttributeSetNode()
731 AvailableAttrs[Kind / 8] |= 1ULL << (Kind % 8); in AttributeSetNode()