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

References

gen/include/llvm/IR/IntrinsicImpl.inc
18283       const Attribute::AttrKind Atts[] = {Attribute::NoUnwind,Attribute::NoReturn};
18289       const Attribute::AttrKind Atts[] = {Attribute::NoUnwind,Attribute::NoReturn,Attribute::Cold};
18350       const Attribute::AttrKind Atts[] = {Attribute::NoReturn};
18358       const Attribute::AttrKind Atts[] = {Attribute::NoReturn};
18364       const Attribute::AttrKind Atts[] = {Attribute::NoReturn,Attribute::WriteOnly};
gen/lib/IR/AttributesCompatFunc.inc
  102     .Case("noreturn", Attribute::NoReturn)
  323     return llvm::Attribute::NoReturn;
include/llvm/IR/Function.h
  528     return hasFnAttribute(Attribute::NoReturn);
  531     addFnAttr(Attribute::NoReturn);
include/llvm/IR/InstrTypes.h
 1685   bool doesNotReturn() const { return hasFnAttr(Attribute::NoReturn); }
 1687     addAttribute(AttributeList::FunctionIndex, Attribute::NoReturn);
include/llvm/Transforms/IPO/Attributor.h
 1703     : public IRAttribute<Attribute::NoReturn,
lib/AsmParser/LLParser.cpp
 1290     case lltok::kw_noreturn: B.addAttribute(Attribute::NoReturn); break;
lib/Bitcode/Reader/BitcodeReader.cpp
 1223   case Attribute::NoReturn:        return 1 << 2;
 1476     return Attribute::NoReturn;
lib/Bitcode/Writer/BitcodeWriter.cpp
  660   case Attribute::NoReturn:
lib/CodeGen/MachineOutliner.cpp
 1305     if (F.hasFnAttribute(Attribute::NoReturn))
lib/CodeGen/MachineRegisterInfo.cpp
  582   return !(Called == nullptr || !Called->hasFnAttribute(Attribute::NoReturn) ||
lib/CodeGen/TargetFrameLoweringImpl.cpp
   34   assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) &&
  111   if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) &&
lib/IR/Attributes.cpp
  335   if (hasAttribute(Attribute::NoReturn))
lib/IR/Verifier.cpp
 1503   case Attribute::NoReturn:
lib/Target/ARM/ARMFrameLowering.cpp
   92   assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) &&
lib/Target/Hexagon/HexagonFrameLowering.cpp
  557   assert(F.hasFnAttribute(Attribute::NoReturn) &&
  577   return F.hasFnAttribute(Attribute::NoReturn) &&
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  382       F->removeFnAttr(Attribute::NoReturn);
  383     CI->removeAttribute(AttributeList::FunctionIndex, Attribute::NoReturn);
lib/Transforms/Coroutines/CoroSplit.cpp
 1196   F.removeFnAttr(Attribute::NoReturn);
lib/Transforms/IPO/ForceFunctionAttrs.cpp
   43       .Case("noreturn", Attribute::NoReturn)
lib/Transforms/IPO/HotColdSplitting.cpp
  120       if (CI->hasFnAttr(Attribute::NoReturn))
lib/Transforms/IPO/PruneEH.cpp
  159       if (!SCCMightReturn && !F->hasFnAttribute(Attribute::NoReturn)) {
  160         F->addFnAttr(Attribute::NoReturn);
lib/Transforms/Utils/CodeExtractor.cpp
  868       case Attribute::NoReturn:
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1071         llvm::Attribute::NoReturn);
12319         llvm::Attribute::NoReturn);
tools/clang/lib/CodeGen/CGCall.cpp
 1828     FuncAttrs.addAttribute(llvm::Attribute::NoReturn);
 1845       FuncAttrs.addAttribute(llvm::Attribute::NoReturn);
 1860         FuncAttrs.addAttribute(llvm::Attribute::NoReturn);
 4421         F->removeFnAttr(llvm::Attribute::NoReturn);
 4423                           llvm::Attribute::NoReturn);
tools/clang/lib/CodeGen/CGExpr.cpp
 2986     B.addAttribute(llvm::Attribute::NoReturn)
unittests/IR/AttributesTest.cpp
   60   B.addAttribute(Attribute::NoReturn);
   62   EXPECT_TRUE(AL.hasFnAttribute(Attribute::NoReturn));
   67   EXPECT_TRUE(AL.hasFnAttribute(Attribute::NoReturn));