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

References

include/llvm/IR/CallSite.h
  371     CALLSITE_DELEGATE_GETTER(hasFnAttr(Kind));
include/llvm/IR/IRBuilder.h
  268     if (!I->hasFnAttr(Attribute::StrictFP))
include/llvm/IR/InstrTypes.h
 1628   bool isStrictFP() const { return hasFnAttr(Attribute::StrictFP); }
 1631   bool isNoInline() const { return hasFnAttr(Attribute::NoInline); }
 1636   bool doesNotAccessMemory() const { return hasFnAttr(Attribute::ReadNone); }
 1643     return doesNotAccessMemory() || hasFnAttr(Attribute::ReadOnly);
 1651     return doesNotAccessMemory() || hasFnAttr(Attribute::WriteOnly);
 1660     return hasFnAttr(Attribute::ArgMemOnly);
 1669     return hasFnAttr(Attribute::InaccessibleMemOnly);
 1678     return hasFnAttr(Attribute::InaccessibleMemOrArgMemOnly);
 1685   bool doesNotReturn() const { return hasFnAttr(Attribute::NoReturn); }
 1691   bool doesNoCfCheck() const { return hasFnAttr(Attribute::NoCfCheck); }
 1694   bool doesNotThrow() const { return hasFnAttr(Attribute::NoUnwind); }
 1700   bool cannotDuplicate() const { return hasFnAttr(Attribute::NoDuplicate); }
 1706   bool isConvergent() const { return hasFnAttr(Attribute::Convergent); }
include/llvm/IR/Instructions.h
 1663   bool canReturnTwice() const { return hasFnAttr(Attribute::ReturnsTwice); }
 3831   bool doesNoCfCheck() const { return hasFnAttr(Attribute::NoCfCheck); }
 3834   bool doesNotThrow() const { return hasFnAttr(Attribute::NoUnwind); }
lib/Analysis/BranchProbabilityInfo.cpp
  200       if (CI->hasFnAttr(Attribute::Cold)) {
lib/Analysis/InlineCost.cpp
 1232   if (Call.hasFnAttr(Attribute::ReturnsTwice) &&
 2039   if (Call.hasFnAttr(Attribute::AlwaysInline)) {
lib/CodeGen/CodeGenPrepare.cpp
 1845   if (!OptSize && CI->hasFnAttr(Attribute::Cold))
 4474       if (!OptSize && CI->hasFnAttr(Attribute::Cold))
lib/IR/Function.cpp
 1459       if (Call->hasFnAttr(Attribute::ReturnsTwice))
lib/Transforms/IPO/HotColdSplitting.cpp
  120       if (CI->hasFnAttr(Attribute::NoReturn))
lib/Transforms/Utils/SimplifyLibCalls.cpp
 2065   return CI->hasFnAttr(Attribute::NoUnwind) &&
 2066          CI->hasFnAttr(Attribute::ReadNone);
 2296   if (!CI->hasFnAttr(Attribute::Cold) &&
unittests/IR/InstructionsTest.cpp
  559   EXPECT_TRUE(Clone->hasFnAttr(Attribute::AttrKind::Cold));
  591   EXPECT_TRUE(Clone->hasFnAttr(Attribute::AttrKind::Cold));