• Home
  • Raw
  • Download

Lines Matching refs:RetTy

595   ABIArgInfo classifyReturnType(QualType RetTy) const;
596 ABIArgInfo classifyArgumentType(QualType RetTy) const;
637 ABIArgInfo DefaultABIInfo::classifyReturnType(QualType RetTy) const { in classifyReturnType()
638 if (RetTy->isVoidType()) in classifyReturnType()
641 if (isAggregateTypeForABI(RetTy)) in classifyReturnType()
642 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
645 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
646 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
648 return (RetTy->isPromotableIntegerType() ? in classifyReturnType()
664 ABIArgInfo classifyReturnType(QualType RetTy) const;
710 ABIArgInfo WebAssemblyABIInfo::classifyReturnType(QualType RetTy) const { in classifyReturnType()
711 if (isAggregateTypeForABI(RetTy)) { in classifyReturnType()
714 if (!getRecordArgABI(RetTy, getCXXABI())) { in classifyReturnType()
716 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType()
721 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext())) in classifyReturnType()
727 return DefaultABIInfo::classifyReturnType(RetTy); in classifyReturnType()
749 ABIArgInfo classifyReturnType(QualType RetTy) const;
750 ABIArgInfo classifyArgumentType(QualType RetTy) const;
800 ABIArgInfo PNaClABIInfo::classifyReturnType(QualType RetTy) const { in classifyReturnType()
801 if (RetTy->isVoidType()) in classifyReturnType()
805 if (isAggregateTypeForABI(RetTy)) in classifyReturnType()
806 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
809 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
810 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
812 return (RetTy->isPromotableIntegerType() ? in classifyReturnType()
918 ABIArgInfo classifyReturnType(QualType RetTy, CCState &State) const;
919 ABIArgInfo classifyArgumentType(QualType RetTy, CCState &State) const;
1216 ABIArgInfo X86_32ABIInfo::getIndirectReturnResult(QualType RetTy, CCState &State) const { in getIndirectReturnResult() argument
1222 return getNaturalAlignIndirectInReg(RetTy); in getIndirectReturnResult()
1224 return getNaturalAlignIndirect(RetTy, /*ByVal=*/false); in getIndirectReturnResult()
1227 ABIArgInfo X86_32ABIInfo::classifyReturnType(QualType RetTy, in classifyReturnType() argument
1229 if (RetTy->isVoidType()) in classifyReturnType()
1235 isHomogeneousAggregate(RetTy, Base, NumElts)) { in classifyReturnType()
1240 if (const VectorType *VT = RetTy->getAs<VectorType>()) { in classifyReturnType()
1243 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
1259 return getIndirectReturnResult(RetTy, State); in classifyReturnType()
1265 if (isAggregateTypeForABI(RetTy)) { in classifyReturnType()
1266 if (const RecordType *RT = RetTy->getAs<RecordType>()) { in classifyReturnType()
1269 return getIndirectReturnResult(RetTy, State); in classifyReturnType()
1273 if (!IsRetSmallStructInRegABI && !RetTy->isAnyComplexType()) in classifyReturnType()
1274 return getIndirectReturnResult(RetTy, State); in classifyReturnType()
1277 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType()
1282 if (shouldReturnTypeInRegister(RetTy, getContext())) { in classifyReturnType()
1283 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
1290 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext())) in classifyReturnType()
1300 return getIndirectReturnResult(RetTy, State); in classifyReturnType()
1304 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
1305 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
1307 return (RetTy->isPromotableIntegerType() ? in classifyReturnType()
1935 ABIArgInfo classifyReturnType(QualType RetTy) const;
3021 classifyReturnType(QualType RetTy) const { in classifyReturnType()
3025 classify(RetTy, 0, Lo, Hi, /*isNamedArg*/ true); in classifyReturnType()
3049 return getIndirectReturnResult(RetTy); in classifyReturnType()
3054 ResType = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType()
3060 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
3061 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
3063 if (RetTy->isIntegralOrEnumerationType() && in classifyReturnType()
3064 RetTy->isPromotableIntegerType()) in classifyReturnType()
3072 ResType = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType()
3105 HighPart = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8); in classifyReturnType()
3110 HighPart = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8); in classifyReturnType()
3122 ResType = GetByteVectorType(RetTy); in classifyReturnType()
3133 HighPart = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8); in classifyReturnType()
3926 ABIArgInfo classifyReturnType(QualType RetTy) const;
4281 PPC64_SVR4_ABIInfo::classifyReturnType(QualType RetTy) const { in classifyReturnType()
4282 if (RetTy->isVoidType()) in classifyReturnType()
4285 if (RetTy->isAnyComplexType()) in classifyReturnType()
4290 if (RetTy->isVectorType() && !IsQPXVectorTy(RetTy)) { in classifyReturnType()
4291 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
4293 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
4300 if (isAggregateTypeForABI(RetTy)) { in classifyReturnType()
4305 isHomogeneousAggregate(RetTy, Base, Members)) { in classifyReturnType()
4312 uint64_t Bits = getContext().getTypeSize(RetTy); in classifyReturnType()
4328 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
4331 return (isPromotableTypeForABI(RetTy) ? in classifyReturnType()
4465 ABIArgInfo classifyReturnType(QualType RetTy) const;
4466 ABIArgInfo classifyArgumentType(QualType RetTy) const;
4602 ABIArgInfo AArch64ABIInfo::classifyReturnType(QualType RetTy) const { in classifyReturnType()
4603 if (RetTy->isVoidType()) in classifyReturnType()
4607 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 128) in classifyReturnType()
4608 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
4610 if (!isAggregateTypeForABI(RetTy)) { in classifyReturnType()
4612 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
4613 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
4615 return (RetTy->isPromotableIntegerType() && isDarwinPCS() in classifyReturnType()
4620 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType()
4625 if (isHomogeneousAggregate(RetTy, Base, Members)) in classifyReturnType()
4630 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
4635 return coerceToIntArray(RetTy, getContext(), getVMContext()); in classifyReturnType()
4637 unsigned Alignment = getContext().getTypeAlign(RetTy); in classifyReturnType()
4649 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
5029 ABIArgInfo classifyReturnType(QualType RetTy, bool isVariadic) const;
5030 ABIArgInfo classifyArgumentType(QualType RetTy, bool isVariadic) const;
5434 ABIArgInfo ARMABIInfo::classifyReturnType(QualType RetTy, in classifyReturnType() argument
5439 if (RetTy->isVoidType()) in classifyReturnType()
5443 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 128) { in classifyReturnType()
5444 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
5450 if (RetTy->isHalfType() && !getContext().getLangOpts().NativeHalfArgsAndReturns) { in classifyReturnType()
5457 if (!isAggregateTypeForABI(RetTy)) { in classifyReturnType()
5459 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
5460 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
5462 return RetTy->isPromotableIntegerType() ? ABIArgInfo::getExtend() in classifyReturnType()
5468 if (isEmptyRecord(getContext(), RetTy, false)) in classifyReturnType()
5475 if (RetTy->isAnyComplexType()) in classifyReturnType()
5477 getVMContext(), getContext().getTypeSize(RetTy))); in classifyReturnType()
5480 if (isIntegerLikeType(RetTy, getContext(), getVMContext())) { in classifyReturnType()
5482 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
5491 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
5496 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType()
5503 if (isHomogeneousAggregate(RetTy, Base, Members)) { in classifyReturnType()
5512 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
5517 return coerceToIntArray(RetTy, getContext(), getVMContext()); in classifyReturnType()
5536 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
5646 ABIArgInfo classifyReturnType(QualType RetTy) const;
5667 ABIArgInfo NVPTXABIInfo::classifyReturnType(QualType RetTy) const { in classifyReturnType()
5668 if (RetTy->isVoidType()) in classifyReturnType()
5672 if (!RetTy->isScalarType()) in classifyReturnType()
5676 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
5677 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
5679 return (RetTy->isPromotableIntegerType() ? in classifyReturnType()
5801 ABIArgInfo classifyReturnType(QualType RetTy) const;
6077 ABIArgInfo SystemZABIInfo::classifyReturnType(QualType RetTy) const { in classifyReturnType()
6078 if (RetTy->isVoidType()) in classifyReturnType()
6080 if (isVectorArgumentType(RetTy)) in classifyReturnType()
6082 if (isCompoundType(RetTy) || getContext().getTypeSize(RetTy) > 64) in classifyReturnType()
6083 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
6084 return (isPromotableIntegerType(RetTy) ? in classifyReturnType()
6188 llvm::Type* returnAggregateInRegs(QualType RetTy, uint64_t Size) const;
6195 ABIArgInfo classifyReturnType(QualType RetTy) const;
6196 ABIArgInfo classifyArgumentType(QualType RetTy, uint64_t &Offset) const;
6384 MipsABIInfo::returnAggregateInRegs(QualType RetTy, uint64_t Size) const { in returnAggregateInRegs() argument
6385 const RecordType *RT = RetTy->getAs<RecordType>(); in returnAggregateInRegs()
6425 ABIArgInfo MipsABIInfo::classifyReturnType(QualType RetTy) const { in classifyReturnType()
6426 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
6428 if (RetTy->isVoidType()) in classifyReturnType()
6436 if (isAggregateTypeForABI(RetTy) || RetTy->isVectorType()) { in classifyReturnType()
6438 if (RetTy->isAnyComplexType()) in classifyReturnType()
6444 (RetTy->isVectorType() && !RetTy->hasFloatingRepresentation())) { in classifyReturnType()
6446 ABIArgInfo::getDirect(returnAggregateInRegs(RetTy, Size)); in classifyReturnType()
6452 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
6456 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
6457 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
6459 return (RetTy->isPromotableIntegerType() ? in classifyReturnType()
6640 ABIArgInfo classifyReturnType(QualType RetTy) const;
6641 ABIArgInfo classifyArgumentType(QualType RetTy) const;
6699 ABIArgInfo HexagonABIInfo::classifyReturnType(QualType RetTy) const { in classifyReturnType()
6700 if (RetTy->isVoidType()) in classifyReturnType()
6704 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 64) in classifyReturnType()
6705 return getNaturalAlignIndirect(RetTy); in classifyReturnType()
6707 if (!isAggregateTypeForABI(RetTy)) { in classifyReturnType()
6709 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
6710 RetTy = EnumTy->getDecl()->getIntegerType(); in classifyReturnType()
6712 return (RetTy->isPromotableIntegerType() ? in classifyReturnType()
6716 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType()
6721 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
6733 return getNaturalAlignIndirect(RetTy, /*ByVal=*/true); in classifyReturnType()
6773 ABIArgInfo classifyArgumentType(QualType RetTy, CCState &State) const;
6928 ABIArgInfo classifyReturnType(QualType RetTy) const;
6991 ABIArgInfo classifyType(QualType RetTy, unsigned SizeLimit) const;