Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp558 CanThrowResult OldCanThrow = Old->canThrow(); in CheckEquivalentExceptionSpecImpl()
559 CanThrowResult NewCanThrow = New->canThrow(); in CheckEquivalentExceptionSpecImpl()
796 CanThrowResult SuperCanThrow = Superset->canThrow(); in CheckExceptionSpecSubset()
797 CanThrowResult SubCanThrow = Subset->canThrow(); in CheckExceptionSpecSubset()
990 R = mergeCanThrow(R, Self.canThrow(SubStmt)); in canSubStmtsThrow()
1049 return FT->canThrow(); in canCalleeThrow()
1058 CT = mergeCanThrow(CT, Self.canThrow(Init)); in canVarDeclThrow()
1109 return S.canThrow(DC->getExprOperand()); in canTypeidThrow()
1112 CanThrowResult Sema::canThrow(const Stmt *S) { in canThrow() function in clang::Sema
1118 return canThrow(cast<ConstantExpr>(S)->getSubExpr()); in canThrow()
[all …]
H A DSemaTypeTraits.cpp1440 return S.canThrow(Result.get()) == CT_Cannot; in EvaluateBooleanTypeTrait()
1699 return Self.canThrow(Result.get()) == CT_Cannot; in EvaluateBinaryTypeTrait()
1764 return Self.canThrow(Result.get()) == CT_Cannot; in EvaluateBinaryTypeTrait()
H A DSema.cpp2391 S.Context.setBlockVarCopyInit(VD, Init, S.canThrow(Init)); in checkEscapingByref()
H A DSemaExprCXX.cpp7397 CanThrowResult CanThrow = canThrow(Operand); in BuildCXXNoexceptExpr()
7907 else if (NoexceptLoc.isValid() && canThrow(E) == CanThrowResult::CT_Can) in BuildExprRequirement()
H A DSemaTemplateDeduction.cpp2004 switch (FPA->canThrow()) { in DeduceTemplateArgumentsByTypeMatch()
/freebsd/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.h346 InlineAsm::AsmDialect AsmDialect, bool canThrow)
349 AsmDialect(AsmDialect), CanThrow(canThrow) {}
355 CanThrow(Asm->canThrow()) {}
370 FTy == Asm->getFunctionType() && CanThrow == Asm->canThrow();
H A DAsmWriter.cpp2743 if (IA->canThrow()) in WriteAsOperandInternal()
H A DCore.cpp571 return cast<InlineAsm>(Val)->canThrow(); in LLVMGetInlineAsmCanUnwind()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInlineAsm.h55 bool isAlignStack, AsmDialect asmDialect, bool canThrow);
71 bool canThrow = false);
76 bool canThrow() const { return CanThrow; } in canThrow() function
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DIntrinsicEmitter.cpp418 return std::tie(I->canThrow, I->isNoDuplicate, I->isNoMerge, I->isNoReturn, in compareFnAttributes()
443 return !Int.canThrow || Int.isNoReturn || Int.isNoCallback || Int.isNoSync || in hasFnAttributes()
584 if (!Int.canThrow) in EmitAttributes()
H A DCodeGenIntrinsics.h81 bool canThrow = false; member
H A DCodeGenIntrinsics.cpp382 canThrow = true; in setProperty()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp388 static bool canThrow(const Value *V) { in canThrow() function
1094 bool NeedInvoke = supportsException(&F) && canThrow(Callee); in runEHOnFunction()
1479 if (supportsException(&F) && canThrow(Callee)) { in handleLongjmpableCallsForEmscriptenSjLj()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1729 return DD->getType()->castAs<FunctionProtoType>()->canThrow(); in cxxDestructorCanThrow()
1794 if (Ctx.getBlockVarCopyInit(Var).canThrow()) in getBlockCaptureStr()
2046 if (CI.isByRef() && C.getBlockVarCopyInit(CI.getVariable()).canThrow()) in GenerateCopyHelperFunction()
H A DCGCoroutine.cpp142 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/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp375 IA->getDialect(), IA->canThrow()); in mapValue()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h5549 CanThrowResult canThrow() const;
5555 return ResultIfDependent ? canThrow() != CT_Can : canThrow() == CT_Cannot;
H A DExpr.h6606 bool canThrow() const { return ExprAndFlag.getInt(); } in canThrow() function
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp3214 if (FT->canThrow()) in mangleThrowSpecification()
H A DType.cpp3859 CanThrowResult FunctionProtoType::canThrow() const { in canThrow() function in FunctionProtoType
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp1332 Record.push_back(Init.canThrow()); in VisitVarDecl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp4215 if (!IA->canThrow()) { in visitCallBase()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2825 unsigned(IA->getDialect() & 1) << 2 | unsigned(IA->canThrow()) << 3); in writeConstants()

12