Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp442 QualType resultType = CastE->getType(); in VisitCast() local
444 resultType = getContext().getPointerType(resultType); in VisitCast()
465 svalBuilder.makeNullWithType(resultType)); in VisitCast()
471 svalBuilder.conjureSymbolVal(nullptr, CastE, LCtx, resultType, in VisitCast()
483 QualType resultType = CastE->getType(); in VisitCast() local
485 resultType = getContext().getPointerType(resultType); in VisitCast()
495 svalBuilder.conjureSymbolVal(nullptr, CastE, LCtx, resultType, in VisitCast()
533 QualType resultType = CastE->getType(); in VisitCast() local
535 resultType = getContext().getPointerType(resultType); in VisitCast()
537 /*symbolTag=*/nullptr, CastE, LCtx, resultType, in VisitCast()
H A DExprEngine.cpp1997 QualType resultType = Ex->getType(); in Visit() local
2002 resultType, in Visit()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenTypes.h212 arrangeBuiltinFunctionDeclaration(QualType resultType,
215 arrangeBuiltinFunctionDeclaration(CanQualType resultType,
217 const CGFunctionInfo &arrangeBuiltinFunctionCall(QualType resultType,
H A DCGCall.cpp190 CanQualType resultType = FTP->getReturnType().getUnqualifiedType(); in arrangeLLVMFunctionInfo() local
192 return CGT.arrangeLLVMFunctionInfo(resultType, instanceMethod, in arrangeLLVMFunctionInfo()
361 CanQualType resultType = TheCXXABI.HasThisReturn(GD) in arrangeCXXStructorDeclaration() local
366 return arrangeLLVMFunctionInfo(resultType, /*instanceMethod=*/true, in arrangeCXXStructorDeclaration()
659 CodeGenTypes::arrangeBuiltinFunctionCall(QualType resultType, in arrangeBuiltinFunctionCall() argument
666 GetReturnType(resultType), /*instanceMethod=*/false, in arrangeBuiltinFunctionCall()
672 CodeGenTypes::arrangeBuiltinFunctionDeclaration(QualType resultType, in arrangeBuiltinFunctionDeclaration() argument
677 GetReturnType(resultType), /*instanceMethod=*/false, /*chainCall=*/false, in arrangeBuiltinFunctionDeclaration()
682 CodeGenTypes::arrangeBuiltinFunctionDeclaration(CanQualType resultType, in arrangeBuiltinFunctionDeclaration() argument
685 resultType, /*instanceMethod=*/false, /*chainCall=*/false, in arrangeBuiltinFunctionDeclaration()
[all …]
H A DCGObjCRuntime.cpp363 QualType resultType, in getMessageSendInfo() argument
383 CGM.getTypes().arrangeUnprototypedObjCMessageSend(resultType, callArgs); in getMessageSendInfo()
H A DCGObjC.cpp2771 llvm::Type *resultType) { in EmitObjCAlloc() argument
2772 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAlloc()
2780 llvm::Type *resultType) { in EmitObjCAllocWithZone() argument
2781 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAllocWithZone()
2787 llvm::Type *resultType) { in EmitObjCAllocInit() argument
2788 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAllocInit()
3226 llvm::Type *resultType = CGF.ConvertType(e->getType()); in visitCastExpr() local
3229 return asImpl().emitBitCast(result, resultType); in visitCastExpr()
3374 TryEmitResult emitBitCast(TryEmitResult result, llvm::Type *resultType) { in emitBitCast()
3376 value = CGF.Builder.CreateBitCast(value, resultType); in emitBitCast()
[all …]
H A DCGObjCRuntime.h339 QualType resultType,
H A DCGClass.cpp2950 QualType resultType = FPT->getReturnType(); in EmitForwardingCallToLambda() local
2952 if (!resultType->isVoidType() && in EmitForwardingCallToLambda()
2956 ReturnValueSlot(ReturnValue, resultType.isVolatileQualified(), in EmitForwardingCallToLambda()
2968 if (!resultType->isVoidType() && returnSlot.isNull()) { in EmitForwardingCallToLambda()
2969 if (getLangOpts().ObjCAutoRefCount && resultType->isObjCRetainableType()) { in EmitForwardingCallToLambda()
2972 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()
7271 QualType resultType, in EmitVTableMessageSend() argument
7292 MessageSendInfo MSI = getMessageSendInfo(method, resultType, args); in EmitVTableMessageSend()
7314 } else if (!isSuper && CGM.ReturnTypeUsesFPRet(resultType)) { in EmitVTableMessageSend()
7375 return nullReturn.complete(CGF, returnSlot, result, resultType, formalArgs, in EmitVTableMessageSend()
H A DCGExprCXX.cpp1748 llvm::Type *resultType = ConvertTypeForMem(E->getType()); in EmitCXXNewExpr() local
1749 if (resultPtr->getType() != resultType) in EmitCXXNewExpr()
1750 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.cpp1494 QualType resultType; in tryEmitAsConstant() local
1500 resultType = refExpr->getType(); in tryEmitAsConstant()
1506 resultType = value->getType(); in tryEmitAsConstant()
1542 result.Val, resultType); in tryEmitAsConstant()
H A DCodeGenFunction.h4337 llvm::Value *EmitObjCAllocInit(llvm::Value *value, llvm::Type *resultType);
/openbsd-src/gnu/llvm/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h624 CanQualType resultType,
775 CanQualType resultType, in Profile() argument
793 resultType.Profile(ID); in Profile()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExprObjC.cpp1523 QualType resultType = getBaseMessageSendResultType(*this, ReceiverType, in getMessageSendResultType() local
1547 if (auto Nullability = resultType->getNullability()) in getMessageSendResultType()
1554 return resultType; in getMessageSendResultType()
1559 if (!resultType->canHaveNullability()) in getMessageSendResultType()
1560 return resultType; in getMessageSendResultType()
1573 resultType->getNullability()) { in getMessageSendResultType()
1596 return resultType; in getMessageSendResultType()
1601 if (auto attributed = dyn_cast<AttributedType>(resultType.getTypePtr())) { in getMessageSendResultType()
1602 resultType = attributed->getModifiedType(); in getMessageSendResultType()
1604 resultType = resultType.getDesugaredType(Context); 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.cpp15791 QualType resultType; in CreateBuiltinUnaryOp() local
15821 resultType = CheckIncrementDecrementOperand(*this, Input.get(), VK, OK, in CreateBuiltinUnaryOp()
15827 CanOverflow = isOverflowingIntegerType(Context, resultType); in CreateBuiltinUnaryOp()
15830 resultType = CheckAddressOfOperand(Input, OpLoc); in CreateBuiltinUnaryOp()
15837 resultType = in CreateBuiltinUnaryOp()
15856 resultType = Input.get()->getType(); in CreateBuiltinUnaryOp()
15857 if (resultType->isDependentType()) in CreateBuiltinUnaryOp()
15859 if (resultType->isArithmeticType()) // C99 6.5.3.3p1 in CreateBuiltinUnaryOp()
15861 else if (resultType->isVectorType() && in CreateBuiltinUnaryOp()
15864 resultType->castAs<VectorType>()->getVectorKind() != in CreateBuiltinUnaryOp()
[all …]
H A DSemaDeclAttr.cpp5993 QualType resultType; in handleObjCReturnsInnerPointerAttr() local
5995 resultType = cast<ObjCMethodDecl>(D)->getReturnType(); in handleObjCReturnsInnerPointerAttr()
5997 resultType = cast<ObjCPropertyDecl>(D)->getType(); in handleObjCReturnsInnerPointerAttr()
5999 if (!resultType->isReferenceType() && in handleObjCReturnsInnerPointerAttr()
6000 (!resultType->isPointerType() || resultType->isObjCRetainableType())) { in handleObjCReturnsInnerPointerAttr()
H A DSemaOverload.cpp14586 QualType resultType = proto->getCallResultType(Context); in BuildCallToMemberFunction() local
14610 Context, MemExprE, Args, resultType, valueKind, RParenLoc, in BuildCallToMemberFunction()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DExpr.h2569 QualType resultType, SourceLocation op, in UnaryExprOrTypeTraitExpr() argument
2571 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_PRValue, in UnaryExprOrTypeTraitExpr()
2585 QualType resultType, SourceLocation op,
H A DExprCXX.h2917 bool value, SourceLocation rparen, QualType resultType) in ExpressionTraitExpr() argument
2918 : Expr(ExpressionTraitExprClass, resultType, VK_PRValue, OK_Ordinary), in ExpressionTraitExpr()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExpr.cpp1683 UnaryExprOrTypeTrait ExprKind, Expr *E, QualType resultType, in UnaryExprOrTypeTraitExpr() argument
1685 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_PRValue, OK_Ordinary), in UnaryExprOrTypeTraitExpr()