reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Attributes.h
  280   bool hasAttribute(StringRef Kind) const;

References

include/llvm/IR/GlobalVariable.h
  204     return Attrs.hasAttribute(Kind);
  244     return getAttributes().hasAttribute("bss-section") ||
  245            getAttributes().hasAttribute("data-section") ||
  246            getAttributes().hasAttribute("relro-section") ||
  247            getAttributes().hasAttribute("rodata-section");
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  567     if (Attrs.hasAttribute("bss-section") && Kind.isBSS()) {
  569     } else if (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly()) {
  571     } else if (Attrs.hasAttribute("relro-section") && Kind.isReadOnlyWithRel()) {
  573     } else if (Attrs.hasAttribute("data-section") && Kind.isData()) {
lib/IR/Attributes.cpp
  637   if (!hasAttribute(Kind)) return *this;
 1307   return getAttributes(Index).hasAttribute(Kind);
lib/Target/TargetLoweringObjectFile.cpp
  254     if ((Attrs.hasAttribute("bss-section") && Kind.isBSS()) ||
  255         (Attrs.hasAttribute("data-section") && Kind.isData()) ||
  256         (Attrs.hasAttribute("relro-section") && Kind.isReadOnlyWithRel()) ||
  257         (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly()))  {
tools/bugpoint-passes/TestPasses.cpp
  139     if (A.hasAttribute("bugpoint-crash"))