Lines Matching refs:RetTy

353   ABIArgInfo classifyReturnType(QualType RetTy) const;
354 ABIArgInfo classifyArgumentType(QualType RetTy) const;
390 ABIArgInfo DefaultABIInfo::classifyReturnType(QualType RetTy) const {
391 if (RetTy->isVoidType())
394 if (isAggregateTypeForABI(RetTy))
398 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
399 RetTy = EnumTy->getDecl()->getIntegerType();
401 return (RetTy->isPromotableIntegerType() ?
416 ABIArgInfo classifyReturnType(QualType RetTy) const;
417 ABIArgInfo classifyArgumentType(QualType RetTy) const;
461 ABIArgInfo PNaClABIInfo::classifyReturnType(QualType RetTy) const {
462 if (RetTy->isVoidType())
466 if (isAggregateTypeForABI(RetTy))
470 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
471 RetTy = EnumTy->getDecl()->getIntegerType();
473 return (RetTy->isPromotableIntegerType() ?
545 ABIArgInfo classifyReturnType(QualType RetTy, CCState &State) const;
546 ABIArgInfo classifyArgumentType(QualType RetTy, CCState &State) const;
669 ABIArgInfo X86_32ABIInfo::classifyReturnType(QualType RetTy, CCState &State) const {
670 if (RetTy->isVoidType())
673 if (const VectorType *VT = RetTy->getAs<VectorType>()) {
676 uint64_t Size = getContext().getTypeSize(RetTy);
698 if (isAggregateTypeForABI(RetTy)) {
699 if (const RecordType *RT = RetTy->getAs<RecordType>()) {
706 if (!IsSmallStructInRegABI && !RetTy->isAnyComplexType())
711 if (shouldReturnTypeInRegister(RetTy, getContext())) {
712 uint64_t Size = getContext().getTypeSize(RetTy);
719 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext()))
733 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
734 RetTy = EnumTy->getDecl()->getIntegerType();
736 return (RetTy->isPromotableIntegerType() ?
1276 ABIArgInfo classifyReturnType(QualType RetTy) const;
2203 classifyReturnType(QualType RetTy) const {
2207 classify(RetTy, 0, Lo, Hi, /*isNamedArg*/ true);
2231 return getIndirectReturnResult(RetTy);
2236 ResType = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0);
2242 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
2243 RetTy = EnumTy->getDecl()->getIntegerType();
2245 if (RetTy->isIntegralOrEnumerationType() &&
2246 RetTy->isPromotableIntegerType())
2254 ResType = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0);
2287 HighPart = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8);
2292 HighPart = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8);
2304 ResType = GetByteVectorType(RetTy);
2315 HighPart = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8);
2908 ABIArgInfo classifyReturnType(QualType RetTy) const;
3066 PPC64_SVR4_ABIInfo::classifyReturnType(QualType RetTy) const {
3067 if (RetTy->isVoidType())
3070 if (RetTy->isAnyComplexType())
3075 if (RetTy->isVectorType()) {
3076 uint64_t Size = getContext().getTypeSize(RetTy);
3085 if (isAggregateTypeForABI(RetTy))
3088 return (isPromotableTypeForABI(RetTy) ?
3253 ABIArgInfo classifyReturnType(QualType RetTy) const;
3254 ABIArgInfo classifyArgumentType(QualType RetTy, unsigned &AllocatedVFP,
3479 ABIArgInfo AArch64ABIInfo::classifyReturnType(QualType RetTy) const {
3480 if (RetTy->isVoidType())
3484 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 128)
3487 if (!isAggregateTypeForABI(RetTy)) {
3489 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
3490 RetTy = EnumTy->getDecl()->getIntegerType();
3492 return (RetTy->isPromotableIntegerType() && isDarwinPCS()
3497 if (isEmptyRecord(getContext(), RetTy, true))
3501 if (isHomogeneousAggregate(RetTy, Base, getContext()))
3506 uint64_t Size = getContext().getTypeSize(RetTy);
3883 ABIArgInfo classifyReturnType(QualType RetTy, bool isVariadic) const;
3884 ABIArgInfo classifyArgumentType(QualType RetTy, bool isVariadic,
4440 ABIArgInfo ARMABIInfo::classifyReturnType(QualType RetTy,
4442 if (RetTy->isVoidType())
4446 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 128) {
4451 if (!isAggregateTypeForABI(RetTy)) {
4453 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
4454 RetTy = EnumTy->getDecl()->getIntegerType();
4456 return (RetTy->isPromotableIntegerType() ?
4462 if (isEmptyRecord(getContext(), RetTy, false))
4469 if (RetTy->isAnyComplexType())
4471 getContext().getTypeSize(RetTy)));
4474 if (isIntegerLikeType(RetTy, getContext(), getVMContext())) {
4476 uint64_t Size = getContext().getTypeSize(RetTy);
4491 if (isEmptyRecord(getContext(), RetTy, true))
4497 if (isHomogeneousAggregate(RetTy, Base, getContext())) {
4506 uint64_t Size = getContext().getTypeSize(RetTy);
4658 ABIArgInfo classifyReturnType(QualType RetTy) const;
4679 ABIArgInfo NVPTXABIInfo::classifyReturnType(QualType RetTy) const {
4680 if (RetTy->isVoidType())
4684 if (!RetTy->isScalarType())
4688 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
4689 RetTy = EnumTy->getDecl()->getIntegerType();
4691 return (RetTy->isPromotableIntegerType() ?
4799 ABIArgInfo classifyReturnType(QualType RetTy) const;
5016 ABIArgInfo SystemZABIInfo::classifyReturnType(QualType RetTy) const {
5017 if (RetTy->isVoidType())
5019 if (isCompoundType(RetTy) || getContext().getTypeSize(RetTy) > 64)
5021 return (isPromotableIntegerType(RetTy) ?
5117 llvm::Type* returnAggregateInRegs(QualType RetTy, uint64_t Size) const;
5124 ABIArgInfo classifyReturnType(QualType RetTy) const;
5125 ABIArgInfo classifyArgumentType(QualType RetTy, uint64_t &Offset) const;
5286 MipsABIInfo::returnAggregateInRegs(QualType RetTy, uint64_t Size) const {
5287 const RecordType *RT = RetTy->getAs<RecordType>();
5327 ABIArgInfo MipsABIInfo::classifyReturnType(QualType RetTy) const {
5328 uint64_t Size = getContext().getTypeSize(RetTy);
5330 if (RetTy->isVoidType() || Size == 0)
5333 if (isAggregateTypeForABI(RetTy) || RetTy->isVectorType()) {
5335 if (RetTy->isAnyComplexType())
5339 if (IsO32 && RetTy->isVectorType() && !RetTy->hasFloatingRepresentation())
5340 return ABIArgInfo::getDirect(returnAggregateInRegs(RetTy, Size));
5343 return ABIArgInfo::getDirect(returnAggregateInRegs(RetTy, Size));
5350 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
5351 RetTy = EnumTy->getDecl()->getIntegerType();
5353 return (RetTy->isPromotableIntegerType() ?
5506 ABIArgInfo classifyReturnType(QualType RetTy) const;
5507 ABIArgInfo classifyArgumentType(QualType RetTy) const;
5565 ABIArgInfo HexagonABIInfo::classifyReturnType(QualType RetTy) const {
5566 if (RetTy->isVoidType())
5570 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 64)
5573 if (!isAggregateTypeForABI(RetTy)) {
5575 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
5576 RetTy = EnumTy->getDecl()->getIntegerType();
5578 return (RetTy->isPromotableIntegerType() ?
5582 if (isEmptyRecord(getContext(), RetTy, true))
5587 uint64_t Size = getContext().getTypeSize(RetTy);
5658 ABIArgInfo classifyType(QualType RetTy, unsigned SizeLimit) const;