| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | return-noreturn.cpp | 149 struct NoReturn { struct 159 true ? NoReturn() : NoReturn(); in testTernaryUnconditionalNoreturn() 163 true ? NoReturn() : Return(); in testTernaryStaticallyConditionalNoretrunOnTrue() 167 true ? Return() : NoReturn(); in testTernaryStaticallyConditionalRetrunOnTrue() 171 false ? Return() : NoReturn(); in testTernaryStaticallyConditionalNoretrunOnFalse() 179 value ? (NoReturn() || NoReturn()) : Return(); in testTernaryConditionalNoreturnTrueBranch() 183 value ? Return() : (NoReturn() || NoReturn()); in testTernaryConditionalNoreturnFalseBranch() 195 false || NoReturn(); in testStaticallyExecutedLogicalOrBranch() 199 true && NoReturn(); in testStaticallyExecutedLogicalAndBranch() 203 true || NoReturn(); in testStaticallySkippedLogicalOrBranch() [all …]
|
| H A D | deduced-return-type-cxx14.cpp | 335 namespace NoReturn { namespace
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | temp-obj-dtors-cfg-output.cpp | 158 class NoReturn { class 160 ~NoReturn() __attribute__((noreturn)); 166 NoReturn().f(); in test_noreturn1() 172 NoReturn(), 47; in test_noreturn2() 176 extern bool check(const NoReturn&); 181 if (!value || check(NoReturn())) { in testConsistencyNestedSimple() 191 if (!value || !value || check(NoReturn())) { in testConsistencyNestedComplex() 201 if (!value || value || check(NoReturn())) { in testConsistencyNestedNormalReturn()
|
| H A D | dtor.cpp | 465 namespace NoReturn { namespace
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | AttributesTest.cpp | 66 B.addAttribute(Attribute::NoReturn); in TEST() 68 EXPECT_TRUE(AL.hasFnAttr(Attribute::NoReturn)); in TEST() 73 EXPECT_TRUE(AL.hasFnAttr(Attribute::NoReturn)); in TEST() 204 C1, makeArrayRef(Attribute::get(C1, Attribute::NoReturn))); in TEST() 206 C2, makeArrayRef(Attribute::get(C2, Attribute::NoReturn))); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | TargetFrameLoweringImpl.cpp | 34 assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in enableCalleeSaveSkip() 118 if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in determineCalleeSaves()
|
| H A D | MachineRegisterInfo.cpp | 562 return !(Called == nullptr || !Called->hasFnAttribute(Attribute::NoReturn) || in isNoReturnDef()
|
| /llvm-project-15.0.7/llvm/test/TableGen/ |
| H A D | intrin-properties.td | 10 // RUN: sed -e 's/<PROP>/NoReturn/;s/<ATTR>/NoReturn/' < %s > %t; llvm-tblgen -gen-intrinsic-impl -…
|
| /llvm-project-15.0.7/libc/spec/ |
| H A D | llvm_libc_ext.td | 29 RetValSpec<NoReturn>,
|
| H A D | stdc.td | 600 FunctionSpec<"abort", RetValSpec<NoReturn>, [ArgSpec<VoidType>]>, 633 FunctionSpec<"_Exit", RetValSpec<NoReturn>, [ArgSpec<IntType>]>, 634 FunctionSpec<"exit", RetValSpec<NoReturn>, [ArgSpec<IntType>]>,
|
| H A D | spec.td | 67 def NoReturn : NamedType<"_Noreturn void">;
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | PruneEH.cpp | 147 if (!SCCMightReturn && !F->hasFnAttribute(Attribute::NoReturn)) { in runImpl() 148 F->addFnAttr(Attribute::NoReturn); in runImpl()
|
| H A D | HotColdSplitting.cpp | 125 if (CI->hasFnAttr(Attribute::NoReturn)) in unlikelyExecuted() 216 if (F.hasFnAttribute(Attribute::NoReturn)) in shouldOutlineFrom()
|
| /llvm-project-15.0.7/clang/include/clang/CodeGen/ |
| H A D | CGFunctionInfo.h | 574 unsigned NoReturn : 1; variable 668 bool isNoReturn() const { return NoReturn; } in isNoReturn() 752 ID.AddBoolean(NoReturn); in Profile()
|
| /llvm-project-15.0.7/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
| H A D | p3.cpp | 212 constexpr int NoReturn() {} // expected-error {{no return statement in constexpr function}} in NoReturn() function
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 561 FnAttrs.removeAttribute(Attribute::NoReturn); in wrapInvoke() 952 ResumeF->addFnAttr(Attribute::NoReturn); in runOnModule() 998 EmLongjmpF->addFnAttr(Attribute::NoReturn); in runOnModule() 1004 WasmLongjmpF->addFnAttr(Attribute::NoReturn); in runOnModule() 1389 bool IsNoReturn = CI->hasFnAttr(Attribute::NoReturn); in runSjLjOnFunction() 1391 IsNoReturn |= CalleeF->hasFnAttribute(Attribute::NoReturn); in runSjLjOnFunction()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DebugInfoFlags.def | 52 HANDLE_DI_FLAG((1 << 20), NoReturn)
|
| H A D | Function.h | 545 return hasFnAttribute(Attribute::NoReturn); in doesNotReturn() 548 addFnAttr(Attribute::NoReturn); in setDoesNotReturn()
|
| H A D | Attributes.td | 178 def NoReturn : EnumAttr<"noreturn", [FnAttr]>;
|
| H A D | InstrTypes.h | 1892 bool doesNotReturn() const { return hasFnAttr(Attribute::NoReturn); } 1893 void setDoesNotReturn() { addFnAttr(Attribute::NoReturn); }
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | DXILPrepare.cpp | 58 Attribute::NoReturn, in isValidForDXIL()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CalledOnceCheck.cpp | 149 NoReturn = 0x0, /* 0000 */ enumerator 1492 PS = ParameterStatus::NoReturn; in markNoReturn()
|
| H A D | CFG.cpp | 2642 bool NoReturn = getFunctionExtInfo(*calleeType).getNoReturn(); in VisitCallExpr() local 2665 NoReturn = true; in VisitCallExpr() 2677 assert(!NoReturn && "noreturn calls with unevaluated args not implemented"); in VisitCallExpr() 2684 if (!NoReturn && !AddEHEdge) { in VisitCallExpr() 2697 if (NoReturn) in VisitCallExpr()
|
| /llvm-project-15.0.7/llvm/bindings/ocaml/debuginfo/ |
| H A D | llvm_debuginfo.ml | 85 | NoReturn Constructor
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 832 FI->NoReturn = info.getNoReturn(); in create() 2079 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); in ConstructAttributeList() 2106 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); in ConstructAttributeList() 2132 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); in ConstructAttributeList() 5422 F->removeFnAttr(llvm::Attribute::NoReturn); in EmitCall() 5423 CI->removeFnAttr(llvm::Attribute::NoReturn); in EmitCall()
|