LLVM
10.0.0svn
|
#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 177 of file AttributeImpl.h.
using llvm::AttributeSetNode::iterator = const Attribute * |
Definition at line 219 of file AttributeImpl.h.
|
delete |
|
inline |
Definition at line 221 of file AttributeImpl.h.
|
inline |
Definition at line 222 of file AttributeImpl.h.
References llvm::sys::path::begin().
|
static |
Definition at line 768 of file Attributes.cpp.
References A, assert(), llvm::AMDGPU::HSAMD::Kernel::Key::Attrs, C, llvm::AttrBuilder::contains(), llvm::SmallVectorImpl< T >::emplace_back(), llvm::Attribute::EndAttrKinds, llvm::Attribute::get(), llvm::AttrBuilder::getAlignment(), llvm::AttrBuilder::getAllocSizeArgs(), llvm::AttrBuilder::getByValType(), llvm::AttrBuilder::getDereferenceableBytes(), llvm::AttrBuilder::getDereferenceableOrNullBytes(), llvm::AttrBuilder::getStackAlignment(), llvm::Attribute::getWithAlignment(), llvm::Attribute::getWithAllocSizeArgs(), llvm::Attribute::getWithByValType(), llvm::Attribute::getWithDereferenceableBytes(), llvm::Attribute::getWithDereferenceableOrNullBytes(), llvm::Attribute::getWithStackAlignment(), llvm::Attribute::None, llvm::SmallVectorTemplateBase< T >::push_back(), and llvm::AttrBuilder::td_attrs().
Referenced by llvm::AttributeSet::get().
|
static |
Definition at line 736 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().
MaybeAlign AttributeSetNode::getAlignment | ( | ) | const |
Definition at line 838 of file Attributes.cpp.
References I, and llvm::Attribute::None.
Definition at line 874 of file Attributes.cpp.
References I.
std::string AttributeSetNode::getAsString | ( | bool | InAttrGrp | ) | const |
Definition at line 881 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 822 of file Attributes.cpp.
References llvm::Attribute::hasAttribute(), and I.
Definition at line 831 of file Attributes.cpp.
References I.
Type * AttributeSetNode::getByValType | ( | ) | const |
Definition at line 852 of file Attributes.cpp.
References I.
uint64_t AttributeSetNode::getDereferenceableBytes | ( | ) | const |
Definition at line 859 of file Attributes.cpp.
References I.
uint64_t AttributeSetNode::getDereferenceableOrNullBytes | ( | ) | const |
Definition at line 866 of file Attributes.cpp.
References I.
|
inline |
Return the number of attributes this AttributeList contains.
Definition at line 200 of file AttributeImpl.h.
MaybeAlign AttributeSetNode::getStackAlignment | ( | ) | const |
Definition at line 845 of file Attributes.cpp.
References I, and llvm::Attribute::None.
|
inline |
Definition at line 202 of file AttributeImpl.h.
References llvm::AttributeImpl::hasAttribute().
Definition at line 815 of file Attributes.cpp.
References I.
|
inline |
Definition at line 206 of file AttributeImpl.h.
References getAlignment(), and getAttribute().
|
inline |
Definition at line 193 of file AttributeImpl.h.
References llvm::AMDGPU::HSAMD::Kernel::Key::Attrs, B, and C.
|
delete |
|
inline |
Definition at line 224 of file AttributeImpl.h.
References llvm::sys::path::begin(), llvm::sys::path::end(), llvm::makeArrayRef(), and llvm::AttributeImpl::Profile().
|
inlinestatic |
Definition at line 228 of file AttributeImpl.h.