Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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()
1525 CT = mergeCanThrow(CT, canThrow(Init)); in canThrow()
1527 CT = mergeCanThrow(CT, canThrow(CondDS)); in canThrow()
1566 CT = mergeCanThrow(CT, canThrow(Finally)); in canThrow()
[all …]
H A DSemaExprCXX.cpp5309 return S.canThrow(Result.get()) == CT_Cannot; in evaluateTypeTrait()
5563 return Self.canThrow(Result.get()) == CT_Cannot; in EvaluateBinaryTypeTrait()
7823 CanThrowResult CanThrow = canThrow(Operand); in BuildCXXNoexceptExpr()
8734 else if (NoexceptLoc.isValid() && canThrow(E) == CanThrowResult::CT_Can) in BuildExprRequirement()
H A DSema.cpp2027 S.Context.setBlockVarCopyInit(VD, Init, S.canThrow(Init)); in checkEscapingByref()
H A DSemaTemplateDeduction.cpp1842 switch (FunctionProtoArg->canThrow()) { in DeduceTemplateArgumentsByTypeMatch()
/freebsd-13.1/contrib/llvm-project/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.h463 InlineAsm::AsmDialect AsmDialect, bool canThrow)
466 AsmDialect(AsmDialect), CanThrow(canThrow) {}
472 CanThrow(Asm->canThrow()) {}
487 FTy == Asm->getFunctionType() && CanThrow == Asm->canThrow();
H A DAsmWriter.cpp2460 if (IA->canThrow()) in WriteAsOperandInternal()
H A DVerifier.cpp2724 Assert(!IA->canThrow(), "Unwinding from Callbr is not allowed"); in visitCallBrInst()
/freebsd-13.1/contrib/llvm-project/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
/freebsd-13.1/contrib/llvm-project/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.cpp667 canThrow = false; in CodeGenIntrinsic()
861 canThrow = true; in setProperty()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp290 static bool canThrow(const Value *V) { in canThrow() function
828 bool NeedInvoke = supportsException(&F) && canThrow(Callee); in runEHOnFunction()
1173 if (supportsException(&F) && canThrow(Callee)) { in runSjLjOnFunction()
/freebsd-13.1/contrib/llvm-project/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()
2031 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp372 IA->getDialect(), IA->canThrow()); in mapValue()
H A DInlineFunction.cpp554 if (!IA->canThrow()) { in HandleCallsInBlockInlinedThroughInvoke()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DType.h4209 CanThrowResult canThrow() const;
4215 return ResultIfDependent ? canThrow() != CT_Can : canThrow() == CT_Cannot;
H A DExpr.h6012 bool canThrow() const { return ExprAndFlag.getInt(); } in canThrow() function
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp1017 Record.push_back(Init.canThrow()); in VisitVarDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp2765 if (FT->canThrow()) in mangleThrowSpecification()
H A DType.cpp3285 CanThrowResult FunctionProtoType::canThrow() const { in canThrow() function in FunctionProtoType
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2424 if (!IA->canThrow()) { in visitCallBase()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp2478 if (!IA->canThrow()) { in translateInvoke()

12