Searched refs:canThrow (Results 1 - 25 of 39) sorted by relevance

12

/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dblockexit.c65 if (canThrow(s->exp, func, mustNotThrow))
169 if (canThrow(s->condition, func, mustNotThrow))
188 if (canThrow(s->condition, func, mustNotThrow))
204 if (s->increment && canThrow(s->increment, func, mustNotThrow))
211 if (canThrow(s->aggr, func, mustNotThrow))
228 if (canThrow(s->condition, func, mustNotThrow))
278 if (canThrow(s->condition, func, mustNotThrow))
322 if (s->exp && canThrow(s->exp, func, mustNotThrow))
345 if (canThrow(s->exp, func, mustNotThrow))
H A Dcanthrow.c34 bool canThrow(Expression *e, FuncDeclaration *func, bool mustNotThrow) function
36 //printf("Expression::canThrow(%d) %s\n", mustNotThrow, toChars());
278 if (ie && canThrow(ie->exp, func, mustNotThrow))
282 return canThrow(vd->edtor, func, mustNotThrow);
H A Dtraits.c1353 canThrow(ex, sc2->func, tf->isnothrow);
H A Dexpression.h92 bool canThrow(Expression *e, FuncDeclaration *func, bool mustNotThrow);
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExceptionSpec.cpp556 CanThrowResult OldCanThrow = Old->canThrow();
557 CanThrowResult NewCanThrow = New->canThrow();
800 CanThrowResult SuperCanThrow = Superset->canThrow();
801 CanThrowResult SubCanThrow = Subset->canThrow();
995 R = mergeCanThrow(R, Self.canThrow(SubStmt));
1054 return FT->canThrow();
1063 CT = mergeCanThrow(CT, Self.canThrow(Init));
1119 CanThrowResult Sema::canThrow(const Stmt *S) { function in class:clang::Sema
1125 return canThrow(cast<ConstantExpr>(S)->getSubExpr());
1193 CT = mergeCanThrow(CT, canThrow(*Ca
[all...]
H A DSemaExprCXX.cpp5261 return S.canThrow(Result.get()) == CT_Cannot;
5515 return Self.canThrow(Result.get()) == CT_Cannot;
7775 CanThrowResult CanThrow = canThrow(Operand);
8656 else if (NoexceptLoc.isValid() && canThrow(E) == CanThrowResult::CT_Can)
H A DSema.cpp1957 S.Context.setBlockVarCopyInit(VD, Init, S.canThrow(Init));
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/
H A DInlineAsm.cpp32 bool isAlignStack, AsmDialect asmDialect, bool canThrow)
36 Dialect(asmDialect), CanThrow(canThrow) {
45 bool canThrow) {
47 isAlignStack, asmDialect, canThrow);
30 InlineAsm(FunctionType *FTy, const std::string &asmString, const std::string &constraints, bool hasSideEffects, bool isAlignStack, AsmDialect asmDialect, bool canThrow) argument
42 get(FunctionType *FTy, StringRef AsmString, StringRef Constraints, bool hasSideEffects, bool isAlignStack, AsmDialect asmDialect, bool canThrow) argument
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();
468 InlineAsmKeyType(StringRef AsmString, StringRef Constraints, FunctionType *FTy, bool HasSideEffects, bool IsAlignStack, InlineAsm::AsmDialect AsmDialect, bool canThrow) argument
/netbsd-current/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dblockexit.d113 result |= canThrow(s.exp, func, mustNotThrow);
221 result |= canThrow(s.condition, func, mustNotThrow);
240 result |= canThrow(s.condition, func, mustNotThrow);
258 result |= canThrow(s.increment, func, mustNotThrow);
264 result |= canThrow(s.aggr, func, mustNotThrow);
280 result |= canThrow(s.condition, func, mustNotThrow);
319 result |= canThrow(s.condition, func, mustNotThrow);
364 result |= canThrow(s.exp, func, mustNotThrow);
386 result |= canThrow(s.exp, func, mustNotThrow);
H A Dcanthrow.d36 * This is a subset of `BE` restricted to the values actually used by `canThrow`.
54 extern (C++) /* CT */ BE canThrow(Expression e, FuncDeclaration func, bool mustNotThrow)
56 //printf("Expression::canThrow(%d) %s\n", mustNotThrow, toChars());
257 result |= canThrow(ie.exp, func, mustNotThrow);
260 result |= canThrow(vd.edtor, func, mustNotThrow);
H A Dexpression.h53 BE canThrow(Expression *e, FuncDeclaration *func, bool mustNotThrow);
H A Dtraits.d1757 err |= tf.isnothrow && canThrow(ex, sc2.func, false);
/netbsd-current/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; } function in class:llvm::final
/netbsd-current/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCodeGenIntrinsics.h118 bool canThrow; member in struct:llvm::CodeGenIntrinsic
H A DIntrinsicEmitter.cpp581 if (L->canThrow != R->canThrow)
582 return R->canThrow;
739 if (!Intrinsic.canThrow ||
748 if (!Intrinsic.canThrow)
H A DCodeGenTarget.cpp652 canThrow = false;
846 canThrow = true;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp280 static bool canThrow(const Value *V) { function
812 bool NeedInvoke = AllowExceptions && canThrow(II->getCalledOperand());
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCoroutine.cpp137 Proto->canThrow() == CT_Cannot)
H A DCGException.cpp480 if (isNoexceptExceptionSpec(EST) && Proto->canThrow() == CT_Cannot) {
583 if (isNoexceptExceptionSpec(EST) && Proto->canThrow() == CT_Cannot &&
H A DCGBlocks.cpp1730 return DD->getType()->castAs<FunctionProtoType>()->canThrow();
1787 if (Ctx.getBlockVarCopyInit(Var).canThrow())
2039 if (CI.isByRef() && C.getBlockVarCopyInit(CI.getVariable()).canThrow())
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp372 IA->getDialect(), IA->canThrow());
H A DInlineFunction.cpp554 if (!IA->canThrow()) {
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DType.h4209 CanThrowResult canThrow() const;
4215 return ResultIfDependent ? canThrow() != CT_Can : canThrow() == CT_Cannot;
/netbsd-current/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriterDecl.cpp1015 Record.push_back(Init.canThrow());

Completed in 365 milliseconds

12