Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp434 QualType resultType = CastE->getType(); in VisitCast() local
436 resultType = getContext().getPointerType(resultType); in VisitCast()
457 svalBuilder.makeNullWithType(resultType)); in VisitCast()
463 svalBuilder.conjureSymbolVal(nullptr, CastE, LCtx, resultType, in VisitCast()
475 QualType resultType = CastE->getType(); in VisitCast() local
477 resultType = getContext().getPointerType(resultType); in VisitCast()
487 svalBuilder.conjureSymbolVal(nullptr, CastE, LCtx, resultType, in VisitCast()
526 QualType resultType = CastE->getType(); in VisitCast() local
528 resultType = getContext().getPointerType(resultType); in VisitCast()
530 /*symbolTag=*/nullptr, CastE, LCtx, resultType, in VisitCast()
H A DExprEngine.cpp2025 QualType resultType = Ex->getType(); in Visit() local
2030 resultType, in Visit()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.h224 arrangeBuiltinFunctionDeclaration(QualType resultType,
227 arrangeBuiltinFunctionDeclaration(CanQualType resultType,
229 const CGFunctionInfo &arrangeBuiltinFunctionCall(QualType resultType,
H A DCGCall.cpp195 CanQualType resultType = FTP->getReturnType().getUnqualifiedType(); in arrangeLLVMFunctionInfo() local
199 return CGT.arrangeLLVMFunctionInfo(resultType, opts, prefix, in arrangeLLVMFunctionInfo()
376 CanQualType resultType = getCXXABI().HasThisReturn(GD) ? argTypes.front() in arrangeCXXStructorDeclaration() local
380 return arrangeLLVMFunctionInfo(resultType, FnInfoOpts::IsInstanceMethod, in arrangeCXXStructorDeclaration()
667 CodeGenTypes::arrangeBuiltinFunctionCall(QualType resultType, in arrangeBuiltinFunctionCall() argument
673 return arrangeLLVMFunctionInfo(GetReturnType(resultType), FnInfoOpts::None, in arrangeBuiltinFunctionCall()
679 CodeGenTypes::arrangeBuiltinFunctionDeclaration(QualType resultType, in arrangeBuiltinFunctionDeclaration() argument
683 return arrangeLLVMFunctionInfo(GetReturnType(resultType), FnInfoOpts::None, in arrangeBuiltinFunctionDeclaration()
689 CodeGenTypes::arrangeBuiltinFunctionDeclaration(CanQualType resultType, in arrangeBuiltinFunctionDeclaration() argument
691 return arrangeLLVMFunctionInfo(resultType, FnInfoOpts::None, argTypes, in arrangeBuiltinFunctionDeclaration()
[all …]
H A DCGObjCRuntime.cpp361 QualType resultType, in getMessageSendInfo() argument
381 CGM.getTypes().arrangeUnprototypedObjCMessageSend(resultType, callArgs); in getMessageSendInfo()
H A DCGObjC.cpp2744 llvm::Type *resultType) { in EmitObjCAlloc() argument
2745 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAlloc()
2753 llvm::Type *resultType) { in EmitObjCAllocWithZone() argument
2754 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAllocWithZone()
2760 llvm::Type *resultType) { in EmitObjCAllocInit() argument
2761 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAllocInit()
3199 llvm::Type *resultType = CGF.ConvertType(e->getType()); in visitCastExpr() local
3202 return asImpl().emitBitCast(result, resultType); in visitCastExpr()
3347 TryEmitResult emitBitCast(TryEmitResult result, llvm::Type *resultType) { in emitBitCast()
3349 value = CGF.Builder.CreateBitCast(value, resultType); in emitBitCast()
[all …]
H A DCGObjCRuntime.h339 QualType resultType,
H A DCGClass.cpp2976 QualType resultType = FPT->getReturnType(); in EmitForwardingCallToLambda() local
2978 if (!resultType->isVoidType() && in EmitForwardingCallToLambda()
2982 ReturnValueSlot(ReturnValue, resultType.isVolatileQualified(), in EmitForwardingCallToLambda()
2994 if (!resultType->isVoidType() && returnSlot.isNull()) { in EmitForwardingCallToLambda()
2995 if (getLangOpts().ObjCAutoRefCount && resultType->isObjCRetainableType()) { in EmitForwardingCallToLambda()
2998 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()
1749 QualType resultType, in complete()
1778 if (result.isScalar() && resultType->isVoidType()) { in complete()
1788 CGF.EmitFromMemory(CGF.CGM.EmitNullConstant(resultType), resultType); in complete()
1808 CGF.EmitNullInitialization(result.getAggregateAddress(), resultType); in complete()
7232 QualType resultType, in EmitVTableMessageSend() argument
7253 MessageSendInfo MSI = getMessageSendInfo(method, resultType, args); in EmitVTableMessageSend()
7275 } else if (!isSuper && CGM.ReturnTypeUsesFPRet(resultType)) { in EmitVTableMessageSend()
7336 return nullReturn.complete(CGF, returnSlot, result, resultType, formalArgs, in EmitVTableMessageSend()
H A DCGExprCXX.cpp1772 llvm::Type *resultType = ConvertTypeForMem(E->getType()); in EmitCXXNewExpr() local
1773 if (resultPtr->getType() != resultType) in EmitCXXNewExpr()
1774 resultPtr = Builder.CreateBitCast(resultPtr, resultType); in EmitCXXNewExpr()
H A DCGAtomic.cpp317 QualType resultType, in emitAtomicLibcall() argument
320 CGF.CGM.getTypes().arrangeBuiltinFunctionCall(resultType, args); in emitAtomicLibcall()
H A DCGExpr.cpp1745 QualType resultType; in tryEmitAsConstant() local
1751 resultType = refExpr->getType(); in tryEmitAsConstant()
1757 resultType = value->getType(); in tryEmitAsConstant()
1793 result.Val, resultType); in tryEmitAsConstant()
H A DCodeGenFunction.h4772 llvm::Value *EmitObjCAllocInit(llvm::Value *value, llvm::Type *resultType);
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h642 ArrayRef<ExtParameterInfo> paramInfos, CanQualType resultType,
793 RequiredArgs required, CanQualType resultType, in Profile() argument
812 resultType.Profile(ID); in Profile()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp504 QualType resultType = result.get()->getType(); in buildIncDecOperation() local
537 UnaryOperator::Create(S.Context, syntacticOp, opcode, resultType, in buildIncDecOperation()
539 !resultType->isDependentType() in buildIncDecOperation()
540 ? S.Context.getTypeSize(resultType) >= in buildIncDecOperation()
883 QualType resultType = Getter->getReturnType(); in tryBuildGetOfReference() local
884 if (!resultType->isLValueReferenceType()) return false; in tryBuildGetOfReference()
H A DSemaExprObjC.cpp1538 QualType resultType = getBaseMessageSendResultType( in getMessageSendResultType() local
1560 if (auto Nullability = resultType->getNullability()) in getMessageSendResultType()
1567 return resultType; in getMessageSendResultType()
1572 if (!resultType->canHaveNullability()) in getMessageSendResultType()
1573 return resultType; in getMessageSendResultType()
1586 resultType->getNullability()) { in getMessageSendResultType()
1609 return resultType; in getMessageSendResultType()
1614 if (auto attributed = dyn_cast<AttributedType>(resultType.getTypePtr())) { in getMessageSendResultType()
1615 resultType = attributed->getModifiedType(); in getMessageSendResultType()
1617 resultType = resultType.getDesugaredType(Context); in getMessageSendResultType()
[all …]
H A DSemaObjC.cpp1951 QualType resultType; in handleReturnsInnerPointerAttr() local
1953 resultType = cast<ObjCMethodDecl>(D)->getReturnType(); in handleReturnsInnerPointerAttr()
1955 resultType = cast<ObjCPropertyDecl>(D)->getType(); in handleReturnsInnerPointerAttr()
1957 if (!resultType->isReferenceType() && in handleReturnsInnerPointerAttr()
1958 (!resultType->isPointerType() || resultType->isObjCRetainableType())) { in handleReturnsInnerPointerAttr()
H A DSemaExpr.cpp15283 QualType resultType; in CreateBuiltinUnaryOp() local
15310 resultType = Context.DependentTy; in CreateBuiltinUnaryOp()
15317 resultType = in CreateBuiltinUnaryOp()
15321 CanOverflow = isOverflowingIntegerType(Context, resultType); in CreateBuiltinUnaryOp()
15324 resultType = CheckAddressOfOperand(Input, OpLoc); in CreateBuiltinUnaryOp()
15332 resultType = in CreateBuiltinUnaryOp()
15352 resultType = Input.get()->getType(); in CreateBuiltinUnaryOp()
15353 if (resultType->isArithmeticType()) // C99 6.5.3.3p1 in CreateBuiltinUnaryOp()
15355 else if (resultType->isVectorType() && in CreateBuiltinUnaryOp()
15358 resultType->castAs<VectorType>()->getVectorKind() != in CreateBuiltinUnaryOp()
[all …]
H A DSemaOverload.cpp15233 QualType resultType = proto->getCallResultType(Context); in BuildCallToMemberFunction() local
15257 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,
2530 void handleMessage(ResultWas::OfType resultType, StringRef const& message);
2615 …Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultType, Strin…
5329 ResultWas::OfType resultType; member
8003 ResultWas::OfType resultType,
8017 ResultWas::OfType resultType,
8066 ResultWas::OfType resultType,
8148 void AssertionHandler::handleMessage(ResultWas::OfType resultType, StringRef const& message) { in handleMessage() argument
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h2587 QualType resultType, SourceLocation op, in UnaryExprOrTypeTraitExpr() argument
2589 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_PRValue, in UnaryExprOrTypeTraitExpr()
2603 QualType resultType, SourceLocation op,
H A DExprCXX.h2945 bool value, SourceLocation rparen, QualType resultType) in ExpressionTraitExpr() argument
2946 : Expr(ExpressionTraitExprClass, resultType, VK_PRValue, OK_Ordinary), in ExpressionTraitExpr()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp3224 QualType resultType = mDecl->getReturnType(); in SynthMessageExpr() local
3225 if (resultType->isRecordType()) in SynthMessageExpr()
3227 else if (resultType->isRealFloatingType()) in SynthMessageExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp1701 UnaryExprOrTypeTrait ExprKind, Expr *E, QualType resultType, in UnaryExprOrTypeTraitExpr() argument
1703 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_PRValue, OK_Ordinary), in UnaryExprOrTypeTraitExpr()