| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExceptionSpec.cpp | 561 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 D | SemaExprCXX.cpp | 5375 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 D | Sema.cpp | 2133 S.Context.setBlockVarCopyInit(VD, Init, S.canThrow(Init)); in checkEscapingByref()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | InlineAsm.cpp | 32 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 D | ConstantsContext.h | 392 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 D | nounwind.ll | 38 ; int maybe_throw(bool canThrow) { 39 ; if (canThrow)
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | InlineAsm.h | 52 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 D | NoexceptMoveConstructorCheck.cpp | 67 if (ProtoType->canThrow() == CT_Can) { in check()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | IntrinsicEmitter.cpp | 607 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 D | CodeGenIntrinsics.h | 117 bool canThrow; member
|
| H A D | CodeGenTarget.cpp | 672 canThrow = false; in CodeGenIntrinsic() 864 canThrow = true; in setProperty()
|
| /llvm-project-15.0.7/llvm/test/Transforms/Attributor/ |
| H A D | nounwind.ll | 63 ; int maybe_throw(bool canThrow) { 64 ; if (canThrow)
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 394 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 D | CGCoroutine.cpp | 137 Proto->canThrow() == CT_Cannot) in memberCallExpressionCanThrow()
|
| H A D | CGBlocks.cpp | 1710 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 D | CGException.cpp | 524 } 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 D | ValueMapper.cpp | 373 IA->getDialect(), IA->canThrow()); in mapValue()
|
| H A D | InlineFunction.cpp | 552 if (!IA->canThrow()) { in HandleCallsInBlockInlinedThroughInvoke()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Type.h | 4279 CanThrowResult canThrow() const; 4285 return ResultIfDependent ? canThrow() != CT_Can : canThrow() == CT_Cannot;
|
| /llvm-project-15.0.7/llvm/bindings/go/llvm/ |
| H A D | ir.go | 1273 …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 D | ASTWriterDecl.cpp | 1027 Record.push_back(Init.canThrow()); in VisitVarDecl()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | MicrosoftMangle.cpp | 2802 if (FT->canThrow()) in mangleThrowSpecification()
|
| H A D | Type.cpp | 3337 CanThrowResult FunctionProtoType::canThrow() const { in canThrow() function in FunctionProtoType
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 3054 if (!IA->canThrow()) { in visitCallBase()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 2571 NeedEHLabel = (cast<InlineAsm>(I.getCalledOperand()))->canThrow(); in translateInvoke()
|