LLVM
8.0.1
|
#include "IR/AttributeImpl.h"
Public Types | |
using | iterator = const Attribute * |
Static Public Member Functions | |
static AttributeSetNode * | get (LLVMContext &C, const AttrBuilder &B) |
static AttributeSetNode * | get (LLVMContext &C, ArrayRef< Attribute > Attrs) |
static void | Profile (FoldingSetNodeID &ID, ArrayRef< Attribute > AttrList) |
Definition at line 153 of file AttributeImpl.h.
using llvm::AttributeSetNode::iterator = const Attribute * |
Definition at line 194 of file AttributeImpl.h.
|
delete |
|
inline |
Definition at line 196 of file AttributeImpl.h.
|
inline |
Definition at line 197 of file AttributeImpl.h.
References llvm::sys::path::begin().
|
static |
Definition at line 683 of file Attributes.cpp.
References A, llvm::Attribute::Alignment, llvm::Attribute::AllocSize, llvm::AMDGPU::HSAMD::Kernel::Key::Attrs, C, llvm::AttrBuilder::contains(), llvm::Attribute::Dereferenceable, llvm::Attribute::DereferenceableOrNull, llvm::SmallVectorImpl< T >::emplace_back(), llvm::Attribute::EndAttrKinds, llvm::Attribute::get(), llvm::AttrBuilder::getAlignment(), llvm::AttrBuilder::getAllocSizeArgs(), llvm::AttrBuilder::getDereferenceableBytes(), llvm::AttrBuilder::getDereferenceableOrNullBytes(), llvm::AttrBuilder::getStackAlignment(), llvm::Attribute::getWithAlignment(), llvm::Attribute::getWithAllocSizeArgs(), llvm::Attribute::getWithDereferenceableBytes(), llvm::Attribute::getWithDereferenceableOrNullBytes(), llvm::Attribute::getWithStackAlignment(), Kind, llvm::Attribute::None, llvm::SmallVectorTemplateBase< T >::push_back(), llvm::Attribute::StackAlignment, and llvm::AttrBuilder::td_attrs().
Referenced by llvm::AttributeSet::get().
|
static |
Definition at line 651 of file Attributes.cpp.
References llvm::LLVMContextImpl::AttrsSetNodes, llvm::ArrayRef< T >::begin(), llvm::ArrayRef< T >::empty(), llvm::ArrayRef< T >::end(), llvm::LLVMContext::pImpl, and llvm::sort().
unsigned AttributeSetNode::getAlignment | ( | ) | const |
Definition at line 748 of file Attributes.cpp.
References llvm::Attribute::Alignment, and I.
Definition at line 777 of file Attributes.cpp.
References llvm::Attribute::AllocSize, and I.
std::string AttributeSetNode::getAsString | ( | bool | InAttrGrp | ) | const |
Definition at line 784 of file Attributes.cpp.
References llvm::sys::path::begin(), E, llvm::sys::path::end(), and I.
Attribute AttributeSetNode::getAttribute | ( | Attribute::AttrKind | Kind | ) | const |
Definition at line 732 of file Attributes.cpp.
References llvm::Attribute::hasAttribute(), and I.
Definition at line 741 of file Attributes.cpp.
References I.
uint64_t AttributeSetNode::getDereferenceableBytes | ( | ) | const |
Definition at line 762 of file Attributes.cpp.
References llvm::Attribute::Dereferenceable, and I.
uint64_t AttributeSetNode::getDereferenceableOrNullBytes | ( | ) | const |
Definition at line 769 of file Attributes.cpp.
References llvm::Attribute::DereferenceableOrNull, and I.
|
inline |
Return the number of attributes this AttributeList contains.
Definition at line 176 of file AttributeImpl.h.
unsigned AttributeSetNode::getStackAlignment | ( | ) | const |
Definition at line 755 of file Attributes.cpp.
References I, and llvm::Attribute::StackAlignment.
|
inline |
Definition at line 178 of file AttributeImpl.h.
References llvm::AttributeImpl::hasAttribute(), and Kind.
Definition at line 725 of file Attributes.cpp.
References I.
|
inline |
Definition at line 182 of file AttributeImpl.h.
References getAlignment().
|
inline |
Definition at line 169 of file AttributeImpl.h.
References llvm::AMDGPU::HSAMD::Kernel::Key::Attrs, B, and C.
|
delete |
|
inline |
Definition at line 199 of file AttributeImpl.h.
References llvm::sys::path::begin(), llvm::sys::path::end(), llvm::makeArrayRef(), and llvm::AttributeImpl::Profile().
|
inlinestatic |
Definition at line 203 of file AttributeImpl.h.