Home
last modified time | relevance | path

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

123

/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 …]
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetFrameLoweringImpl.cpp40 assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in enableCalleeSaveSkip()
102 if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in determineCalleeSaves()
/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 |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DAttributesTest.cpp56 B.addAttribute(Attribute::NoReturn); in TEST()
58 EXPECT_TRUE(AL.hasFnAttribute(Attribute::NoReturn)); in TEST()
63 EXPECT_TRUE(AL.hasFnAttribute(Attribute::NoReturn)); in TEST()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DPruneEH.cpp160 if (!SCCMightReturn && !F->hasFnAttribute(Attribute::NoReturn)) { in runImpl()
161 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/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/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/Fuchsia/include/llvm/IR/
DAttributes.gen30 NoReturn,
87 .Case("noreturn", Attribute::NoReturn)
284 return llvm::Attribute::NoReturn;
/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/MacOS/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-7.0/llvm/include/llvm/IR/
DDebugInfoFlags.def44 HANDLE_DI_FLAG((1 << 20), NoReturn)
DFunction.h496 return hasFnAttribute(Attribute::NoReturn); in doesNotReturn()
499 addFnAttr(Attribute::NoReturn); in setDoesNotReturn()
/external/llvm/include/llvm/IR/
DFunction.h336 return hasFnAttribute(Attribute::NoReturn);
339 addFnAttr(Attribute::NoReturn);
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/IR/
DAttributesCompatFunc.inc31 NoReturn,
94 .Case("noreturn", Attribute::NoReturn)
301 return llvm::Attribute::NoReturn;
/external/swiftshader/third_party/llvm-7.0/configs/common/include/llvm/IR/
DAttributes.inc31 NoReturn,
94 .Case("noreturn", Attribute::NoReturn)
301 return llvm::Attribute::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/v8/src/compiler/
Ddead-code-elimination.cc32 bool NoReturn(Node* node) { in NoReturn() function
41 if (NoReturn(input)) return input; in FindDeadInput()

123