Lines Matching refs:RetTy

27   llvm::Type* returnAggregateInRegs(QualType RetTy, uint64_t Size) const;
34 ABIArgInfo classifyReturnType(QualType RetTy) const;
35 ABIArgInfo classifyArgumentType(QualType RetTy, uint64_t &Offset) const;
245 MipsABIInfo::returnAggregateInRegs(QualType RetTy, uint64_t Size) const { in returnAggregateInRegs() argument
246 const RecordType *RT = RetTy->getAs<RecordType>(); in returnAggregateInRegs()
286 ABIArgInfo MipsABIInfo::classifyReturnType(QualType RetTy) const { in classifyReturnType()
287 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
289 if (RetTy->isVoidType()) in classifyReturnType()
297 if (isAggregateTypeForABI(RetTy) || RetTy->isVectorType()) { in classifyReturnType()
299 if (RetTy->isAnyComplexType()) in classifyReturnType()
305 (RetTy->isVectorType() && !RetTy->hasFloatingRepresentation())) { in classifyReturnType()
307 ABIArgInfo::getDirect(returnAggregateInRegs(RetTy, Size)); in classifyReturnType()
313 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
317 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
318 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
321 if (const auto *EIT = RetTy->getAs<BitIntType>()) in classifyReturnType()
325 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
327 if (isPromotableIntegerTypeForABI(RetTy)) in classifyReturnType()
328 return ABIArgInfo::getExtend(RetTy); in classifyReturnType()
330 if ((RetTy->isUnsignedIntegerOrEnumerationType() || in classifyReturnType()
331 RetTy->isSignedIntegerOrEnumerationType()) && Size == 32 && !IsO32) in classifyReturnType()
332 return ABIArgInfo::getSignExtend(RetTy); in classifyReturnType()