Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp556 CanThrowResult OldCanThrow = Old->canThrow(); in CheckEquivalentExceptionSpecImpl()
557 CanThrowResult NewCanThrow = New->canThrow(); in CheckEquivalentExceptionSpecImpl()
795 CanThrowResult SuperCanThrow = Superset->canThrow(); in CheckExceptionSpecSubset()
796 CanThrowResult SubCanThrow = Subset->canThrow(); in CheckExceptionSpecSubset()
989 R = mergeCanThrow(R, Self.canThrow(SubStmt)); in canSubStmtsThrow()
1048 return FT->canThrow(); in canCalleeThrow()
1057 CT = mergeCanThrow(CT, Self.canThrow(Init)); in canVarDeclThrow()
1108 return S.canThrow(DC->getExprOperand()); in canTypeidThrow()
1111 CanThrowResult Sema::canThrow(const Stmt *S) { in canThrow() function in clang::Sema
1117 return canThrow(cast<ConstantExpr>(S)->getSubExpr()); in canThrow()
[all …]
H A DSemaExprCXX.cpp5841 return S.canThrow(Result.get()) == CT_Cannot; in EvaluateBooleanTypeTrait()
6054 return Self.canThrow(Result.get()) == CT_Cannot; in EvaluateBinaryTypeTrait()
6118 return Self.canThrow(Result.get()) == CT_Cannot; in EvaluateBinaryTypeTrait()
8375 CanThrowResult CanThrow = canThrow(Operand); in BuildCXXNoexceptExpr()
9298 else if (NoexceptLoc.isValid() && canThrow(E) == CanThrowResult::CT_Can) in BuildExprRequirement()
H A DSema.cpp2225 S.Context.setBlockVarCopyInit(VD, Init, S.canThrow(Init)); in checkEscapingByref()
H A DSemaTemplateDeduction.cpp1973 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.h335 InlineAsm::AsmDialect AsmDialect, bool canThrow)
338 AsmDialect(AsmDialect), CanThrow(canThrow) {}
344 CanThrow(Asm->canThrow()) {}
359 FTy == Asm->getFunctionType() && CanThrow == Asm->canThrow();
H A DAsmWriter.cpp2580 if (IA->canThrow()) in WriteAsOperandInternal()
H A DCore.cpp565 return cast<InlineAsm>(Val)->canThrow(); in LLVMGetInlineAsmCanUnwind()
H A DVerifier.cpp3187 Check(!IA->canThrow(), "Unwinding from Callbr is not allowed"); in visitCallBrInst()
/freebsd/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; }
73 bool canThrow() const { return CanThrow; } canThrow() function
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DIntrinsicEmitter.cpp353 if (L->canThrow != R->canThrow) in compareFnAttributes()
354 return R->canThrow; in compareFnAttributes()
504 if (!Intrinsic.canThrow) in EmitAttributes()
595 if (!Intrinsic.canThrow || in EmitAttributes()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DCodeGenIntrinsics.cpp65 canThrow = false; in CodeGenIntrinsic()
184 canThrow = true; in setProperty()
H A DCodeGenIntrinsics.h71 bool canThrow; member
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp389 static bool canThrow(const Value *V) { in canThrow() function
1089 bool NeedInvoke = supportsException(&F) && canThrow(Callee); in runEHOnFunction()
1474 if (supportsException(&F) && canThrow(Callee)) { in handleLongjmpableCallsForEmscriptenSjLj()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1689 return DD->getType()->castAs<FunctionProtoType>()->canThrow(); in cxxDestructorCanThrow()
1747 if (Ctx.getBlockVarCopyInit(Var).canThrow()) in getBlockCaptureStr()
1990 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/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp373 IA->getDialect(), IA->canThrow()); in mapValue()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h5340 CanThrowResult canThrow() const;
5346 return ResultIfDependent ? canThrow() != CT_Can : canThrow() == CT_Cannot;
H A DExpr.h6409 bool canThrow() const { return ExprAndFlag.getInt(); } in canThrow() function
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp1169 Record.push_back(Init.canThrow()); in VisitVarDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp3079 if (FT->canThrow()) in mangleThrowSpecification()
H A DType.cpp3706 CanThrowResult FunctionProtoType::canThrow() const { in canThrow() function in FunctionProtoType
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3917 if (!IA->canThrow()) { in visitCallBase()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2682 unsigned(IA->getDialect() & 1) << 2 | unsigned(IA->canThrow()) << 3); in writeConstants()

12