14#ifndef LLVM_IR_ATTRIBUTEMASK_H
15#define LLVM_IR_ATTRIBUTEMASK_H
30 std::bitset<Attribute::EndAttrKinds> Attrs;
31 std::set<SmallString<32>, std::less<>> TargetDepAttrs;
46 "Attribute out of range!");
53 if (
A.isStringAttribute())
62 TargetDepAttrs.insert(
A);
78 if (
A.isStringAttribute())
This file contains the simple types necessary to represent the attributes associated with functions a...
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
This file defines the SmallString class.
AttributeMask(AttributeSet AS)
bool contains(StringRef A) const
Return true if the builder has the specified target-dependent attribute.
AttributeMask(const AttributeMask &)=delete
AttributeMask & addAttribute(StringRef A)
Add the target-dependent attribute to the builder.
AttributeMask & addAttribute(Attribute::AttrKind Val)
Add an attribute to the mask.
AttributeMask(AttributeMask &&)=default
bool contains(Attribute::AttrKind A) const
Return true if the builder has the specified attribute.
AttributeMask & addAttribute(Attribute A)
Add the Attribute object to the builder.
bool contains(Attribute A) const
Return true if the mask contains the specified attribute.
AttrKind
This enumeration lists the attributes that can be associated with parameters, function results,...
@ EndAttrKinds
Sentinel value useful for loops.
StringRef - Represent a constant reference to a string, i.e.
This is an optimization pass for GlobalISel generic memory operations.