Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp289 QualType resultType = CastE->getType(); in handleLVectorSplat() local
291 resultType = getContext().getPointerType(resultType); in handleLVectorSplat()
293 resultType, in handleLVectorSplat()
453 QualType resultType = CastE->getType(); in VisitCast() local
455 resultType = getContext().getPointerType(resultType); in VisitCast()
480 svalBuilder.conjureSymbolVal(nullptr, CastE, LCtx, resultType, in VisitCast()
492 QualType resultType = CastE->getType(); in VisitCast() local
494 resultType = getContext().getPointerType(resultType); in VisitCast()
505 svalBuilder.conjureSymbolVal(nullptr, CastE, LCtx, resultType, in VisitCast()
H A DExprEngine.cpp1488 QualType resultType = Ex->getType(); in Visit() local
1493 resultType, in Visit()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenTypes.h215 arrangeBuiltinFunctionDeclaration(QualType resultType,
218 arrangeBuiltinFunctionDeclaration(CanQualType resultType,
220 const CGFunctionInfo &arrangeBuiltinFunctionCall(QualType resultType,
H A DCGCall.cpp185 CanQualType resultType = FTP->getReturnType().getUnqualifiedType(); in arrangeLLVMFunctionInfo() local
187 return CGT.arrangeLLVMFunctionInfo(resultType, instanceMethod, in arrangeLLVMFunctionInfo()
348 CanQualType resultType = TheCXXABI.HasThisReturn(GD) in arrangeCXXStructorDeclaration() local
353 return arrangeLLVMFunctionInfo(resultType, /*instanceMethod=*/true, in arrangeCXXStructorDeclaration()
643 CodeGenTypes::arrangeBuiltinFunctionCall(QualType resultType, in arrangeBuiltinFunctionCall() argument
650 GetReturnType(resultType), /*instanceMethod=*/false, in arrangeBuiltinFunctionCall()
656 CodeGenTypes::arrangeBuiltinFunctionDeclaration(QualType resultType, in arrangeBuiltinFunctionDeclaration() argument
661 GetReturnType(resultType), /*instanceMethod=*/false, /*chainCall=*/false, in arrangeBuiltinFunctionDeclaration()
666 CodeGenTypes::arrangeBuiltinFunctionDeclaration(CanQualType resultType, in arrangeBuiltinFunctionDeclaration() argument
669 resultType, /*instanceMethod=*/false, /*chainCall=*/false, in arrangeBuiltinFunctionDeclaration()
[all …]
H A DCGObjCRuntime.cpp362 QualType resultType, in getMessageSendInfo() argument
380 CGM.getTypes().arrangeUnprototypedObjCMessageSend(resultType, callArgs); in getMessageSendInfo()
H A DCGObjC.cpp2720 llvm::Type *resultType) { in EmitObjCAlloc() argument
2721 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAlloc()
2729 llvm::Type *resultType) { in EmitObjCAllocWithZone() argument
2730 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAllocWithZone()
2736 llvm::Type *resultType) { in EmitObjCAllocInit() argument
2737 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAllocInit()
3171 llvm::Type *resultType = CGF.ConvertType(e->getType()); in visitCastExpr() local
3174 return asImpl().emitBitCast(result, resultType); in visitCastExpr()
3319 TryEmitResult emitBitCast(TryEmitResult result, llvm::Type *resultType) { in emitBitCast()
3321 value = CGF.Builder.CreateBitCast(value, 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.cpp1747 llvm::Type *resultType = ConvertTypeForMem(E->getType()); in EmitCXXNewExpr() local
1748 if (result.getType() != resultType) in EmitCXXNewExpr()
1749 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.h4258 llvm::Value *EmitObjCAllocInit(llvm::Value *value, llvm::Type *resultType);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h621 CanQualType resultType,
761 CanQualType resultType, in Profile() argument
779 resultType.Profile(ID); in Profile()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprObjC.cpp1525 QualType resultType = getBaseMessageSendResultType(*this, ReceiverType, in getMessageSendResultType() local
1549 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()
1603 if (auto attributed = dyn_cast<AttributedType>(resultType.getTypePtr())) { in getMessageSendResultType()
1604 resultType = attributed->getModifiedType(); in getMessageSendResultType()
1606 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.cpp14650 QualType resultType; in CreateBuiltinUnaryOp() local
14673 resultType = CheckIncrementDecrementOperand(*this, Input.get(), VK, OK, in CreateBuiltinUnaryOp()
14679 CanOverflow = isOverflowingIntegerType(Context, resultType); in CreateBuiltinUnaryOp()
14682 resultType = CheckAddressOfOperand(Input, OpLoc); in CreateBuiltinUnaryOp()
14689 resultType = CheckIndirectionOperand(*this, Input.get(), VK, OpLoc); in CreateBuiltinUnaryOp()
14707 resultType = Input.get()->getType(); in CreateBuiltinUnaryOp()
14708 if (resultType->isDependentType()) in CreateBuiltinUnaryOp()
14710 if (resultType->isArithmeticType()) // C99 6.5.3.3p1 in CreateBuiltinUnaryOp()
14712 else if (resultType->isVectorType() && in CreateBuiltinUnaryOp()
14715 resultType->castAs<VectorType>()->getVectorKind() != in CreateBuiltinUnaryOp()
[all …]
H A DSemaDeclAttr.cpp5448 QualType resultType; in handleObjCReturnsInnerPointerAttr() local
5450 resultType = cast<ObjCMethodDecl>(D)->getReturnType(); in handleObjCReturnsInnerPointerAttr()
5452 resultType = cast<ObjCPropertyDecl>(D)->getType(); in handleObjCReturnsInnerPointerAttr()
5454 if (!resultType->isReferenceType() && in handleObjCReturnsInnerPointerAttr()
5455 (!resultType->isPointerType() || resultType->isObjCRetainableType())) { in handleObjCReturnsInnerPointerAttr()
H A DSemaOverload.cpp14166 QualType resultType = proto->getCallResultType(Context); in BuildCallToMemberFunction() local
14190 Context, MemExprE, Args, resultType, valueKind, RParenLoc, in BuildCallToMemberFunction()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DExpr.h2490 QualType resultType, SourceLocation op, in UnaryExprOrTypeTraitExpr() argument
2492 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary), in UnaryExprOrTypeTraitExpr()
2505 QualType resultType, SourceLocation op,
H A DExprCXX.h2843 bool value, SourceLocation rparen, QualType resultType) in ExpressionTraitExpr() argument
2844 : Expr(ExpressionTraitExprClass, resultType, VK_RValue, OK_Ordinary), in ExpressionTraitExpr()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExpr.cpp1558 UnaryExprOrTypeTrait ExprKind, Expr *E, QualType resultType, in UnaryExprOrTypeTraitExpr() argument
1560 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary), in UnaryExprOrTypeTraitExpr()