Home
last modified time | relevance | path

Searched refs:canThrow (Results 1 – 25 of 44) sorted by relevance

12

/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExceptionSpec.cpp556 CanThrowResult OldCanThrow = Old->canThrow(); in CheckEquivalentExceptionSpecImpl()
557 CanThrowResult NewCanThrow = New->canThrow(); in CheckEquivalentExceptionSpecImpl()
1054 return FT->canThrow(); in canCalleeThrow()
1119 CanThrowResult Sema::canThrow(const Stmt *S) { in canThrow() function in clang::Sema
1193 CT = mergeCanThrow(CT, canThrow(*Cap)); in canThrow()
1243 CT = mergeCanThrow(CT, canThrow(E)); in canThrow()
1333 return canThrow(CE->getChosenSubExpr()); in canThrow()
1524 CT = mergeCanThrow(CT, canThrow(Init)); in canThrow()
1526 CT = mergeCanThrow(CT, canThrow(CondDS)); in canThrow()
1565 CT = mergeCanThrow(CT, canThrow(Finally)); in canThrow()
[all …]
H A DSemaExprCXX.cpp5261 return S.canThrow(Result.get()) == CT_Cannot; in evaluateTypeTrait()
5515 return Self.canThrow(Result.get()) == CT_Cannot; in EvaluateBinaryTypeTrait()
7775 CanThrowResult CanThrow = canThrow(Operand); in BuildCXXNoexceptExpr()
8656 else if (NoexceptLoc.isValid() && canThrow(E) == CanThrowResult::CT_Can) in BuildExprRequirement()
/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dblockexit.c65 if (canThrow(s->exp, func, mustNotThrow)) in blockExit()
169 if (canThrow(s->condition, func, mustNotThrow)) in blockExit()
188 if (canThrow(s->condition, func, mustNotThrow)) in blockExit()
204 if (s->increment && canThrow(s->increment, func, mustNotThrow)) in blockExit()
211 if (canThrow(s->aggr, func, mustNotThrow)) in blockExit()
228 if (canThrow(s->condition, func, mustNotThrow)) in blockExit()
278 if (canThrow(s->condition, func, mustNotThrow)) in blockExit()
322 if (s->exp && canThrow(s->exp, func, mustNotThrow)) in blockExit()
345 if (canThrow(s->exp, func, mustNotThrow)) in blockExit()
H A Dblockexit.d113 result |= canThrow(s.exp, func, mustNotThrow); in blockExit()
221 result |= canThrow(s.condition, func, mustNotThrow); in blockExit()
240 result |= canThrow(s.condition, func, mustNotThrow); in blockExit()
258 result |= canThrow(s.increment, func, mustNotThrow); in blockExit()
264 result |= canThrow(s.aggr, func, mustNotThrow); in blockExit()
280 result |= canThrow(s.condition, func, mustNotThrow); in blockExit()
319 result |= canThrow(s.condition, func, mustNotThrow); in blockExit()
364 result |= canThrow(s.exp, func, mustNotThrow); in blockExit()
386 result |= canThrow(s.exp, func, mustNotThrow); in blockExit()
H A Dcanthrow.c34 bool canThrow(Expression *e, FuncDeclaration *func, bool mustNotThrow) in canThrow() function
278 if (ie && canThrow(ie->exp, func, mustNotThrow)) in Dsymbol_canThrow()
282 return canThrow(vd->edtor, func, mustNotThrow); in Dsymbol_canThrow()
H A Dcanthrow.d54 extern (C++) /* CT */ BE canThrow(Expression e, FuncDeclaration func, bool mustNotThrow) in canThrow() function
257 result |= canThrow(ie.exp, func, mustNotThrow); in Dsymbol_canThrow()
260 result |= canThrow(vd.edtor, func, mustNotThrow); in Dsymbol_canThrow()
H A Dexpression.h53 BE canThrow(Expression *e, FuncDeclaration *func, bool mustNotThrow);
H A Dtraits.c1353 canThrow(ex, sc2->func, tf->isnothrow); in semanticTraits()
H A Dtraits.d1757 err |= tf.isnothrow && canThrow(ex, sc2.func, false); in semanticTraits()
/netbsd/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dblockexit.c65 if (canThrow(s->exp, func, mustNotThrow)) in blockExit()
169 if (canThrow(s->condition, func, mustNotThrow)) in blockExit()
188 if (canThrow(s->condition, func, mustNotThrow)) in blockExit()
204 if (s->increment && canThrow(s->increment, func, mustNotThrow)) in blockExit()
211 if (canThrow(s->aggr, func, mustNotThrow)) in blockExit()
228 if (canThrow(s->condition, func, mustNotThrow)) in blockExit()
278 if (canThrow(s->condition, func, mustNotThrow)) in blockExit()
322 if (s->exp && canThrow(s->exp, func, mustNotThrow)) in blockExit()
345 if (canThrow(s->exp, func, mustNotThrow)) in blockExit()
H A Dcanthrow.c34 bool canThrow(Expression *e, FuncDeclaration *func, bool mustNotThrow) in canThrow() function
278 if (ie && canThrow(ie->exp, func, mustNotThrow)) in Dsymbol_canThrow()
282 return canThrow(vd->edtor, func, mustNotThrow); in Dsymbol_canThrow()
H A Dtraits.c1353 canThrow(ex, sc2->func, tf->isnothrow); in semanticTraits()
H A Dexpression.h92 bool canThrow(Expression *e, FuncDeclaration *func, bool mustNotThrow);
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/
H A DInlineAsm.cpp32 bool isAlignStack, AsmDialect asmDialect, bool canThrow) in InlineAsm() argument
36 Dialect(asmDialect), CanThrow(canThrow) { in InlineAsm()
45 bool canThrow) { in get() argument
47 isAlignStack, asmDialect, canThrow); in get()
H A DConstantsContext.h470 InlineAsm::AsmDialect AsmDialect, bool canThrow)
473 AsmDialect(AsmDialect), CanThrow(canThrow) {}
479 CanThrow(Asm->canThrow()) {}
494 FTy == Asm->getFunctionType() && CanThrow == Asm->canThrow();
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInlineAsm.h51 bool isAlignStack, AsmDialect asmDialect, bool canThrow);
66 AsmDialect asmDialect = AD_ATT, bool canThrow = false);
71 bool canThrow() const { return CanThrow; } in canThrow() function
/netbsd/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DIntrinsicEmitter.cpp581 if (L->canThrow != R->canThrow) in operator ()()
582 return R->canThrow; in operator ()()
739 if (!Intrinsic.canThrow || in EmitAttributes()
748 if (!Intrinsic.canThrow) in EmitAttributes()
H A DCodeGenIntrinsics.h118 bool canThrow; member
H A DCodeGenTarget.cpp652 canThrow = false; in CodeGenIntrinsic()
846 canThrow = true; in setProperty()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp280 static bool canThrow(const Value *V) { in canThrow() function
812 bool NeedInvoke = AllowExceptions && canThrow(II->getCalledOperand()); in runEHOnFunction()
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCoroutine.cpp137 Proto->canThrow() == CT_Cannot) in memberCallExpressionCanThrow()
H A DCGBlocks.cpp1730 return DD->getType()->castAs<FunctionProtoType>()->canThrow(); in cxxDestructorCanThrow()
1787 if (Ctx.getBlockVarCopyInit(Var).canThrow()) in getBlockCaptureStr()
2039 if (CI.isByRef() && C.getBlockVarCopyInit(CI.getVariable()).canThrow()) in GenerateCopyHelperFunction()
H A DCGException.cpp480 if (isNoexceptExceptionSpec(EST) && Proto->canThrow() == CT_Cannot) { in EmitStartEHSpec()
583 if (isNoexceptExceptionSpec(EST) && Proto->canThrow() == CT_Cannot && in EmitEndEHSpec()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp372 IA->getDialect(), IA->canThrow()); in mapValue()
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DType.h4209 CanThrowResult canThrow() const;
4215 return ResultIfDependent ? canThrow() != CT_Can : canThrow() == CT_Cannot;

12