Lines Matching refs:RetTy
26 ABIArgInfo classifyReturnType(QualType RetTy) const;
27 ABIArgInfo classifyArgumentType(QualType RetTy) const;
28 ABIArgInfo classifyArgumentType(QualType RetTy, unsigned *RegsLeft) const;
137 ABIArgInfo HexagonABIInfo::classifyReturnType(QualType RetTy) const { in classifyReturnType()
138 if (RetTy->isVoidType()) in classifyReturnType()
142 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
144 if (RetTy->getAs<VectorType>()) { in classifyReturnType()
154 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
157 if (!isAggregateTypeForABI(RetTy)) { in classifyReturnType()
159 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
160 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
162 if (Size > 64 && RetTy->isBitIntType()) in classifyReturnType()
163 return getNaturalAlignIndirect(RetTy, /*ByVal=*/false); in classifyReturnType()
165 return isPromotableIntegerTypeForABI(RetTy) ? ABIArgInfo::getExtend(RetTy) in classifyReturnType()
169 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType()
179 return getNaturalAlignIndirect(RetTy, /*ByVal=*/true); in classifyReturnType()