Home
last modified time | relevance | path

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

12

/freebsd-14-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaExceptionSpec.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 …]
HDSemaExprCXX.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()
HDSema.cpp2225 S.Context.setBlockVarCopyInit(VD, Init, S.canThrow(Init)); in checkEscapingByref()
HDSemaTemplateDeduction.cpp1973 switch (FPA->canThrow()) { in DeduceTemplateArgumentsByTypeMatch()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/IR/
HDInlineAsm.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()
HDConstantsContext.h335 InlineAsm::AsmDialect AsmDialect, bool canThrow)
338 AsmDialect(AsmDialect), CanThrow(canThrow) {}
344 CanThrow(Asm->canThrow()) {}
359 FTy == Asm->getFunctionType() && CanThrow == Asm->canThrow();
HDAsmWriter.cpp2580 if (IA->canThrow()) in WriteAsOperandInternal()
HDCore.cpp565 return cast<InlineAsm>(Val)->canThrow(); in LLVMGetInlineAsmCanUnwind()
HDVerifier.cpp3187 Check(!IA->canThrow(), "Unwinding from Callbr is not allowed"); in visitCallBrInst()
/freebsd-14-stable/contrib/llvm-project/llvm/utils/TableGen/
HDIntrinsicEmitter.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-14-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDInlineAsm.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-stable/contrib/llvm-project/llvm/utils/TableGen/Basic/
HDCodeGenIntrinsics.cpp65 canThrow = false; in CodeGenIntrinsic()
184 canThrow = true; in setProperty()
HDCodeGenIntrinsics.h71 bool canThrow; member
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
HDWebAssemblyLowerEmscriptenEHSjLj.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-14-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCGBlocks.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()
HDCGCoroutine.cpp141 Proto->canThrow() != CT_Cannot; in FunctionCanThrow()
HDCGException.cpp535 } else if (Proto->canThrow() == CT_Cannot) { in EmitStartEHSpec()
615 } else if (Proto->canThrow() == CT_Cannot && in EmitEndEHSpec()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDValueMapper.cpp373 IA->getDialect(), IA->canThrow()); in mapValue()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/AST/
HDType.h5340 CanThrowResult canThrow() const;
5346 return ResultIfDependent ? canThrow() != CT_Can : canThrow() == CT_Cannot;
HDExpr.h6409 bool canThrow() const { return ExprAndFlag.getInt(); } in canThrow() function
/freebsd-14-stable/contrib/llvm-project/clang/lib/Serialization/
HDASTWriterDecl.cpp1169 Record.push_back(Init.canThrow()); in VisitVarDecl()
/freebsd-14-stable/contrib/llvm-project/clang/lib/AST/
HDMicrosoftMangle.cpp3079 if (FT->canThrow()) in mangleThrowSpecification()
HDType.cpp3706 CanThrowResult FunctionProtoType::canThrow() const { in canThrow() function in FunctionProtoType
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineCalls.cpp3917 if (!IA->canThrow()) { in visitCallBase()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Bitcode/Writer/
HDBitcodeWriter.cpp2682 unsigned(IA->getDialect() & 1) << 2 | unsigned(IA->canThrow()) << 3); in writeConstants()

12