LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::StringAttributeImpl Class Reference

#include "IR/AttributeImpl.h"

Inheritance diagram for llvm::StringAttributeImpl:
Inheritance graph
[legend]
Collaboration diagram for llvm::StringAttributeImpl:
Collaboration graph
[legend]

Public Member Functions

 StringAttributeImpl (StringRef Kind, StringRef Val=StringRef())
 
StringRef getStringKind () const
 
StringRef getStringValue () const
 
- Public Member Functions inherited from llvm::AttributeImpl
 AttributeImpl (const AttributeImpl &)=delete
 
AttributeImploperator= (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::FoldingSetBase::Node
 Node ()=default
 
void * getNextInBucket () const
 
void SetNextInBucket (void *N)
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::AttributeImpl
static void Profile (FoldingSetNodeID &ID, Attribute::AttrKind Kind, uint64_t Val)
 
static void Profile (FoldingSetNodeID &ID, StringRef Kind, StringRef Values)
 
- Protected Types inherited from llvm::AttributeImpl
enum  AttrEntryKind { EnumAttrEntry, IntAttrEntry, StringAttrEntry }
 
- Protected Member Functions inherited from llvm::AttributeImpl
 AttributeImpl (AttrEntryKind KindID)
 

Detailed Description

Definition at line 135 of file AttributeImpl.h.

Constructor & Destructor Documentation

◆ StringAttributeImpl()

llvm::StringAttributeImpl::StringAttributeImpl ( StringRef  Kind,
StringRef  Val = StringRef() 
)
inline

Definition at line 142 of file AttributeImpl.h.

Member Function Documentation

◆ getStringKind()

StringRef llvm::StringAttributeImpl::getStringKind ( ) const
inline

Definition at line 145 of file AttributeImpl.h.

References Kind.

◆ getStringValue()

StringRef llvm::StringAttributeImpl::getStringValue ( ) const
inline

Definition at line 146 of file AttributeImpl.h.


The documentation for this class was generated from the following files: