Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenTypes.cpp87 mlir::Type resultType = getFunctionType(*fi); in convertFunctionTypeInternal() local
89 return resultType; in convertFunctionTypeInternal()
288 mlir::Type resultType = nullptr; in convertType() local
297 resultType = cgm.VoidTy; in convertType()
302 resultType = cir::BoolType::get(&getMLIRContext()); in convertType()
314 resultType = in convertType()
330 resultType = in convertType()
337 resultType = cgm.FP16Ty; in convertType()
342 resultType = cgm.FP16Ty; in convertType()
345 resultType = cgm.SInt32Ty; in convertType()
[all …]
H A DCIRGenCall.cpp24 CIRGenFunctionInfo::create(CanQualType resultType, in create() argument
38 fi->getArgTypes()[0] = resultType; in create()
46 mlir::Type resultType = convertType(fi.getReturnType()); in getFunctionType() local
54 (resultType ? resultType : builder.getVoidTy()), in getFunctionType()
186 CanQualType resultType = theCXXABI.hasThisReturn(gd) ? argTypes.front() in arrangeCXXStructorDeclaration() local
197 return arrangeCIRFunctionInfo(resultType, argTypes, required); in arrangeCXXStructorDeclaration()
233 CanQualType resultType = fpt->getReturnType().getUnqualifiedType(); in arrangeCIRFunctionInfo() local
234 return cgt.arrangeCIRFunctionInfo(resultType, prefix, required); in arrangeCIRFunctionInfo()
335 CanQualType resultType = astContext.VoidTy; in arrangeCXXConstructorCall() local
340 return arrangeCIRFunctionInfo(resultType, argTypes, required); in arrangeCXXConstructorCall()
[all …]
H A DCIRGenFunctionInfo.h85 static CIRGenFunctionInfo *create(CanQualType resultType,
101 CanQualType resultType, in Profile() argument
104 resultType.Profile(id); in Profile()
H A DCIRGenBuilder.h426 mlir::Value createSetBitfield(mlir::Location loc, mlir::Type resultType, in createSetBitfield() argument
430 return create<cir::SetBitfieldOp>(loc, resultType, dstAddr, storageType, in createSetBitfield()
435 mlir::Value createGetBitfield(mlir::Location loc, mlir::Type resultType, in createGetBitfield() argument
439 return create<cir::GetBitfieldOp>(loc, resultType, addr, storageType, in createGetBitfield()
H A DCIRGenExpr.cpp1783 QualType resultType = refExpr->getType(); in tryEmitAsConstant() local
1793 refExpr->getLocation(), result.Val, resultType); in tryEmitAsConstant()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.h224 arrangeBuiltinFunctionDeclaration(QualType resultType,
227 arrangeBuiltinFunctionDeclaration(CanQualType resultType,
229 const CGFunctionInfo &arrangeBuiltinFunctionCall(QualType resultType,
236 arrangeSYCLKernelCallerDeclaration(QualType resultType,
H A DCGCall.cpp236 CanQualType resultType = FTP->getReturnType().getUnqualifiedType(); in arrangeLLVMFunctionInfo() local
240 return CGT.arrangeLLVMFunctionInfo(resultType, opts, prefix, in arrangeLLVMFunctionInfo()
442 CanQualType resultType = getCXXABI().HasThisReturn(GD) ? argTypes.front() in arrangeCXXStructorDeclaration() local
446 return arrangeLLVMFunctionInfo(resultType, FnInfoOpts::IsInstanceMethod, in arrangeCXXStructorDeclaration()
728 CodeGenTypes::arrangeBuiltinFunctionCall(QualType resultType, in arrangeBuiltinFunctionCall() argument
733 return arrangeLLVMFunctionInfo(GetReturnType(resultType), FnInfoOpts::None, in arrangeBuiltinFunctionCall()
739 CodeGenTypes::arrangeBuiltinFunctionDeclaration(QualType resultType, in arrangeBuiltinFunctionDeclaration() argument
743 return arrangeLLVMFunctionInfo(GetReturnType(resultType), FnInfoOpts::None, in arrangeBuiltinFunctionDeclaration()
749 CanQualType resultType, ArrayRef<CanQualType> argTypes) { in arrangeBuiltinFunctionDeclaration() argument
750 return arrangeLLVMFunctionInfo(resultType, FnInfoOpts::None, argTypes, in arrangeBuiltinFunctionDeclaration()
[all …]
H A DCGObjCRuntime.cpp360 QualType resultType, in getMessageSendInfo() argument
380 CGM.getTypes().arrangeUnprototypedObjCMessageSend(resultType, callArgs); in getMessageSendInfo()
H A DCGObjC.cpp2790 llvm::Type *resultType) { in EmitObjCAlloc() argument
2791 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAlloc()
2799 llvm::Type *resultType) { in EmitObjCAllocWithZone() argument
2800 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAllocWithZone()
2806 llvm::Type *resultType) { in EmitObjCAllocInit() argument
2807 return emitObjCValueOperation(*this, value, resultType, in EmitObjCAllocInit()
3245 llvm::Type *resultType = CGF.ConvertType(e->getType()); in visitCastExpr() local
3248 return asImpl().emitBitCast(result, resultType); in visitCastExpr()
3393 TryEmitResult emitBitCast(TryEmitResult result, llvm::Type *resultType) { in emitBitCast()
3395 value = CGF.Builder.CreateBitCast(value, resultType); in emitBitCast()
[all …]
H A DCGObjCRuntime.h323 QualType resultType,
H A DCGClass.cpp2998 QualType resultType = FPT->getReturnType(); in EmitForwardingCallToLambda() local
3000 if (!resultType->isVoidType() && in EmitForwardingCallToLambda()
3004 ReturnValueSlot(ReturnValue, resultType.isVolatileQualified(), in EmitForwardingCallToLambda()
3016 if (!resultType->isVoidType() && returnSlot.isNull()) { in EmitForwardingCallToLambda()
3017 if (getLangOpts().ObjCAutoRefCount && resultType->isObjCRetainableType()) { in EmitForwardingCallToLambda()
3020 EmitReturnOfRValue(RV, resultType); in EmitForwardingCallToLambda()
H A DCGObjCMac.cpp106 llvm::Type *resultType = in getMessageSendFp2retFn() local
110 llvm::FunctionType::get(resultType, params, true), in getMessageSendFp2retFn()
1679 RValue result, QualType resultType, in complete()
1708 if (result.isScalar() && resultType->isVoidType()) { in complete()
1719 CGF.EmitFromMemory(CGF.CGM.EmitNullConstant(resultType), resultType); in complete()
1740 CGF.EmitNullInitialization(result.getAggregateAddress(), resultType); in complete()
7145 CodeGenFunction &CGF, ReturnValueSlot returnSlot, QualType resultType, in EmitVTableMessageSend() argument
7162 MessageSendInfo MSI = getMessageSendInfo(method, resultType, args); in EmitVTableMessageSend()
7184 } else if (!isSuper && CGM.ReturnTypeUsesFPRet(resultType)) { in EmitVTableMessageSend()
7244 return nullReturn.complete(CGF, returnSlot, result, resultType, formalArgs, in EmitVTableMessageSend()
H A DCGAtomic.cpp316 QualType resultType, in emitAtomicLibcall() argument
319 CGF.CGM.getTypes().arrangeBuiltinFunctionCall(resultType, args); in emitAtomicLibcall()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp470 QualType resultType = CastE->getType(); in VisitCast() local
472 resultType = getContext().getPointerType(resultType); in VisitCast()
493 svalBuilder.makeNullWithType(resultType)); in VisitCast()
499 /*symbolTag=*/nullptr, getCFGElementRef(), LCtx, resultType, in VisitCast()
511 QualType resultType = CastE->getType(); in VisitCast() local
513 resultType = getContext().getPointerType(resultType); in VisitCast()
523 /*symbolTag=*/nullptr, getCFGElementRef(), LCtx, resultType, in VisitCast()
564 QualType resultType = CastE->getType(); in VisitCast() local
566 resultType = getContext().getPointerType(resultType); in VisitCast()
568 /*symbolTag=*/nullptr, getCFGElementRef(), LCtx, resultType, in VisitCast()
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/Transforms/
H A DCIRSimplify.cpp278 cir::VectorType resultType = op.getResult().getType(); in matchAndRewrite() local
279 SmallVector<mlir::Attribute, 16> elements(resultType.getSize(), value); in matchAndRewrite()
281 resultType, mlir::ArrayAttr::get(getContext(), elements)); in matchAndRewrite()
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h660 ArrayRef<ExtParameterInfo> paramInfos, CanQualType resultType,
811 RequiredArgs required, CanQualType resultType, in Profile() argument
830 resultType.Profile(ID); in Profile()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp502 QualType resultType = result.get()->getType(); in buildIncDecOperation() local
535 UnaryOperator::Create(S.Context, syntacticOp, opcode, resultType, in buildIncDecOperation()
537 !resultType->isDependentType() in buildIncDecOperation()
538 ? S.Context.getTypeSize(resultType) >= in buildIncDecOperation()
881 QualType resultType = Getter->getReturnType(); in tryBuildGetOfReference() local
882 if (!resultType->isLValueReferenceType()) return false; in tryBuildGetOfReference()
H A DSemaExprObjC.cpp1528 QualType resultType = getBaseMessageSendResultType( in getMessageSendResultType() local
1550 if (auto Nullability = resultType->getNullability()) in getMessageSendResultType()
1556 return resultType; in getMessageSendResultType()
1561 if (!resultType->canHaveNullability()) in getMessageSendResultType()
1562 return resultType; in getMessageSendResultType()
1575 resultType->getNullability()) { 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 DSemaObjC.cpp1949 QualType resultType; in handleReturnsInnerPointerAttr() local
1951 resultType = cast<ObjCMethodDecl>(D)->getReturnType(); in handleReturnsInnerPointerAttr()
1953 resultType = cast<ObjCPropertyDecl>(D)->getType(); in handleReturnsInnerPointerAttr()
1955 if (!resultType->isReferenceType() && in handleReturnsInnerPointerAttr()
1956 (!resultType->isPointerType() || resultType->isObjCRetainableType())) { in handleReturnsInnerPointerAttr()
H A DSemaExpr.cpp15649 QualType resultType; in CreateBuiltinUnaryOp() local
15676 resultType = Context.DependentTy; in CreateBuiltinUnaryOp()
15683 resultType = in CreateBuiltinUnaryOp()
15687 CanOverflow = isOverflowingIntegerType(Context, resultType); in CreateBuiltinUnaryOp()
15690 resultType = CheckAddressOfOperand(Input, OpLoc); in CreateBuiltinUnaryOp()
15698 resultType = in CreateBuiltinUnaryOp()
15718 resultType = Input.get()->getType(); in CreateBuiltinUnaryOp()
15719 if (resultType->isArithmeticType()) // C99 6.5.3.3p1 in CreateBuiltinUnaryOp()
15721 else if (resultType->isVectorType() && in CreateBuiltinUnaryOp()
15724 resultType->castAs<VectorType>()->getVectorKind() != in CreateBuiltinUnaryOp()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/
H A DLowerToLLVM.cpp819 const mlir::Type resultType = in matchAndRewrite() local
824 mlir::Type byteType = mlir::IntegerType::get(resultType.getContext(), 8, in matchAndRewrite()
828 baseClassOp, resultType, adaptor.getDerivedAddr()); in matchAndRewrite()
834 baseClassOp, resultType, byteType, derivedAddr, offset); in matchAndRewrite()
841 loc, resultType, byteType, derivedAddr, offset); in matchAndRewrite()
1159 mlir::Type resultType = in matchAndRewrite() local
1164 resultType ? resultType : mlir::LLVM::LLVMVoidType::get(getContext()), in matchAndRewrite()
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/
H A DCIRDialect.cpp1333 auto resultType = dyn_cast<PointerType>(getAddr().getType()); in verifySymbolUses() local
1334 if (!resultType || symTy != resultType.getPointee()) in verifySymbolUses()
1336 << resultType.getPointee() << "' does not match type " << symTy in verifySymbolUses()
/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/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2650 QualType resultType = mDecl->getReturnType(); in SynthMessageExpr() local
2651 if (resultType->isRecordType()) in SynthMessageExpr()
2653 else if (resultType->isRealFloatingType()) in SynthMessageExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h2632 QualType resultType, SourceLocation op, in UnaryExprOrTypeTraitExpr() argument
2634 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_PRValue, in UnaryExprOrTypeTraitExpr()
2648 QualType resultType, SourceLocation op,

12