Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExceptionSpec.cpp561 CanThrowResult OldCanThrow = Old->canThrow(); in CheckEquivalentExceptionSpecImpl()
562 CanThrowResult NewCanThrow = New->canThrow(); in CheckEquivalentExceptionSpecImpl()
1059 return FT->canThrow(); in canCalleeThrow()
1124 CanThrowResult Sema::canThrow(const Stmt *S) { in canThrow() function in clang::Sema
1198 CT = mergeCanThrow(CT, canThrow(*Cap)); in canThrow()
1248 CT = mergeCanThrow(CT, canThrow(E)); in canThrow()
1338 return canThrow(CE->getChosenSubExpr()); in canThrow()
1541 CT = mergeCanThrow(CT, canThrow(Init)); in canThrow()
1543 CT = mergeCanThrow(CT, canThrow(CondDS)); in canThrow()
1582 CT = mergeCanThrow(CT, canThrow(Finally)); in canThrow()
[all …]
H A DSemaExprCXX.cpp5375 return S.canThrow(Result.get()) == CT_Cannot; in evaluateTypeTrait()
5666 return Self.canThrow(Result.get()) == CT_Cannot; in EvaluateBinaryTypeTrait()
8064 CanThrowResult CanThrow = canThrow(Operand); in BuildCXXNoexceptExpr()
8989 else if (NoexceptLoc.isValid() && canThrow(E) == CanThrowResult::CT_Can) in BuildExprRequirement()
H A DSema.cpp2133 S.Context.setBlockVarCopyInit(VD, Init, S.canThrow(Init)); in checkEscapingByref()
/llvm-project-15.0.7/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.h392 InlineAsm::AsmDialect AsmDialect, bool canThrow)
395 AsmDialect(AsmDialect), CanThrow(canThrow) {}
401 CanThrow(Asm->canThrow()) {}
416 FTy == Asm->getFunctionType() && CanThrow == Asm->canThrow();
/llvm-project-15.0.7/llvm/test/Transforms/FunctionAttrs/
H A Dnounwind.ll38 ; int maybe_throw(bool canThrow) {
39 ; if (canThrow)
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInlineAsm.h52 bool isAlignStack, AsmDialect asmDialect, bool canThrow);
67 AsmDialect asmDialect = AD_ATT, bool canThrow = false);
72 bool canThrow() const { return CanThrow; } in canThrow() function
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DNoexceptMoveConstructorCheck.cpp67 if (ProtoType->canThrow() == CT_Can) { in check()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DIntrinsicEmitter.cpp607 if (L->canThrow != R->canThrow) in operator ()()
608 return R->canThrow; in operator ()()
768 if (!Intrinsic.canThrow || in EmitAttributes()
777 if (!Intrinsic.canThrow) in EmitAttributes()
H A DCodeGenIntrinsics.h117 bool canThrow; member
H A DCodeGenTarget.cpp672 canThrow = false; in CodeGenIntrinsic()
864 canThrow = true; in setProperty()
/llvm-project-15.0.7/llvm/test/Transforms/Attributor/
H A Dnounwind.ll63 ; int maybe_throw(bool canThrow) {
64 ; if (canThrow)
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp394 static bool canThrow(const Value *V) { in canThrow() function
1098 bool NeedInvoke = supportsException(&F) && canThrow(Callee); in runEHOnFunction()
1587 if (supportsException(&F) && canThrow(Callee)) { in handleLongjmpableCallsForEmscriptenSjLj()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCoroutine.cpp137 Proto->canThrow() == CT_Cannot) in memberCallExpressionCanThrow()
H A DCGBlocks.cpp1710 return DD->getType()->castAs<FunctionProtoType>()->canThrow(); in cxxDestructorCanThrow()
1768 if (Ctx.getBlockVarCopyInit(Var).canThrow()) in getBlockCaptureStr()
2013 if (CI.isByRef() && C.getBlockVarCopyInit(CI.getVariable()).canThrow()) in GenerateCopyHelperFunction()
H A DCGException.cpp524 } else if (Proto->canThrow() == CT_Cannot) { in EmitStartEHSpec()
604 } else if (Proto->canThrow() == CT_Cannot && in EmitEndEHSpec()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp373 IA->getDialect(), IA->canThrow()); in mapValue()
H A DInlineFunction.cpp552 if (!IA->canThrow()) { in HandleCallsInBlockInlinedThroughInvoke()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DType.h4279 CanThrowResult canThrow() const;
4285 return ResultIfDependent ? canThrow() != CT_Can : canThrow() == CT_Cannot;
/llvm-project-15.0.7/llvm/bindings/go/llvm/
H A Dir.go1273 …ts string, hasSideEffects, isAlignStack bool, dialect InlineAsmDialect, canThrow bool) (rv Value) {
1278 …eEffects), boolToLLVMBool(isAlignStack), C.LLVMInlineAsmDialect(dialect), boolToLLVMBool(canThrow))
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp1027 Record.push_back(Init.canThrow()); in VisitVarDecl()
/llvm-project-15.0.7/clang/lib/AST/
H A DMicrosoftMangle.cpp2802 if (FT->canThrow()) in mangleThrowSpecification()
H A DType.cpp3337 CanThrowResult FunctionProtoType::canThrow() const { in canThrow() function in FunctionProtoType
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3054 if (!IA->canThrow()) { in visitCallBase()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp2571 NeedEHLabel = (cast<InlineAsm>(I.getCalledOperand()))->canThrow(); in translateInvoke()

12