Lines Matching refs:RetTy

365   ABIArgInfo classifyReturnType(QualType RetTy) const;
366 ABIArgInfo classifyArgumentType(QualType RetTy) const;
408 ABIArgInfo DefaultABIInfo::classifyReturnType(QualType RetTy) const {
409 if (RetTy->isVoidType())
412 if (isAggregateTypeForABI(RetTy))
416 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
417 RetTy = EnumTy->getDecl()->getIntegerType();
419 return (RetTy->isPromotableIntegerType() ?
434 ABIArgInfo classifyReturnType(QualType RetTy) const;
435 ABIArgInfo classifyArgumentType(QualType RetTy) const;
479 ABIArgInfo PNaClABIInfo::classifyReturnType(QualType RetTy) const {
480 if (RetTy->isVoidType())
484 if (isAggregateTypeForABI(RetTy))
488 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
489 RetTy = EnumTy->getDecl()->getIntegerType();
491 return (RetTy->isPromotableIntegerType() ?
553 ABIArgInfo classifyReturnType(QualType RetTy,
555 ABIArgInfo classifyArgumentType(QualType RetTy, unsigned &FreeRegs,
666 ABIArgInfo X86_32ABIInfo::classifyReturnType(QualType RetTy,
668 if (RetTy->isVoidType())
671 if (const VectorType *VT = RetTy->getAs<VectorType>()) {
674 uint64_t Size = getContext().getTypeSize(RetTy);
696 if (isAggregateTypeForABI(RetTy)) {
697 if (const RecordType *RT = RetTy->getAs<RecordType>()) {
707 if (!IsSmallStructInRegABI && !RetTy->isAnyComplexType())
712 if (X86_32ABIInfo::shouldReturnTypeInRegister(RetTy, getContext(),
714 uint64_t Size = getContext().getTypeSize(RetTy);
721 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext()))
735 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
736 RetTy = EnumTy->getDecl()->getIntegerType();
738 return (RetTy->isPromotableIntegerType() ?
1165 ABIArgInfo classifyReturnType(QualType RetTy) const;
2087 classifyReturnType(QualType RetTy) const {
2091 classify(RetTy, 0, Lo, Hi, /*isNamedArg*/ true);
2115 return getIndirectReturnResult(RetTy);
2120 ResType = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0);
2126 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
2127 RetTy = EnumTy->getDecl()->getIntegerType();
2129 if (RetTy->isIntegralOrEnumerationType() &&
2130 RetTy->isPromotableIntegerType())
2138 ResType = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0);
2171 HighPart = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8);
2176 HighPart = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8);
2188 ResType = GetByteVectorType(RetTy);
2199 HighPart = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8);
2648 QualType RetTy = FI.getReturnType();
2649 FI.getReturnInfo() = classify(RetTy, true);
2785 ABIArgInfo classifyReturnType(QualType RetTy) const;
2891 PPC64_SVR4_ABIInfo::classifyReturnType(QualType RetTy) const {
2892 if (RetTy->isVoidType())
2895 if (RetTy->isAnyComplexType())
2898 if (isAggregateTypeForABI(RetTy))
2901 return (isPromotableTypeForABI(RetTy) ?
3062 ABIArgInfo classifyReturnType(QualType RetTy) const;
3063 ABIArgInfo classifyArgumentType(QualType RetTy, int *VFPRegs,
3490 ABIArgInfo ARMABIInfo::classifyReturnType(QualType RetTy) const {
3491 if (RetTy->isVoidType())
3495 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 128)
3498 if (!isAggregateTypeForABI(RetTy)) {
3500 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
3501 RetTy = EnumTy->getDecl()->getIntegerType();
3503 return (RetTy->isPromotableIntegerType() ?
3509 if (isRecordReturnIndirect(RetTy, CGT))
3514 if (isEmptyRecord(getContext(), RetTy, false))
3521 if (RetTy->isAnyComplexType())
3523 getContext().getTypeSize(RetTy)));
3526 if (isIntegerLikeType(RetTy, getContext(), getVMContext())) {
3528 uint64_t Size = getContext().getTypeSize(RetTy);
3542 if (isEmptyRecord(getContext(), RetTy, true))
3548 if (isHomogeneousAggregate(RetTy, Base, getContext())) {
3557 uint64_t Size = getContext().getTypeSize(RetTy);
4116 ABIArgInfo classifyReturnType(QualType RetTy) const;
4135 ABIArgInfo NVPTXABIInfo::classifyReturnType(QualType RetTy) const {
4136 if (RetTy->isVoidType())
4138 if (isAggregateTypeForABI(RetTy))
4231 ABIArgInfo classifyReturnType(QualType RetTy) const;
4483 ABIArgInfo SystemZABIInfo::classifyReturnType(QualType RetTy) const {
4484 if (RetTy->isVoidType())
4486 if (isCompoundType(RetTy) || getContext().getTypeSize(RetTy) > 64)
4488 return (isPromotableIntegerType(RetTy) ?
4585 llvm::Type* returnAggregateInRegs(QualType RetTy, uint64_t Size) const;
4592 ABIArgInfo classifyReturnType(QualType RetTy) const;
4593 ABIArgInfo classifyArgumentType(QualType RetTy, uint64_t &Offset) const;
4755 MipsABIInfo::returnAggregateInRegs(QualType RetTy, uint64_t Size) const {
4756 const RecordType *RT = RetTy->getAs<RecordType>();
4796 ABIArgInfo MipsABIInfo::classifyReturnType(QualType RetTy) const {
4797 uint64_t Size = getContext().getTypeSize(RetTy);
4799 if (RetTy->isVoidType() || Size == 0)
4802 if (isAggregateTypeForABI(RetTy) || RetTy->isVectorType()) {
4803 if (isRecordReturnIndirect(RetTy, CGT))
4807 if (RetTy->isAnyComplexType())
4811 if (IsO32 && RetTy->isVectorType() && !RetTy->hasFloatingRepresentation())
4812 return ABIArgInfo::getDirect(returnAggregateInRegs(RetTy, Size));
4815 return ABIArgInfo::getDirect(returnAggregateInRegs(RetTy, Size));
4822 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
4823 RetTy = EnumTy->getDecl()->getIntegerType();
4825 return (RetTy->isPromotableIntegerType() ?
4982 ABIArgInfo classifyReturnType(QualType RetTy) const;
4983 ABIArgInfo classifyArgumentType(QualType RetTy) const;
5041 ABIArgInfo HexagonABIInfo::classifyReturnType(QualType RetTy) const {
5042 if (RetTy->isVoidType())
5046 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 64)
5049 if (!isAggregateTypeForABI(RetTy)) {
5051 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
5052 RetTy = EnumTy->getDecl()->getIntegerType();
5054 return (RetTy->isPromotableIntegerType() ?
5060 if (isRecordReturnIndirect(RetTy, CGT))
5063 if (isEmptyRecord(getContext(), RetTy, true))
5068 uint64_t Size = getContext().getTypeSize(RetTy);
5139 ABIArgInfo classifyType(QualType RetTy, unsigned SizeLimit) const;