Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp438 QualType resultType = CastE->getType(); in VisitCast() local
440 resultType = getContext().getPointerType(resultType); in VisitCast()
465 svalBuilder.conjureSymbolVal(nullptr, CastE, LCtx, resultType, in VisitCast()
477 QualType resultType = CastE->getType(); in VisitCast() local
479 resultType = getContext().getPointerType(resultType); in VisitCast()
490 svalBuilder.conjureSymbolVal(nullptr, CastE, LCtx, resultType, in VisitCast()
528 QualType resultType = CastE->getType(); in VisitCast() local
530 resultType = getContext().getPointerType(resultType); in VisitCast()
532 /*symbolTag=*/nullptr, CastE, LCtx, resultType, in VisitCast()
H A DExprEngine.cpp1490 QualType resultType = Ex->getType(); in Visit() local
1495 resultType, in Visit()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.h215 arrangeBuiltinFunctionDeclaration(QualType resultType,
218 arrangeBuiltinFunctionDeclaration(CanQualType resultType,
220 const CGFunctionInfo &arrangeBuiltinFunctionCall(QualType resultType,
H A DCGCall.cpp349 CanQualType resultType = TheCXXABI.HasThisReturn(GD) in arrangeCXXStructorDeclaration() local
651 GetReturnType(resultType), /*instanceMethod=*/false, in arrangeBuiltinFunctionCall()
754 required, resultType, argTypes); in arrangeLLVMFunctionInfo()
834 FI->getArgsBuffer()[0].type = resultType; in create()
1587 llvm::Type *resultType = nullptr; in GetFunctionType() local
1596 resultType = retAI.getCoerceToType(); in GetFunctionType()
1617 resultType = retAI.getUnpaddedCoerceAndExpandType(); in GetFunctionType()
3012 llvm::Type *resultType = result->getType(); in tryEmitFusedAutoreleaseOfResult() local
3089 return CGF.Builder.CreateBitCast(result, resultType); in tryEmitFusedAutoreleaseOfResult()
3120 llvm::Type *resultType = result->getType(); in tryRemoveRetainOfSelf() local
[all …]
H A DCGObjCRuntime.cpp362 QualType resultType, in getMessageSendInfo() argument
380 CGM.getTypes().arrangeUnprototypedObjCMessageSend(resultType, callArgs); in getMessageSendInfo()
H A DCGObjC.cpp2722 llvm::Type *resultType) { in EmitObjCAlloc() argument
2723 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAlloc()
2732 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAllocWithZone()
2738 llvm::Type *resultType) { in EmitObjCAllocInit() argument
2739 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAllocInit()
3177 llvm::Type *resultType = CGF.ConvertType(e->getType()); in visitCastExpr() local
3180 return asImpl().emitBitCast(result, resultType); in visitCastExpr()
3325 TryEmitResult emitBitCast(TryEmitResult result, llvm::Type *resultType) { in emitBitCast()
3327 value = CGF.Builder.CreateBitCast(value, resultType); in emitBitCast()
3501 llvm::Value *emitBitCast(llvm::Value *value, llvm::Type *resultType) { in emitBitCast()
[all …]
H A DCGObjCRuntime.h338 QualType resultType,
H A DCGClass.cpp2879 QualType resultType = FPT->getReturnType(); in EmitForwardingCallToLambda() local
2881 if (!resultType->isVoidType() && in EmitForwardingCallToLambda()
2885 ReturnValueSlot(ReturnValue, resultType.isVolatileQualified(), in EmitForwardingCallToLambda()
2897 if (!resultType->isVoidType() && returnSlot.isNull()) { in EmitForwardingCallToLambda()
2898 if (getLangOpts().ObjCAutoRefCount && resultType->isObjCRetainableType()) { in EmitForwardingCallToLambda()
2901 EmitReturnOfRValue(RV, resultType); in EmitForwardingCallToLambda()
H A DCGObjCMac.cpp108 llvm::Type *resultType = in getMessageSendFp2retFn() local
111 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(resultType, in getMessageSendFp2retFn()
1737 QualType resultType, in complete()
1794 if (result.isScalar() && resultType->isVoidType()) { in complete()
1804 CGF.EmitFromMemory(CGF.CGM.EmitNullConstant(resultType), resultType); in complete()
1824 CGF.EmitNullInitialization(result.getAggregateAddress(), resultType); in complete()
7296 QualType resultType, in EmitVTableMessageSend() argument
7317 MessageSendInfo MSI = getMessageSendInfo(method, resultType, args); in EmitVTableMessageSend()
7339 } else if (!isSuper && CGM.ReturnTypeUsesFPRet(resultType)) { in EmitVTableMessageSend()
7400 return nullReturn.complete(CGF, returnSlot, result, resultType, formalArgs, in EmitVTableMessageSend()
H A DCGExprCXX.cpp1750 llvm::Type *resultType = ConvertTypeForMem(E->getType()); in EmitCXXNewExpr() local
1751 if (result.getType() != resultType) in EmitCXXNewExpr()
1752 result = Builder.CreateBitCast(result, resultType); in EmitCXXNewExpr()
H A DCGAtomic.cpp305 QualType resultType, in emitAtomicLibcall() argument
308 CGF.CGM.getTypes().arrangeBuiltinFunctionCall(resultType, args); in emitAtomicLibcall()
H A DCGExpr.cpp1502 QualType resultType; in tryEmitAsConstant() local
1508 resultType = refExpr->getType(); in tryEmitAsConstant()
1514 resultType = value->getType(); in tryEmitAsConstant()
1550 result.Val, resultType); in tryEmitAsConstant()
H A DCodeGenFunction.h4259 llvm::Value *EmitObjCAllocInit(llvm::Value *value, llvm::Type *resultType);
/freebsd-13.1/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h621 CanQualType resultType,
761 CanQualType resultType, in Profile() argument
779 resultType.Profile(ID); in Profile()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp1549 if (auto Nullability = resultType->getNullability(Context)) in getMessageSendResultType()
1556 return resultType; in getMessageSendResultType()
1561 if (!resultType->canHaveNullability()) in getMessageSendResultType()
1562 return resultType; in getMessageSendResultType()
1575 resultType->getNullability(Context)) { in getMessageSendResultType()
1598 return resultType; in getMessageSendResultType()
1604 resultType = attributed->getModifiedType(); in getMessageSendResultType()
1606 resultType = resultType.getDesugaredType(Context); in getMessageSendResultType()
1608 } while (resultType->getNullability(Context)); in getMessageSendResultType()
1616 resultType, resultType); in getMessageSendResultType()
[all …]
H A DSemaPseudoObject.cpp497 QualType resultType = result.get()->getType(); in buildIncDecOperation() local
530 UnaryOperator::Create(S.Context, syntacticOp, opcode, resultType, in buildIncDecOperation()
532 !resultType->isDependentType() in buildIncDecOperation()
533 ? S.Context.getTypeSize(resultType) >= in buildIncDecOperation()
875 QualType resultType = Getter->getReturnType(); in tryBuildGetOfReference() local
876 if (!resultType->isLValueReferenceType()) return false; in tryBuildGetOfReference()
H A DSemaExpr.cpp14771 QualType resultType; in CreateBuiltinUnaryOp() local
14828 resultType = Input.get()->getType(); in CreateBuiltinUnaryOp()
14829 if (resultType->isDependentType()) in CreateBuiltinUnaryOp()
14852 if (resultType->isDependentType()) in CreateBuiltinUnaryOp()
14855 if (resultType->isComplexType() || resultType->isComplexIntegerType()) in CreateBuiltinUnaryOp()
14883 resultType = Context.FloatTy; in CreateBuiltinUnaryOp()
14886 if (resultType->isDependentType()) in CreateBuiltinUnaryOp()
14888 if (resultType->isScalarType() && !isScopedEnumerationType(resultType)) { in CreateBuiltinUnaryOp()
14899 if (!resultType->isIntegerType() && !resultType->isPointerType()) in CreateBuiltinUnaryOp()
14915 resultType = GetSignedVectorType(resultType); in CreateBuiltinUnaryOp()
[all …]
H A DSemaDeclAttr.cpp5556 QualType resultType; in handleObjCReturnsInnerPointerAttr() local
5558 resultType = cast<ObjCMethodDecl>(D)->getReturnType(); in handleObjCReturnsInnerPointerAttr()
5560 resultType = cast<ObjCPropertyDecl>(D)->getType(); in handleObjCReturnsInnerPointerAttr()
5562 if (!resultType->isReferenceType() && in handleObjCReturnsInnerPointerAttr()
5563 (!resultType->isPointerType() || resultType->isObjCRetainableType())) { in handleObjCReturnsInnerPointerAttr()
H A DSemaOverload.cpp14186 QualType resultType = proto->getCallResultType(Context); in BuildCallToMemberFunction() local
14210 Context, MemExprE, Args, resultType, valueKind, RParenLoc, in BuildCallToMemberFunction()
/freebsd-13.1/contrib/bsnmp/tests/
H A Dcatch.hpp1350 bool isOk( ResultWas::OfType resultType );
2447 ResultWas::OfType resultType,
2461 ResultWas::OfType resultType,
5329 ResultWas::OfType resultType; member
8003 ResultWas::OfType resultType,
8210 resultType(_resultType) {} in AssertionResultData()
8240 return m_resultData.resultType; in getResultType()
12402 bool isOk( ResultWas::OfType resultType ) { in isOk() argument
12831 ResultWas::OfType resultType, in reportExpr() argument
12846 ResultWas::OfType resultType, in handleMessage() argument
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h2545 QualType resultType, SourceLocation op, in UnaryExprOrTypeTraitExpr() argument
2547 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_PRValue, in UnaryExprOrTypeTraitExpr()
2561 QualType resultType, SourceLocation op,
H A DExprCXX.h2843 bool value, SourceLocation rparen, QualType resultType) in ExpressionTraitExpr() argument
2844 : Expr(ExpressionTraitExprClass, resultType, VK_PRValue, OK_Ordinary), in ExpressionTraitExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2652 QualType resultType = mDecl->getReturnType(); in SynthMessageExpr() local
2653 if (resultType->isRecordType()) in SynthMessageExpr()
2655 else if (resultType->isRealFloatingType()) in SynthMessageExpr()
H A DRewriteModernObjC.cpp3224 QualType resultType = mDecl->getReturnType(); in SynthMessageExpr() local
3225 if (resultType->isRecordType()) in SynthMessageExpr()
3227 else if (resultType->isRealFloatingType()) in SynthMessageExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp1624 UnaryExprOrTypeTrait ExprKind, Expr *E, QualType resultType, in UnaryExprOrTypeTraitExpr() argument
1626 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_PRValue, OK_Ordinary), in UnaryExprOrTypeTraitExpr()