Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp286 QualType resultType = CastE->getType(); in handleLVectorSplat() local
288 resultType = getContext().getPointerType(resultType); in handleLVectorSplat()
290 resultType, in handleLVectorSplat()
446 QualType resultType = CastE->getType(); in VisitCast() local
448 resultType = getContext().getPointerType(resultType); in VisitCast()
473 svalBuilder.conjureSymbolVal(nullptr, CastE, LCtx, resultType, in VisitCast()
485 QualType resultType = CastE->getType(); in VisitCast() local
487 resultType = getContext().getPointerType(resultType); in VisitCast()
498 svalBuilder.conjureSymbolVal(nullptr, CastE, LCtx, resultType, in VisitCast()
H A DExprEngine.cpp1412 QualType resultType = Ex->getType(); in Visit() local
1417 resultType, in Visit()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypes.h277 arrangeBuiltinFunctionDeclaration(QualType resultType,
280 arrangeBuiltinFunctionDeclaration(CanQualType resultType,
282 const CGFunctionInfo &arrangeBuiltinFunctionCall(QualType resultType,
H A DCGCall.cpp351 CanQualType resultType = TheCXXABI.HasThisReturn(GD) in arrangeCXXStructorDeclaration() local
653 GetReturnType(resultType), /*instanceMethod=*/false, in arrangeBuiltinFunctionCall()
756 required, resultType, argTypes); in arrangeLLVMFunctionInfo()
833 FI->getArgsBuffer()[0].type = resultType; in create()
1556 llvm::Type *resultType = nullptr; in GetFunctionType() local
1564 resultType = retAI.getCoerceToType(); in GetFunctionType()
1585 resultType = retAI.getUnpaddedCoerceAndExpandType(); in GetFunctionType()
2609 llvm::Type *resultType = result->getType(); in tryEmitFusedAutoreleaseOfResult() local
2686 return CGF.Builder.CreateBitCast(result, resultType); in tryEmitFusedAutoreleaseOfResult()
2717 llvm::Type *resultType = result->getType(); in tryRemoveRetainOfSelf() local
[all …]
H A DCGObjCRuntime.cpp364 QualType resultType, in getMessageSendInfo() argument
382 CGM.getTypes().arrangeUnprototypedObjCMessageSend(resultType, callArgs); in getMessageSendInfo()
H A DCGObjC.cpp2495 llvm::Type *resultType) { in EmitObjCAlloc() argument
2496 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAlloc()
2504 llvm::Type *resultType) { in EmitObjCAllocWithZone() argument
2505 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAllocWithZone()
2920 llvm::Type *resultType = CGF.ConvertType(e->getType()); in visitCastExpr() local
2923 return asImpl().emitBitCast(result, resultType); in visitCastExpr()
3067 TryEmitResult emitBitCast(TryEmitResult result, llvm::Type *resultType) { in emitBitCast()
3069 value = CGF.Builder.CreateBitCast(value, resultType); in emitBitCast()
3236 llvm::Value *emitBitCast(llvm::Value *value, llvm::Type *resultType) { in emitBitCast()
3237 return CGF.Builder.CreateBitCast(value, resultType); in emitBitCast()
H A DCGObjCRuntime.h300 QualType resultType,
H A DCGClass.cpp2812 QualType resultType = FPT->getReturnType(); in EmitForwardingCallToLambda() local
2814 if (!resultType->isVoidType() && in EmitForwardingCallToLambda()
2817 returnSlot = ReturnValueSlot(ReturnValue, resultType.isVolatileQualified()); in EmitForwardingCallToLambda()
2828 if (!resultType->isVoidType() && returnSlot.isNull()) { in EmitForwardingCallToLambda()
2829 if (getLangOpts().ObjCAutoRefCount && resultType->isObjCRetainableType()) { in EmitForwardingCallToLambda()
2832 EmitReturnOfRValue(RV, resultType); in EmitForwardingCallToLambda()
H A DCGObjCMac.cpp109 llvm::Type *resultType = in getMessageSendFp2retFn() local
112 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(resultType, in getMessageSendFp2retFn()
1690 QualType resultType, in complete()
1729 if (result.isScalar() && resultType->isVoidType()) { in complete()
1738 llvm::Constant *null = CGF.CGM.EmitNullConstant(resultType); in complete()
1758 CGF.EmitNullInitialization(result.getAggregateAddress(), resultType); in complete()
7040 QualType resultType, in EmitVTableMessageSend() argument
7061 MessageSendInfo MSI = getMessageSendInfo(method, resultType, args); in EmitVTableMessageSend()
7083 } else if (!isSuper && CGM.ReturnTypeUsesFPRet(resultType)) { in EmitVTableMessageSend()
7145 return nullReturn.complete(CGF, returnSlot, result, resultType, formalArgs, in EmitVTableMessageSend()
H A DCGExprCXX.cpp1729 llvm::Type *resultType = ConvertTypeForMem(E->getType()); in EmitCXXNewExpr() local
1730 if (result.getType() != resultType) in EmitCXXNewExpr()
1731 result = Builder.CreateBitCast(result, resultType); in EmitCXXNewExpr()
H A DCGAtomic.cpp306 QualType resultType, in emitAtomicLibcall() argument
309 CGF.CGM.getTypes().arrangeBuiltinFunctionCall(resultType, args); in emitAtomicLibcall()
H A DCGExpr.cpp1437 QualType resultType; in tryEmitAsConstant() local
1443 resultType = refExpr->getType(); in tryEmitAsConstant()
1449 resultType = value->getType(); in tryEmitAsConstant()
1462 result.Val, resultType); in tryEmitAsConstant()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h565 CanQualType resultType,
702 CanQualType resultType, in Profile() argument
719 resultType.Profile(ID); in Profile()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaPseudoObject.cpp509 QualType resultType = result.get()->getType(); in buildIncDecOperation() local
542 syntacticOp, opcode, resultType, VK_LValue, OK_Ordinary, opcLoc, in buildIncDecOperation()
543 !resultType->isDependentType() in buildIncDecOperation()
544 ? S.Context.getTypeSize(resultType) >= in buildIncDecOperation()
885 QualType resultType = Getter->getReturnType(); in tryBuildGetOfReference() local
886 if (!resultType->isLValueReferenceType()) return false; in tryBuildGetOfReference()
H A DSemaExprObjC.cpp1379 if (auto Nullability = resultType->getNullability(Context)) in getMessageSendResultType()
1386 return resultType; in getMessageSendResultType()
1391 if (!resultType->canHaveNullability()) in getMessageSendResultType()
1392 return resultType; in getMessageSendResultType()
1400 if (auto nullability = resultType->getNullability(Context)) in getMessageSendResultType()
1420 return resultType; in getMessageSendResultType()
1426 resultType = attributed->getModifiedType(); in getMessageSendResultType()
1428 resultType = resultType.getDesugaredType(Context); in getMessageSendResultType()
1430 } while (resultType->getNullability(Context)); in getMessageSendResultType()
1438 resultType, resultType); in getMessageSendResultType()
[all …]
H A DSemaExpr.cpp12877 QualType resultType; in CreateBuiltinUnaryOp() local
12934 resultType = Input.get()->getType(); in CreateBuiltinUnaryOp()
12935 if (resultType->isDependentType()) in CreateBuiltinUnaryOp()
12957 resultType = Input.get()->getType(); in CreateBuiltinUnaryOp()
12959 if (resultType->isDependentType()) in CreateBuiltinUnaryOp()
12962 if (resultType->isComplexType() || resultType->isComplexIntegerType()) in CreateBuiltinUnaryOp()
12990 resultType = Context.FloatTy; in CreateBuiltinUnaryOp()
12993 if (resultType->isDependentType()) in CreateBuiltinUnaryOp()
12995 if (resultType->isScalarType() && !isScopedEnumerationType(resultType)) { in CreateBuiltinUnaryOp()
13006 if (!resultType->isIntegerType() && !resultType->isPointerType()) in CreateBuiltinUnaryOp()
[all …]
H A DSemaDeclAttr.cpp5015 QualType resultType; in handleObjCReturnsInnerPointerAttr() local
5017 resultType = cast<ObjCMethodDecl>(D)->getReturnType(); in handleObjCReturnsInnerPointerAttr()
5019 resultType = cast<ObjCPropertyDecl>(D)->getType(); in handleObjCReturnsInnerPointerAttr()
5021 if (!resultType->isReferenceType() && in handleObjCReturnsInnerPointerAttr()
5022 (!resultType->isPointerType() || resultType->isObjCRetainableType())) { in handleObjCReturnsInnerPointerAttr()
H A DSemaOverload.cpp12868 QualType resultType = proto->getCallResultType(Context); in BuildCallToMemberFunction() local
12892 CXXMemberCallExpr::Create(Context, MemExprE, Args, resultType, in BuildCallToMemberFunction()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DExpr.h2231 QualType resultType, SourceLocation op, in UnaryExprOrTypeTraitExpr() argument
2233 Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary, in UnaryExprOrTypeTraitExpr()
2246 QualType resultType, SourceLocation op,
H A DExprCXX.h2601 SourceLocation rparen, QualType resultType) in ExpressionTraitExpr() argument
2602 : Expr(ExpressionTraitExprClass, resultType, VK_RValue, OK_Ordinary, in ExpressionTraitExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2641 QualType resultType = mDecl->getReturnType(); in SynthMessageExpr() local
2642 if (resultType->isRecordType()) in SynthMessageExpr()
2644 else if (resultType->isRealFloatingType()) in SynthMessageExpr()
H A DRewriteModernObjC.cpp3218 QualType resultType = mDecl->getReturnType(); in SynthMessageExpr() local
3219 if (resultType->isRecordType()) in SynthMessageExpr()
3221 else if (resultType->isRealFloatingType()) in SynthMessageExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExpr.cpp1502 UnaryExprOrTypeTrait ExprKind, Expr *E, QualType resultType, in UnaryExprOrTypeTraitExpr() argument
1504 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary, in UnaryExprOrTypeTraitExpr()