Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp568 CanThrowResult OldCanThrow = Old->canThrow(); in CheckEquivalentExceptionSpecImpl()
569 CanThrowResult NewCanThrow = New->canThrow(); in CheckEquivalentExceptionSpecImpl()
1068 return FT->canThrow(); in canCalleeThrow()
1133 CanThrowResult Sema::canThrow(const Stmt *S) { in canThrow() function in clang::Sema
1207 CT = mergeCanThrow(CT, canThrow(*Cap)); in canThrow()
1257 CT = mergeCanThrow(CT, canThrow(E)); in canThrow()
1348 return canThrow(CE->getChosenSubExpr()); in canThrow()
1553 CT = mergeCanThrow(CT, canThrow(Init)); in canThrow()
1555 CT = mergeCanThrow(CT, canThrow(CondDS)); in canThrow()
1594 CT = mergeCanThrow(CT, canThrow(Finally)); in canThrow()
[all …]
H A DSemaExprCXX.cpp5587 return S.canThrow(Result.get()) == CT_Cannot; in EvaluateBooleanTypeTrait()
5905 return Self.canThrow(Result.get()) == CT_Cannot; in EvaluateBinaryTypeTrait()
8146 CanThrowResult CanThrow = canThrow(Operand); in BuildCXXNoexceptExpr()
9077 else if (NoexceptLoc.isValid() && canThrow(E) == CanThrowResult::CT_Can) in BuildExprRequirement()
H A DSema.cpp2214 S.Context.setBlockVarCopyInit(VD, Init, S.canThrow(Init)); in checkEscapingByref()
H A DSemaTemplateDeduction.cpp1834 switch (FPA->canThrow()) { in DeduceTemplateArgumentsByTypeMatch()
/freebsd-14.2/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()
46 bool canThrow) { in get() argument
48 isAlignStack, asmDialect, canThrow); in get()
H A DConstantsContext.h359 InlineAsm::AsmDialect AsmDialect, bool canThrow)
362 AsmDialect(AsmDialect), CanThrow(canThrow) {}
368 CanThrow(Asm->canThrow()) {}
383 FTy == Asm->getFunctionType() && CanThrow == Asm->canThrow();
H A DCore.cpp537 return cast<InlineAsm>(Val)->canThrow(); in LLVMGetInlineAsmCanUnwind()
H A DAsmWriter.cpp2493 if (IA->canThrow()) in WriteAsOperandInternal()
H A DVerifier.cpp3056 Check(!IA->canThrow(), "Unwinding from Callbr is not allowed"); in visitCallBrInst()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DIntrinsicEmitter.cpp354 if (L->canThrow != R->canThrow) in compareFnAttributes()
355 return R->canThrow; in compareFnAttributes()
505 if (!Intrinsic.canThrow) in EmitAttributes()
595 if (!Intrinsic.canThrow || in EmitAttributes()
H A DCodeGenIntrinsics.cpp65 canThrow = false; in CodeGenIntrinsic()
184 canThrow = true; in setProperty()
H A DCodeGenIntrinsics.h70 bool canThrow; member
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInlineAsm.h54 bool isAlignStack, AsmDialect asmDialect, bool canThrow);
69 AsmDialect asmDialect = AD_ATT, bool canThrow = false);
74 bool canThrow() const { return CanThrow; } in canThrow() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp395 static bool canThrow(const Value *V) { in canThrow() function
1096 bool NeedInvoke = supportsException(&F) && canThrow(Callee); in runEHOnFunction()
1581 if (supportsException(&F) && canThrow(Callee)) { in handleLongjmpableCallsForEmscriptenSjLj()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1674 return DD->getType()->castAs<FunctionProtoType>()->canThrow(); in cxxDestructorCanThrow()
1732 if (Ctx.getBlockVarCopyInit(Var).canThrow()) in getBlockCaptureStr()
1973 if (CI.isByRef() && C.getBlockVarCopyInit(CI.getVariable()).canThrow()) in GenerateCopyHelperFunction()
H A DCGCoroutine.cpp141 Proto->canThrow() != CT_Cannot; in FunctionCanThrow()
H A DCGException.cpp535 } else if (Proto->canThrow() == CT_Cannot) { in EmitStartEHSpec()
615 } else if (Proto->canThrow() == CT_Cannot && in EmitEndEHSpec()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp373 IA->getDialect(), IA->canThrow()); in mapValue()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DType.h4541 CanThrowResult canThrow() const;
4547 return ResultIfDependent ? canThrow() != CT_Can : canThrow() == CT_Cannot;
H A DExpr.h6198 bool canThrow() const { return ExprAndFlag.getInt(); } in canThrow() function
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp2943 if (FT->canThrow()) in mangleThrowSpecification()
H A DType.cpp3606 CanThrowResult FunctionProtoType::canThrow() const { in canThrow() function in FunctionProtoType
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp1131 Record.push_back(Init.canThrow()); in VisitVarDecl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3688 if (!IA->canThrow()) { in visitCallBase()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2591 unsigned(IA->getDialect() & 1) << 2 | unsigned(IA->canThrow()) << 3); in writeConstants()

12