Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDExprEngineC.cpp344 QualType resultType = CastE->getType(); in VisitCast() local
346 resultType = getContext().getPointerType(resultType); in VisitCast()
371 svalBuilder.conjureSymbolVal(nullptr, CastE, LCtx, resultType, in VisitCast()
396 QualType resultType = CastE->getType(); in VisitCast() local
398 resultType = getContext().getPointerType(resultType); in VisitCast()
400 resultType, in VisitCast()
HDExprEngine.cpp972 QualType resultType = Ex->getType(); in Visit() local
979 resultType, in Visit()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGObjC.cpp2584 llvm::Type *resultType = nullptr; in tryEmitARCRetainScalarExpr() local
2601 if (resultType) { in tryEmitARCRetainScalarExpr()
2603 value = CGF.Builder.CreateBitCast(value, resultType); in tryEmitARCRetainScalarExpr()
2616 if (!resultType) in tryEmitARCRetainScalarExpr()
2617 resultType = CGF.ConvertType(ce->getType()); in tryEmitARCRetainScalarExpr()
2626 if (resultType) result = CGF.Builder.CreateBitCast(result, resultType); in tryEmitARCRetainScalarExpr()
2650 if (resultType) in tryEmitARCRetainScalarExpr()
2651 result = CGF.Builder.CreateBitCast(result, resultType); in tryEmitARCRetainScalarExpr()
2660 if (resultType) result = CGF.Builder.CreateBitCast(result, resultType); in tryEmitARCRetainScalarExpr()
2668 if (resultType) result = CGF.Builder.CreateBitCast(result, resultType); in tryEmitARCRetainScalarExpr()
[all …]
HDCGCall.cpp103 CanQualType resultType = FTP->getReturnType().getUnqualifiedType(); in arrangeLLVMFunctionInfo() local
104 return CGT.arrangeLLVMFunctionInfo(resultType, instanceMethod, in arrangeLLVMFunctionInfo()
218 CanQualType resultType = TheCXXABI.HasThisReturn(GD) in arrangeCXXStructorDeclaration() local
223 return arrangeLLVMFunctionInfo(resultType, /*instanceMethod=*/true, in arrangeCXXStructorDeclaration()
431 CodeGenTypes::arrangeFreeFunctionCall(QualType resultType, in arrangeFreeFunctionCall() argument
440 GetReturnType(resultType), /*instanceMethod=*/false, in arrangeFreeFunctionCall()
461 QualType resultType, const FunctionArgList &args, in arrangeFreeFunctionDeclaration() argument
471 GetReturnType(resultType), /*instanceMethod=*/false, in arrangeFreeFunctionDeclaration()
485 CodeGenTypes::arrangeLLVMFunctionInfo(CanQualType resultType, in arrangeLLVMFunctionInfo() argument
499 resultType, argTypes); in arrangeLLVMFunctionInfo()
[all …]
HDCGObjCRuntime.cpp349 QualType resultType, in getMessageSendInfo() argument
367 CGM.getTypes().arrangeFreeFunctionCall(resultType, callArgs, einfo, in getMessageSendInfo()
375 CGM.getTypes().arrangeFreeFunctionCall(resultType, callArgs, in getMessageSendInfo()
HDCGObjCRuntime.h284 QualType resultType,
HDCGClass.cpp2377 QualType resultType = FPT->getReturnType(); in EmitForwardingCallToLambda() local
2379 if (!resultType->isVoidType() && in EmitForwardingCallToLambda()
2382 returnSlot = ReturnValueSlot(ReturnValue, resultType.isVolatileQualified()); in EmitForwardingCallToLambda()
2393 if (!resultType->isVoidType() && returnSlot.isNull()) in EmitForwardingCallToLambda()
2394 EmitReturnOfRValue(RV, resultType); in EmitForwardingCallToLambda()
HDCGExprCXX.cpp1364 llvm::Type *resultType = ConvertTypeForMem(E->getType()); in EmitCXXNewExpr() local
1365 if (result->getType() != resultType) in EmitCXXNewExpr()
1366 result = Builder.CreateBitCast(result, resultType); in EmitCXXNewExpr()
HDCGObjCMac.cpp108 llvm::Type *resultType = in getMessageSendFp2retFn() local
111 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(resultType, in getMessageSendFp2retFn()
1581 RValue complete(CodeGenFunction &CGF, RValue result, QualType resultType, in complete()
1620 if (result.isScalar() && resultType->isVoidType()) { in complete()
1629 llvm::Constant *null = CGF.CGM.EmitNullConstant(resultType); in complete()
1648 CGF.EmitNullInitialization(result.getAggregateAddr(), resultType); in complete()
6472 QualType resultType, in EmitVTableMessageSend() argument
6493 MessageSendInfo MSI = getMessageSendInfo(method, resultType, args); in EmitVTableMessageSend()
6515 } else if (!isSuper && CGM.ReturnTypeUsesFPRet(resultType)) { in EmitVTableMessageSend()
6576 return nullReturn.complete(CGF, result, resultType, formalArgs, in EmitVTableMessageSend()
HDCGExpr.cpp1012 QualType resultType; in tryEmitAsConstant() local
1018 resultType = refExpr->getType(); in tryEmitAsConstant()
1024 resultType = value->getType(); in tryEmitAsConstant()
1036 llvm::Constant *C = CGM.EmitConstantValue(result.Val, resultType, this); in tryEmitAsConstant()
HDCGAtomic.cpp312 QualType resultType, in emitAtomicLibcall() argument
315 CGF.CGM.getTypes().arrangeFreeFunctionCall(resultType, args, in emitAtomicLibcall()
/NextBSD/contrib/llvm/tools/clang/include/clang/CodeGen/
HDCGFunctionInfo.h389 CanQualType resultType,
486 CanQualType resultType, in Profile() argument
496 resultType.Profile(ID); in Profile()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaExpr.cpp7361 QualType resultType = LHSType; in CheckVectorOperands() local
7362 RHS = ImpCastExprToType(RHS.get(), resultType, CK_BitCast); in CheckVectorOperands()
7363 return resultType; in CheckVectorOperands()
10595 QualType resultType; in CreateBuiltinUnaryOp() local
10601 resultType = CheckIncrementDecrementOperand(*this, Input.get(), VK, OK, in CreateBuiltinUnaryOp()
10609 resultType = CheckAddressOfOperand(Input, OpLoc); in CreateBuiltinUnaryOp()
10615 resultType = CheckIndirectionOperand(*this, Input.get(), VK, OpLoc); in CreateBuiltinUnaryOp()
10622 resultType = Input.get()->getType(); in CreateBuiltinUnaryOp()
10623 if (resultType->isDependentType()) in CreateBuiltinUnaryOp()
10625 if (resultType->isArithmeticType()) // C99 6.5.3.3p1 in CreateBuiltinUnaryOp()
[all …]
HDSemaExprObjC.cpp1348 QualType resultType = getBaseMessageSendResultType(*this, ReceiverType, in getMessageSendResultType() local
1355 return resultType; in getMessageSendResultType()
1363 if (auto nullability = resultType->getNullability(Context)) in getMessageSendResultType()
1383 return resultType; in getMessageSendResultType()
1388 if (auto attributed = dyn_cast<AttributedType>(resultType.getTypePtr())) { in getMessageSendResultType()
1389 resultType = attributed->getModifiedType(); in getMessageSendResultType()
1391 resultType = resultType.getDesugaredType(Context); in getMessageSendResultType()
1393 } while (resultType->getNullability(Context)); in getMessageSendResultType()
1401 resultType, resultType); in getMessageSendResultType()
1404 return resultType; in getMessageSendResultType()
HDSemaPseudoObject.cpp470 QualType resultType = result.get()->getType(); in buildIncDecOperation() local
498 new (S.Context) UnaryOperator(syntacticOp, opcode, resultType, in buildIncDecOperation()
848 QualType resultType = Getter->getReturnType(); in tryBuildGetOfReference() local
849 if (!resultType->isLValueReferenceType()) return false; in tryBuildGetOfReference()
HDSemaDeclAttr.cpp3855 QualType resultType; in handleObjCReturnsInnerPointerAttr() local
3857 resultType = cast<ObjCMethodDecl>(D)->getReturnType(); in handleObjCReturnsInnerPointerAttr()
3859 resultType = cast<ObjCPropertyDecl>(D)->getType(); in handleObjCReturnsInnerPointerAttr()
3861 if (!resultType->isReferenceType() && in handleObjCReturnsInnerPointerAttr()
3862 (!resultType->isPointerType() || resultType->isObjCRetainableType())) { in handleObjCReturnsInnerPointerAttr()
HDSemaOverload.cpp11545 QualType resultType = proto->getCallResultType(Context); in BuildCallToMemberFunction() local
11568 if (resultType->isMemberPointerType()) in BuildCallToMemberFunction()
11570 RequireCompleteType(LParenLoc, resultType, 0); in BuildCallToMemberFunction()
11574 resultType, valueKind, RParenLoc); in BuildCallToMemberFunction()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDExpr.h1986 QualType resultType, SourceLocation op, in UnaryExprOrTypeTraitExpr() argument
1988 Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary, in UnaryExprOrTypeTraitExpr()
2001 QualType resultType, SourceLocation op,
HDExprCXX.h2269 SourceLocation rparen, QualType resultType) in ExpressionTraitExpr() argument
2270 : Expr(ExpressionTraitExprClass, resultType, VK_RValue, OK_Ordinary, in ExpressionTraitExpr()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
HDRewriteObjC.cpp2648 QualType resultType = mDecl->getReturnType(); in SynthMessageExpr() local
2649 if (resultType->isRecordType()) in SynthMessageExpr()
2651 else if (resultType->isRealFloatingType()) in SynthMessageExpr()
HDRewriteModernObjC.cpp3265 QualType resultType = mDecl->getReturnType(); in SynthMessageExpr() local
3266 if (resultType->isRecordType()) in SynthMessageExpr()
3268 else if (resultType->isRealFloatingType()) in SynthMessageExpr()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDExpr.cpp1342 UnaryExprOrTypeTrait ExprKind, Expr *E, QualType resultType, in UnaryExprOrTypeTraitExpr() argument
1344 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary, in UnaryExprOrTypeTraitExpr()