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

Declarations

include/llvm/IR/Attributes.h
  575   bool hasFnAttribute(Attribute::AttrKind Kind) const;

References

include/llvm/IR/Function.h
  324     return AttributeSets.hasFnAttribute(Kind);
lib/Analysis/ModuleSummaryAnalysis.cpp
  469       F.getAttributes().hasFnAttribute(Attribute::NoInline)};
lib/CodeGen/MachineVerifier.cpp
 1361       bool DeclHasSideEffects = !Attrs.hasFnAttribute(Attribute::ReadNone);
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 3866     if (!isIntDivCheap(VT, Attr) && !Attr.hasFnAttribute(Attribute::MinSize)) {
lib/IR/Verifier.cpp
 1776   Assert(!(Attrs.hasFnAttribute(Attribute::ReadNone) &&
 1777            Attrs.hasFnAttribute(Attribute::ReadOnly)),
 1780   Assert(!(Attrs.hasFnAttribute(Attribute::ReadNone) &&
 1781            Attrs.hasFnAttribute(Attribute::WriteOnly)),
 1784   Assert(!(Attrs.hasFnAttribute(Attribute::ReadOnly) &&
 1785            Attrs.hasFnAttribute(Attribute::WriteOnly)),
 1788   Assert(!(Attrs.hasFnAttribute(Attribute::ReadNone) &&
 1789            Attrs.hasFnAttribute(Attribute::InaccessibleMemOrArgMemOnly)),
 1794   Assert(!(Attrs.hasFnAttribute(Attribute::ReadNone) &&
 1795            Attrs.hasFnAttribute(Attribute::InaccessibleMemOnly)),
 1798   Assert(!(Attrs.hasFnAttribute(Attribute::NoInline) &&
 1799            Attrs.hasFnAttribute(Attribute::AlwaysInline)),
 1802   if (Attrs.hasFnAttribute(Attribute::OptimizeNone)) {
 1803     Assert(Attrs.hasFnAttribute(Attribute::NoInline),
 1806     Assert(!Attrs.hasFnAttribute(Attribute::OptimizeForSize),
 1809     Assert(!Attrs.hasFnAttribute(Attribute::MinSize),
 1813   if (Attrs.hasFnAttribute(Attribute::JumpTable)) {
 1819   if (Attrs.hasFnAttribute(Attribute::AllocSize)) {
 2169   Assert(!Attrs.hasFnAttribute(Attribute::Builtin),
lib/Target/AArch64/AArch64ISelLowering.cpp
 9032       !FuncAttributes.hasFnAttribute(Attribute::NoImplicitFloat);
 9065       !FuncAttributes.hasFnAttribute(Attribute::NoImplicitFloat);
lib/Target/AMDGPU/SIISelLowering.cpp
  912     if (Attr.hasFnAttribute(Attribute::ReadNone))
  929     if (Attr.hasFnAttribute(Attribute::ReadOnly)) {
  938     } else if (Attr.hasFnAttribute(Attribute::WriteOnly)) {
lib/Target/ARM/ARMISelLowering.cpp
14651       !FuncAttributes.hasFnAttribute(Attribute::NoImplicitFloat)) {
lib/Target/PowerPC/PPCISelLowering.cpp
14828         !FuncAttributes.hasFnAttribute(Attribute::NoImplicitFloat)) {
lib/Target/X86/X86ISelLowering.cpp
 2088   if (!FuncAttributes.hasFnAttribute(Attribute::NoImplicitFloat)) {
unittests/IR/AttributesTest.cpp
   62   EXPECT_TRUE(AL.hasFnAttribute(Attribute::NoReturn));
   67   EXPECT_TRUE(AL.hasFnAttribute(Attribute::NoReturn));