Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp433 QualType resultType = CastE->getType(); in VisitCast() local
435 resultType = getContext().getPointerType(resultType); in VisitCast()
456 svalBuilder.makeNullWithType(resultType)); in VisitCast()
462 svalBuilder.conjureSymbolVal(nullptr, CastE, LCtx, resultType, in VisitCast()
474 QualType resultType = CastE->getType(); in VisitCast() local
476 resultType = getContext().getPointerType(resultType); in VisitCast()
486 svalBuilder.conjureSymbolVal(nullptr, CastE, LCtx, resultType, in VisitCast()
524 QualType resultType = CastE->getType(); in VisitCast() local
526 resultType = getContext().getPointerType(resultType); in VisitCast()
528 /*symbolTag=*/nullptr, CastE, LCtx, resultType, in VisitCast()
H A DExprEngine.cpp2019 QualType resultType = Ex->getType(); in Visit() local
2024 resultType, in Visit()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.h207 arrangeBuiltinFunctionDeclaration(QualType resultType,
210 arrangeBuiltinFunctionDeclaration(CanQualType resultType,
212 const CGFunctionInfo &arrangeBuiltinFunctionCall(QualType resultType,
H A DCGCall.cpp195 return CGT.arrangeLLVMFunctionInfo(resultType, opts, prefix, in arrangeLLVMFunctionInfo()
365 CanQualType resultType = TheCXXABI.HasThisReturn(GD) in arrangeCXXStructorDeclaration() local
853 FI->getArgsBuffer()[0].type = resultType; in create()
1634 llvm::Type *resultType = nullptr; in GetFunctionType() local
1643 resultType = retAI.getCoerceToType(); in GetFunctionType()
1659 resultType = llvm::Type::getVoidTy(getLLVMContext()); in GetFunctionType()
1663 resultType = retAI.getUnpaddedCoerceAndExpandType(); in GetFunctionType()
3382 llvm::Type *resultType = result->getType(); in tryEmitFusedAutoreleaseOfResult() local
3459 return CGF.Builder.CreateBitCast(result, resultType); in tryEmitFusedAutoreleaseOfResult()
3490 llvm::Type *resultType = result->getType(); in tryRemoveRetainOfSelf() local
[all …]
H A DCGObjCRuntime.cpp361 QualType resultType, in getMessageSendInfo() argument
381 CGM.getTypes().arrangeUnprototypedObjCMessageSend(resultType, callArgs); in getMessageSendInfo()
H A DCGObjC.cpp2746 llvm::Type *resultType) { in EmitObjCAlloc() argument
2747 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAlloc()
2756 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAllocWithZone()
2762 llvm::Type *resultType) { in EmitObjCAllocInit() argument
2763 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAllocInit()
3201 llvm::Type *resultType = CGF.ConvertType(e->getType()); in visitCastExpr() local
3204 return asImpl().emitBitCast(result, resultType); in visitCastExpr()
3349 TryEmitResult emitBitCast(TryEmitResult result, llvm::Type *resultType) { in emitBitCast()
3351 value = CGF.Builder.CreateBitCast(value, resultType); in emitBitCast()
3526 llvm::Value *emitBitCast(llvm::Value *value, llvm::Type *resultType) { in emitBitCast()
[all …]
H A DCGObjCRuntime.h339 QualType resultType,
H A DCGClass.cpp2933 QualType resultType = FPT->getReturnType(); in EmitForwardingCallToLambda() local
2935 if (!resultType->isVoidType() && in EmitForwardingCallToLambda()
2939 ReturnValueSlot(ReturnValue, resultType.isVolatileQualified(), in EmitForwardingCallToLambda()
2951 if (!resultType->isVoidType() && returnSlot.isNull()) { in EmitForwardingCallToLambda()
2952 if (getLangOpts().ObjCAutoRefCount && resultType->isObjCRetainableType()) { in EmitForwardingCallToLambda()
2955 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()
1741 QualType resultType, in complete()
1770 if (result.isScalar() && resultType->isVoidType()) { in complete()
1780 CGF.EmitFromMemory(CGF.CGM.EmitNullConstant(resultType), resultType); in complete()
1800 CGF.EmitNullInitialization(result.getAggregateAddress(), resultType); in complete()
7226 QualType resultType, in EmitVTableMessageSend() argument
7247 MessageSendInfo MSI = getMessageSendInfo(method, resultType, args); in EmitVTableMessageSend()
7269 } else if (!isSuper && CGM.ReturnTypeUsesFPRet(resultType)) { in EmitVTableMessageSend()
7330 return nullReturn.complete(CGF, returnSlot, result, resultType, formalArgs, in EmitVTableMessageSend()
H A DCGExprCXX.cpp1774 llvm::Type *resultType = ConvertTypeForMem(E->getType()); in EmitCXXNewExpr() local
1775 if (resultPtr->getType() != resultType) in EmitCXXNewExpr()
1776 resultPtr = Builder.CreateBitCast(resultPtr, resultType); in EmitCXXNewExpr()
H A DCGAtomic.cpp314 QualType resultType, in emitAtomicLibcall() argument
317 CGF.CGM.getTypes().arrangeBuiltinFunctionCall(resultType, args); in emitAtomicLibcall()
H A DCGExpr.cpp1751 QualType resultType; in tryEmitAsConstant() local
1757 resultType = refExpr->getType(); in tryEmitAsConstant()
1763 resultType = value->getType(); in tryEmitAsConstant()
1799 result.Val, resultType); in tryEmitAsConstant()
H A DCodeGenFunction.h4474 llvm::Value *EmitObjCAllocInit(llvm::Value *value, llvm::Type *resultType);
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h631 ArrayRef<ExtParameterInfo> paramInfos, CanQualType resultType,
782 RequiredArgs required, CanQualType resultType, in Profile() argument
801 resultType.Profile(ID); in Profile()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp1548 if (auto Nullability = resultType->getNullability()) in getMessageSendResultType()
1555 return resultType; in getMessageSendResultType()
1560 if (!resultType->canHaveNullability()) in getMessageSendResultType()
1561 return resultType; in getMessageSendResultType()
1574 resultType->getNullability()) { in getMessageSendResultType()
1597 return resultType; in getMessageSendResultType()
1603 resultType = attributed->getModifiedType(); in getMessageSendResultType()
1605 resultType = resultType.getDesugaredType(Context); in getMessageSendResultType()
1607 } while (resultType->getNullability()); in getMessageSendResultType()
1615 resultType, resultType); in getMessageSendResultType()
[all …]
H A DSemaPseudoObject.cpp502 QualType resultType = result.get()->getType(); in buildIncDecOperation() local
535 UnaryOperator::Create(S.Context, syntacticOp, opcode, resultType, in buildIncDecOperation()
537 !resultType->isDependentType() in buildIncDecOperation()
538 ? S.Context.getTypeSize(resultType) >= in buildIncDecOperation()
880 QualType resultType = Getter->getReturnType(); in tryBuildGetOfReference() local
881 if (!resultType->isLValueReferenceType()) return false; in tryBuildGetOfReference()
H A DSemaExpr.cpp16287 QualType resultType; in CreateBuiltinUnaryOp() local
16333 resultType = in CreateBuiltinUnaryOp()
16353 if (resultType->isDependentType()) in CreateBuiltinUnaryOp()
16378 if (resultType->isDependentType()) in CreateBuiltinUnaryOp()
16381 if (resultType->isComplexType() || resultType->isComplexIntegerType()) in CreateBuiltinUnaryOp()
16409 resultType = Context.FloatTy; in CreateBuiltinUnaryOp()
16413 if (resultType->isPointerType() && in CreateBuiltinUnaryOp()
16421 if (resultType->isScalarType() && !isScopedEnumerationType(resultType)) { in CreateBuiltinUnaryOp()
16432 if (!resultType->isIntegerType() && !resultType->isPointerType()) in CreateBuiltinUnaryOp()
16447 resultType = GetSignedVectorType(resultType); in CreateBuiltinUnaryOp()
[all …]
H A DSemaDeclAttr.cpp6199 QualType resultType; in handleObjCReturnsInnerPointerAttr() local
6201 resultType = cast<ObjCMethodDecl>(D)->getReturnType(); in handleObjCReturnsInnerPointerAttr()
6203 resultType = cast<ObjCPropertyDecl>(D)->getType(); in handleObjCReturnsInnerPointerAttr()
6205 if (!resultType->isReferenceType() && in handleObjCReturnsInnerPointerAttr()
6206 (!resultType->isPointerType() || resultType->isObjCRetainableType())) { in handleObjCReturnsInnerPointerAttr()
H A DSemaOverload.cpp15225 QualType resultType = proto->getCallResultType(Context); in BuildCallToMemberFunction() local
15249 Context, MemExprE, Args, resultType, valueKind, RParenLoc, in BuildCallToMemberFunction()
/freebsd/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/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h2553 QualType resultType, SourceLocation op, in UnaryExprOrTypeTraitExpr() argument
2555 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_PRValue, in UnaryExprOrTypeTraitExpr()
2569 QualType resultType, SourceLocation op,
H A DExprCXX.h2929 bool value, SourceLocation rparen, QualType resultType) in ExpressionTraitExpr() argument
2930 : Expr(ExpressionTraitExprClass, resultType, VK_PRValue, OK_Ordinary), in ExpressionTraitExpr()
/freebsd/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.cpp3225 QualType resultType = mDecl->getReturnType(); in SynthMessageExpr() local
3226 if (resultType->isRecordType()) in SynthMessageExpr()
3228 else if (resultType->isRealFloatingType()) in SynthMessageExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp1671 UnaryExprOrTypeTrait ExprKind, Expr *E, QualType resultType, in UnaryExprOrTypeTraitExpr() argument
1673 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_PRValue, OK_Ordinary), in UnaryExprOrTypeTraitExpr()