Home
last modified time | relevance | path

Searched refs:getReturnType (Results 1 – 25 of 230) sorted by relevance

12345678910

/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp86 if (!FuncTy->getReturnType()->isPointerTy() && in isCallingConvCCompatible()
87 !FuncTy->getReturnType()->isIntegerTy() && in isCallingConvCCompatible()
88 !FuncTy->getReturnType()->isVoidTy()) in isCallingConvCCompatible()
740 FTy.getReturnType()->isIntegerTy()); in isValidProtoForLibFunc()
836 FTy.getReturnType()->isIntegerTy()); in isValidProtoForLibFunc()
880 FTy.getReturnType()->isIntegerTy(32); in isValidProtoForLibFunc()
893 FTy.getReturnType()->isIntegerTy(32); in isValidProtoForLibFunc()
953 return (FTy.getReturnType()->isPointerTy()); in isValidProtoForLibFunc()
1116 return (FTy.getReturnType()->isPointerTy()); in isValidProtoForLibFunc()
1140 return (FTy.getReturnType()->isPointerTy()); in isValidProtoForLibFunc()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp134 Type *ExpectedRtnType = F->getFunctionType()->getReturnType(); in createWrapper()
135 Type *RtnType = Ty->getReturnType(); in createWrapper()
178 Type *ExpectedRtnType = F->getFunctionType()->getReturnType(); in createWrapper()
179 Type *RtnType = Ty->getReturnType(); in createWrapper()
231 return FuncTy->getReturnType() == MainTy->getReturnType() && in shouldFixMainFunction()
/netbsd/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DAnyCall.h164 QualType getReturnType(ASTContext &Ctx) const { in getReturnType() function
169 return cast<FunctionDecl>(D)->getReturnType(); in getReturnType()
173 return cast<ObjCMethodDecl>(D)->getReturnType(); in getReturnType()
183 return cast<FunctionDecl>(D)->getReturnType(); in getReturnType()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp598 if (FT->getReturnType()->isPointerTy()) { in checkWFRetconPrototype()
600 } else if (auto SRetTy = dyn_cast<StructType>(FT->getReturnType())) { in checkWFRetconPrototype()
611 if (FT->getReturnType() != in checkWFRetconPrototype()
612 I->getFunction()->getFunctionType()->getReturnType()) in checkWFRetconPrototype()
631 if (!FT->getReturnType()->isPointerTy()) in checkWFAlloc()
646 if (!FT->getReturnType()->isVoidTy()) in checkWFDealloc()
701 if (!FunTy->getReturnType()->isPointerTy() || in checkAsyncContextProjectFunction()
702 !FunTy->getReturnType()->getPointerElementType()->isIntegerTy(8)) in checkAsyncContextProjectFunction()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyDivergentExitNodes.cpp178 if (F.getReturnType()->isVoidTy()) { in unifyReturnBlockSet()
182 PN = B.CreatePHI(F.getReturnType(), ReturningBlocks.size(), in unifyReturnBlockSet()
262 Type *RetTy = F.getReturnType(); in runOnFunction()
354 Type *RetTy = F.getReturnType(); in runOnFunction()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp163 FunctionType *NFTy = FunctionType::get(FTy->getReturnType(), in DeleteDeadVarargs()
330 Type *RetTy = F->getReturnType(); in NumRetVals()
345 Type *RetTy = F->getReturnType(); in getRetComponentType()
523 != F.getFunctionType()->getReturnType()) { in SurveyFunction()
775 Type *RetTy = FTy->getReturnType(); in RemoveDeadStuffFromFunction()
1035 if (F->getReturnType() != NF->getReturnType()) in RemoveDeadStuffFromFunction()
1041 if (!NFTy->getReturnType()->isVoidTy()) { in RemoveDeadStuffFromFunction()
H A DFunctionAttrs.cpp595 if (F->getReturnType()->isVoidTy()) in addArgumentReturnedAttrs()
610 if (!isa<Argument>(RetVal) || RetVal->getType() != F->getReturnType()) in addArgumentReturnedAttrs()
715 F->getReturnType()->isVoidTy()) { in addArgumentAttrs()
953 if (!F->getReturnType()->isPointerTy()) in addNoAliasAttrs()
963 !F->getReturnType()->isPointerTy()) in addNoAliasAttrs()
983 assert(F->getReturnType()->isPointerTy() && in isReturnNonNull()
1070 if (!F->getReturnType()->isPointerTy()) in addNonNullAttrs()
1095 !F->getReturnType()->isPointerTy()) in addNonNullAttrs()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DUnifyFunctionExitNodes.cpp87 if (F.getReturnType()->isVoidTy()) { in unifyReturnBlocks()
91 PN = PHINode::Create(F.getReturnType(), ReturningBlocks.size(), in unifyReturnBlocks()
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCInstMethSignature.cpp45 QualType ResDerived = MethDerived->getReturnType(); in CompareReturnTypes()
46 QualType ResAncestor = MethAncestor->getReturnType(); in CompareReturnTypes()
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/
H A DInlineAsm.cpp288 if (!Ty->getReturnType()->isVoidTy()) return false; in Verify()
291 if (Ty->getReturnType()->isStructTy()) return false; in Verify()
294 StructType *STy = dyn_cast<StructType>(Ty->getReturnType()); in Verify()
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/
H A DReduceBasicBlocks.cpp48 auto *FnRetTy = BB.getParent()->getReturnType(); in replaceBranchTerminator()
72 auto *FnRetTy = SwInst.getParent()->getParent()->getReturnType(); in removeUninterestingBBsFromSwitch()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsCCState.cpp103 originalTypeIsF128(MF.getFunction().getReturnType(), nullptr)); in PreAnalyzeReturnForF128()
105 MF.getFunction().getReturnType()->isFloatingPointTy()); in PreAnalyzeReturnForF128()
H A DMips16HardFloat.cpp171 Type* RetType = F.getReturnType(); in needsFPReturnHelper()
176 Type* RetType = FT.getReturnType(); in needsFPReturnHelper()
280 FPReturnVariant RV = whichFPReturnVariant(FStub->getReturnType()); in assureFPCallStub()
/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DComment.cpp236 ReturnType = FD->getReturnType(); in fill()
256 ReturnType = MD->getReturnType(); in fill()
268 ReturnType = FD->getReturnType(); in fill()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp614 if (F->getReturnType()->isVoidTy()) in runIPSCCP()
621 assert(F->getReturnType()->isStructTy() && in runIPSCCP()
623 StructType *STy = cast<StructType>(F->getReturnType()); in runIPSCCP()
632 ReturnsToZap[i]->setOperand(0, UndefValue::get(F->getReturnType())); in runIPSCCP()
H A DLowerGuardIntrinsic.cpp60 F.getParent(), Intrinsic::experimental_deoptimize, {F.getReturnType()}); in lowerGuardIntrinsic()
H A DMakeGuardsExplicit.cpp85 F.getParent(), Intrinsic::experimental_deoptimize, {F.getReturnType()}); in explicifyGuards()
/netbsd/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp95 ReturnType = this->classify(F->getReturnType()); in visitFunc()
106 if (F->getReturnType()->isVoidType()) in visitFunc()
/netbsd/external/apache2/llvm/dist/clang/lib/Analysis/
H A DRetainSummaryManager.cpp509 QualType RetTy = FT->getReturnType(); in generateSummary()
899 return FD->getReturnType(); in getCallableReturnType()
901 return MD->getReturnType(); in getCallableReturnType()
985 QualType RetTy = FD->getReturnType(); in updateSummaryFromAnnotations()
1003 if (hasAnyEnabledAttrOf<NSConsumesSelfAttr>(MD, MD->getReturnType())) in updateSummaryFromAnnotations()
1012 QualType RetTy = MD->getReturnType(); in updateSummaryFromAnnotations()
1280 QualType ResultTy = MD->getReturnType(); in getMethodSummary()
/netbsd/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeFunctionSig.cpp162 IsMemberFunction ? MemberFunc.getReturnType() : Proc.getReturnType(); in getTypeId()
/netbsd/external/apache2/llvm/dist/clang/utils/TableGen/
H A DNeonEmitter.cpp434 Type getReturnType() const { return Types[0]; } in getReturnType() function in __anon7e6fcd500111::Intrinsic
448 if (getReturnType().getNumVectors() > 1) in getGeneratedParamIdx()
995 Type RetT = getReturnType(); in getBuiltinTypeStr()
1235 if (!getReturnType().isVector() || getReturnType().isVoid() || in emitReturnReversal()
1236 getReturnType().getNumElements() == 1) in emitReturnReversal()
1284 bool SRet = getReturnType().getNumVectors() >= 2; in emitBodyAsBuiltinCall()
1291 if (!getReturnType().isVoid() && !SRet) in emitBodyAsBuiltinCall()
1489 return std::make_pair(Callee.getReturnType(), S); in emitDagCall()
1519 castToType = Intr.getReturnType(); in emitDagCast()
1903 ErrMsg += " - " + I.getReturnType().str() + " " + I.getMangledName(); in getIntrinsic()
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DObjCMT.cpp493 QualType QT = Getter->getReturnType(); in rewriteToObjCProperty()
508 QualType RT = Getter->getReturnType(); in rewriteToObjCProperty()
959 if (OM->getReturnType() == Ctx.getObjCInstanceType()) in ReplaceWithInstancetype()
1022 if (OM->getReturnType()->isObjCIdType()) in migrateMethodInstanceType()
1029 if (!OM->getReturnType()->isObjCIdType()) in migrateMethodInstanceType()
1162 QualType GRT = Method->getReturnType(); in migrateProperty()
1215 QualType SRT = SetterMethod->getReturnType(); in migrateProperty()
1257 QualType RT = OM->getReturnType(); in migrateNsReturnsInnerPointer()
1297 OM->getReturnType() == Ctx.getObjCInstanceType() || in migrateFactoryMethod()
1298 !OM->getReturnType()->isObjCIdType()) in migrateFactoryMethod()
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclObjC.cpp144 QualType ResultType = NewMethod->getReturnType(); in CheckObjCMethodOverride()
244 << method->getReturnType() in CheckARCMethodDecl()
248 << method->getReturnType() in CheckARCMethodDecl()
373 QualType ResultType = MDecl->getReturnType(); in ActOnStartOfObjCMethodDef()
2393 << MethodImpl->getReturnType() in CheckMethodOverrideReturn()
3248 right->getReturnType())) in MatchTwoMethodDeclarations()
4227 QualType ResultType = Method->getReturnType(); in CheckRelatedResultTypeCompatibility()
4577 method->getReturnType(), in mergeInterfaceMethodToImpl()
4580 prevMethod->getReturnType(), in mergeInterfaceMethodToImpl()
4619 if (Method->getReturnType()->isVectorType()) { in checkObjCMethodX86VectorTypes()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/
H A DPDBSymbolTypeFunctionSig.h39 FORWARD_SYMBOL_ID_METHOD_WITH_NAME(getType, getReturnType)
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DPrettyFunctionDumper.cpp54 auto ReturnType = Symbol.getReturnType(); in start()
161 auto ReturnType = Signature->getReturnType(); in start()

12345678910