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

References

gen/include/llvm/IR/IntrinsicImpl.inc
18289       const Attribute::AttrKind Atts[] = {Attribute::NoUnwind,Attribute::NoReturn,Attribute::Cold};
gen/lib/IR/AttributesCompatFunc.inc
   78     .Case("cold", Attribute::Cold)
  203     return llvm::Attribute::Cold;
lib/Analysis/BranchProbabilityInfo.cpp
  200       if (CI->hasFnAttr(Attribute::Cold)) {
lib/Analysis/ProfileSummaryInfo.cpp
  227   if (F->hasFnAttribute(Attribute::Cold))
lib/AsmParser/LLParser.cpp
 1272     case lltok::kw_cold: B.addAttribute(Attribute::Cold); break;
lib/Bitcode/Reader/BitcodeReader.cpp
 1255   case Attribute::Cold:            return 1ULL << 40;
 1428     return Attribute::Cold;
lib/Bitcode/Writer/BitcodeWriter.cpp
  616   case Attribute::Cold:
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  676   if (F.hasFnAttribute(Attribute::Cold))
lib/CodeGen/CodeGenPrepare.cpp
 1845   if (!OptSize && CI->hasFnAttr(Attribute::Cold))
 4474       if (!OptSize && CI->hasFnAttr(Attribute::Cold))
lib/IR/Attributes.cpp
  391   if (hasAttribute(Attribute::Cold))
lib/IR/Verifier.cpp
 1534   case Attribute::Cold:
lib/Transforms/IPO/ForceFunctionAttrs.cpp
   31       .Case("cold", Attribute::Cold)
lib/Transforms/IPO/HotColdSplitting.cpp
  112       if (CS.hasFnAttr(Attribute::Cold) && !CS->getMetadata("nosanitize"))
  148   if (!F.hasFnAttribute(Attribute::Cold)) {
  149     F.addFnAttr(Attribute::Cold);
  187   if (F.hasFnAttribute(Attribute::Cold))
lib/Transforms/IPO/SyntheticCountsPropagation.cpp
   88     } else if (F.hasFnAttribute(Attribute::Cold) ||
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
 1631     F->addFnAttr(Attribute::Cold);
lib/Transforms/Utils/CodeExtractor.cpp
  890       case Attribute::Cold:
lib/Transforms/Utils/SimplifyLibCalls.cpp
 2296   if (!CI->hasFnAttr(Attribute::Cold) &&
 2298     CI->addAttribute(AttributeList::FunctionIndex, Attribute::Cold);
tools/clang/lib/CodeGen/CGCall.cpp
 1847       FuncAttrs.addAttribute(llvm::Attribute::Cold);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1586       B.addAttribute(llvm::Attribute::Cold);
unittests/IR/InstructionsTest.cpp
  549   AB.addAttribute(Attribute::Cold);
  559   EXPECT_TRUE(Clone->hasFnAttr(Attribute::AttrKind::Cold));
  578   AB.addAttribute(Attribute::Cold);
  591   EXPECT_TRUE(Clone->hasFnAttr(Attribute::AttrKind::Cold));