|
LLVM
4.0.0
|
#include <AttributeImpl.h>
Public Member Functions | |
| AttributeImpl (const AttributeImpl &)=delete | |
| AttributeImpl & | operator= (const AttributeImpl &)=delete |
| virtual | ~AttributeImpl () |
| bool | isEnumAttribute () const |
| bool | isIntAttribute () const |
| bool | isStringAttribute () const |
| bool | hasAttribute (Attribute::AttrKind A) const |
| bool | hasAttribute (StringRef Kind) const |
| Attribute::AttrKind | getKindAsEnum () const |
| uint64_t | getValueAsInt () const |
| StringRef | getKindAsString () const |
| StringRef | getValueAsString () const |
| bool | operator< (const AttributeImpl &AI) const |
| Used when sorting the attributes. More... | |
| void | Profile (FoldingSetNodeID &ID) const |
Public Member Functions inherited from llvm::FoldingSetImpl::Node | |
| Node () | |
| void * | getNextInBucket () const |
| void | SetNextInBucket (void *N) |
Static Public Member Functions | |
| static void | Profile (FoldingSetNodeID &ID, Attribute::AttrKind Kind, uint64_t Val) |
| static void | Profile (FoldingSetNodeID &ID, StringRef Kind, StringRef Values) |
Protected Types | |
| enum | AttrEntryKind { EnumAttrEntry, IntAttrEntry, StringAttrEntry } |
Protected Member Functions | |
| AttributeImpl (AttrEntryKind KindID) | |
Definition at line 41 of file AttributeImpl.h.
|
protected |
| Enumerator | |
|---|---|
| EnumAttrEntry | |
| IntAttrEntry | |
| StringAttrEntry | |
Definition at line 45 of file AttributeImpl.h.
|
inlineprotected |
Definition at line 51 of file AttributeImpl.h.
|
delete |
|
virtual |
Definition at line 414 of file Attributes.cpp.
| Attribute::AttrKind AttributeImpl::getKindAsEnum | ( | ) | const |
Definition at line 429 of file Attributes.cpp.
References assert(), isEnumAttribute(), and isIntAttribute().
Referenced by llvm::Attribute::getKindAsEnum(), hasAttribute(), operator<(), and Profile().
| StringRef AttributeImpl::getKindAsString | ( | ) | const |
Definition at line 439 of file Attributes.cpp.
References assert(), and isStringAttribute().
Referenced by llvm::Attribute::getKindAsString(), hasAttribute(), operator<(), and Profile().
| uint64_t AttributeImpl::getValueAsInt | ( | ) | const |
Definition at line 434 of file Attributes.cpp.
References assert(), and isIntAttribute().
Referenced by llvm::Attribute::getAlignment(), llvm::Attribute::getAllocSizeArgs(), llvm::Attribute::getDereferenceableBytes(), llvm::Attribute::getDereferenceableOrNullBytes(), llvm::Attribute::getStackAlignment(), llvm::Attribute::getValueAsInt(), operator<(), and Profile().
| StringRef AttributeImpl::getValueAsString | ( | ) | const |
Definition at line 444 of file Attributes.cpp.
References assert(), and isStringAttribute().
Referenced by llvm::Attribute::getAsString(), llvm::Attribute::getValueAsString(), operator<(), and Profile().
| bool AttributeImpl::hasAttribute | ( | Attribute::AttrKind | A | ) | const |
Definition at line 419 of file Attributes.cpp.
References A, getKindAsEnum(), and isStringAttribute().
Referenced by llvm::Attribute::hasAttribute().
Definition at line 424 of file Attributes.cpp.
References getKindAsString(), isStringAttribute(), and Kind.
|
inline |
Definition at line 60 of file AttributeImpl.h.
References EnumAttrEntry.
Referenced by getKindAsEnum(), llvm::Attribute::isEnumAttribute(), operator<(), and Profile().
|
inline |
Definition at line 61 of file AttributeImpl.h.
References IntAttrEntry.
Referenced by getKindAsEnum(), getValueAsInt(), llvm::Attribute::isIntAttribute(), operator<(), and Profile().
|
inline |
Definition at line 62 of file AttributeImpl.h.
References StringAttrEntry.
Referenced by getKindAsString(), getValueAsString(), hasAttribute(), llvm::Attribute::isStringAttribute(), and operator<().
| bool AttributeImpl::operator< | ( | const AttributeImpl & | AI | ) | const |
Used when sorting the attributes.
Definition at line 449 of file Attributes.cpp.
References getKindAsEnum(), getKindAsString(), getValueAsInt(), getValueAsString(), isEnumAttribute(), isIntAttribute(), and isStringAttribute().
|
delete |
|
inline |
Definition at line 76 of file AttributeImpl.h.
References getKindAsEnum(), getKindAsString(), getValueAsInt(), getValueAsString(), isEnumAttribute(), and isIntAttribute().
|
inlinestatic |
Definition at line 84 of file AttributeImpl.h.
References llvm::FoldingSetNodeID::AddInteger().
|
inlinestatic |
Definition at line 89 of file AttributeImpl.h.
References llvm::FoldingSetNodeID::AddString(), and llvm::StringRef::empty().
1.8.6