Home
last modified time | relevance | path

Searched refs:NoReturn (Results 1 – 25 of 43) sorted by relevance

12

/external/clang/test/SemaCXX/
Dreturn-noreturn.cpp149 struct NoReturn { struct
150 ~NoReturn() __attribute__((noreturn));
159 true ? NoReturn() : NoReturn(); in testTernaryUnconditionalNoreturn()
163 true ? NoReturn() : Return(); in testTernaryStaticallyConditionalNoretrunOnTrue()
167 true ? Return() : NoReturn(); in testTernaryStaticallyConditionalRetrunOnTrue()
171 false ? Return() : NoReturn(); in testTernaryStaticallyConditionalNoretrunOnFalse()
175 false ? NoReturn() : Return(); in testTernaryStaticallyConditionalRetrunOnFalse()
179 value ? (NoReturn() || NoReturn()) : Return(); in testTernaryConditionalNoreturnTrueBranch()
183 value ? Return() : (NoReturn() || NoReturn()); in testTernaryConditionalNoreturnFalseBranch()
187 value || (true ? NoReturn() : true); in testConditionallyExecutedComplexTernaryTrueBranch()
[all …]
Dcxx1y-deduced-return-type.cpp304 namespace NoReturn { namespace
/external/clang/test/Analysis/
Dtemp-obj-dtors-cfg-output.cpp143 class NoReturn { class
145 ~NoReturn() __attribute__((noreturn));
151 NoReturn().f(); in test_noreturn1()
157 NoReturn(), 47; in test_noreturn2()
161 extern bool check(const NoReturn&);
166 if (!value || check(NoReturn())) { in testConsistencyNestedSimple()
176 if (!value || !value || check(NoReturn())) { in testConsistencyNestedComplex()
186 if (!value || value || check(NoReturn())) { in testConsistencyNestedNormalReturn()
Ddtor.cpp469 namespace NoReturn { namespace
/external/swiftshader/third_party/LLVM/include/llvm/
DFunction.h238 return hasFnAttr(Attribute::NoReturn);
241 if (DoesNotReturn) addFnAttr(Attribute::NoReturn);
242 else removeFnAttr(Attribute::NoReturn);
DAttributes.h39 const Attributes NoReturn = 1<<2; ///< Mark the function as not returning variable
92 const Attributes FunctionOnly = NoReturn | NoUnwind | ReadNone | ReadOnly |
DInstructions.h1298 bool doesNotReturn() const { return paramHasAttr(~0, Attribute::NoReturn); }
1300 if (DoesNotReturn) addAttribute(~0, Attribute::NoReturn);
1301 else removeAttribute(~0, Attribute::NoReturn);
2770 bool doesNotReturn() const { return paramHasAttr(~0, Attribute::NoReturn); }
2772 if (DoesNotReturn) addAttribute(~0, Attribute::NoReturn);
2773 else removeAttribute(~0, Attribute::NoReturn);
/external/llvm/lib/Transforms/IPO/
DPruneEH.cpp164 if (!SCCMightReturn && !F->hasFnAttribute(Attribute::NoReturn)) { in runImpl()
165 F->addFnAttr(Attribute::NoReturn); in runImpl()
DForceFunctionAttrs.cpp44 .Case("noreturn", Attribute::NoReturn) in parseAttrKind()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h473 unsigned NoReturn : 1; variable
557 bool isNoReturn() const { return NoReturn; } in isNoReturn()
624 ID.AddBoolean(NoReturn); in Profile()
/external/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/IR/
DAttributes.gen30 NoReturn,
87 .Case("noreturn", Attribute::NoReturn)
284 return llvm::Attribute::NoReturn;
/external/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/IR/
DAttributes.gen30 NoReturn,
87 .Case("noreturn", Attribute::NoReturn)
284 return llvm::Attribute::NoReturn;
/external/swiftshader/third_party/llvm-subzero/build/Android/include/llvm/IR/
DAttributes.gen30 NoReturn,
87 .Case("noreturn", Attribute::NoReturn)
284 return llvm::Attribute::NoReturn;
/external/swiftshader/third_party/llvm-subzero/build/MacOS/include/llvm/IR/
DAttributes.gen30 NoReturn,
87 .Case("noreturn", Attribute::NoReturn)
284 return llvm::Attribute::NoReturn;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.inc30 NoReturn,
87 .Case("noreturn", Attribute::NoReturn)
284 return llvm::Attribute::NoReturn;
DFunction.h359 return hasFnAttribute(Attribute::NoReturn); in doesNotReturn()
362 addFnAttr(Attribute::NoReturn); in setDoesNotReturn()
/external/llvm/include/llvm/IR/
DFunction.h336 return hasFnAttribute(Attribute::NoReturn);
339 addFnAttr(Attribute::NoReturn);
DAttributes.td107 def NoReturn : EnumAttr<"noreturn">;
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp3.cpp223 constexpr int NoReturn() {} // expected-error {{no return statement in constexpr function}} in NoReturn() function
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DPruneEH.cpp146 NewAttributes |= Attribute::NoReturn; in runOnSCC()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAttributes.cpp35 if (Attrs & Attribute::NoReturn) in getAsString()
/external/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp500 return !(Called == nullptr || !Called->hasFnAttribute(Attribute::NoReturn) || in isNoReturnDef()
/external/swiftshader/third_party/LLVM/examples/ExceptionDemo/
DExceptionDemo.cpp1924 funct->addFnAttr(llvm::Attribute::NoReturn); in createStandardUtilityFunctions()
1944 funct->addFnAttr(llvm::Attribute::NoReturn); in createStandardUtilityFunctions()
/external/clang/lib/Analysis/
DCFG.cpp1850 bool NoReturn = getFunctionExtInfo(*calleeType).getNoReturn(); in VisitCallExpr() local
1866 NoReturn = true; in VisitCallExpr()
1877 assert(!NoReturn && "noreturn calls with unevaluated args not implemented"); in VisitCallExpr()
1884 if (!NoReturn && !AddEHEdge) { in VisitCallExpr()
1894 if (NoReturn) in VisitCallExpr()
/external/llvm/lib/IR/
DAttributes.cpp281 if (hasAttribute(Attribute::NoReturn)) in getAsString()
476 case Attribute::NoReturn: return 1 << 2; in getAttrMask()

12