Jlm
Public Member Functions | Private Attributes | List of all members
jlm::llvm::StringAttribute Class Referencefinal

String attribute. More...

#include <attribute.hpp>

Inheritance diagram for jlm::llvm::StringAttribute:
Inheritance graph
[legend]
Collaboration diagram for jlm::llvm::StringAttribute:
Collaboration graph
[legend]

Public Member Functions

 ~StringAttribute () noexcept override
 
 StringAttribute (const std::string &kind, const std::string &value)
 
const std::string & kind () const noexcept
 
const std::string & value () const noexcept
 
bool operator== (const Attribute &) const override
 
- Public Member Functions inherited from jlm::llvm::Attribute
virtual ~Attribute () noexcept
 
virtual bool operator!= (const Attribute &other) const
 

Private Attributes

std::string kind_
 
std::string value_
 

Additional Inherited Members

- Public Types inherited from jlm::llvm::Attribute
enum class  kind {
  None , FirstEnumAttr , AllocAlign , AllocatedPointer ,
  AlwaysInline , Builtin , Cold , Convergent ,
  CoroDestroyOnlyWhenComplete , DeadOnUnwind , DisableSanitizerInstrumentation , FnRetThunkExtern ,
  Hot , ImmArg , InReg , InlineHint ,
  JumpTable , Memory , MinSize , MustProgress ,
  Naked , Nest , NoAlias , NoBuiltin ,
  NoCallback , NoCapture , NoCfCheck , NoDuplicate ,
  NoFree , NoImplicitFloat , NoInline , NoMerge ,
  NoProfile , NoRecurse , NoRedZone , NoReturn ,
  NoSanitizeBounds , NoSanitizeCoverage , NoSync , NoUndef ,
  NoUnwind , NonLazyBind , NonNull , NullPointerIsValid ,
  OptForFuzzing , OptimizeForDebugging , OptimizeForSize , OptimizeNone ,
  PresplitCoroutine , ReadNone , ReadOnly , Returned ,
  ReturnsTwice , SExt , SafeStack , SanitizeAddress ,
  SanitizeHWAddress , SanitizeMemTag , SanitizeMemory , SanitizeThread ,
  ShadowCallStack , SkipProfile , Speculatable , SpeculativeLoadHardening ,
  StackProtect , StackProtectReq , StackProtectStrong , StrictFP ,
  SwiftAsync , SwiftError , SwiftSelf , WillReturn ,
  Writable , WriteOnly , ZExt , LastEnumAttr ,
  FirstTypeAttr , ByRef , ByVal , ElementType ,
  InAlloca , Preallocated , StructRet , LastTypeAttr ,
  FirstIntAttr , Alignment , AllocKind , AllocSize ,
  Dereferenceable , DereferenceableOrNull , NoFPClass , StackAlignment ,
  UWTable , VScaleRange , LastIntAttr , EndAttrKinds
}
 

Detailed Description

String attribute.

Definition at line 144 of file attribute.hpp.

Constructor & Destructor Documentation

◆ ~StringAttribute()

jlm::llvm::StringAttribute::~StringAttribute ( )
overridedefaultnoexcept

◆ StringAttribute()

jlm::llvm::StringAttribute::StringAttribute ( const std::string &  kind,
const std::string &  value 
)
inline

Definition at line 149 of file attribute.hpp.

Member Function Documentation

◆ kind()

const std::string& jlm::llvm::StringAttribute::kind ( ) const
inlinenoexcept

Definition at line 155 of file attribute.hpp.

◆ operator==()

bool jlm::llvm::StringAttribute::operator== ( const Attribute other) const
overridevirtual

Implements jlm::llvm::Attribute.

Definition at line 16 of file attribute.cpp.

◆ value()

const std::string& jlm::llvm::StringAttribute::value ( ) const
inlinenoexcept

Definition at line 161 of file attribute.hpp.

Member Data Documentation

◆ kind_

std::string jlm::llvm::StringAttribute::kind_
private

Definition at line 170 of file attribute.hpp.

◆ value_

std::string jlm::llvm::StringAttribute::value_
private

Definition at line 171 of file attribute.hpp.


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