Home | History | Annotate | Download | only in CodeGen

Lines Matching full:retty

383   ABIArgInfo classifyReturnType(QualType RetTy) const;
384 ABIArgInfo classifyArgumentType(QualType RetTy) const;
420 ABIArgInfo DefaultABIInfo::classifyReturnType(QualType RetTy) const {
421 if (RetTy->isVoidType())
424 if (isAggregateTypeForABI(RetTy))
428 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
429 RetTy = EnumTy->getDecl()->getIntegerType();
431 return (RetTy->isPromotableIntegerType() ?
446 ABIArgInfo classifyReturnType(QualType RetTy) const;
447 ABIArgInfo classifyArgumentType(QualType RetTy) const;
491 ABIArgInfo PNaClABIInfo::classifyReturnType(QualType RetTy) const {
492 if (RetTy->isVoidType())
496 if (isAggregateTypeForABI(RetTy))
500 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
501 RetTy = EnumTy->getDecl()->getIntegerType();
503 return (RetTy->isPromotableIntegerType() ?
607 ABIArgInfo classifyReturnType(QualType RetTy, CCState &State) const;
608 ABIArgInfo classifyArgumentType(QualType RetTy, CCState &State) const;
817 ABIArgInfo X86_32ABIInfo::classifyReturnType(QualType RetTy, CCState &State) const {
818 if (RetTy->isVoidType())
824 isHomogeneousAggregate(RetTy, Base, NumElts)) {
829 if (const VectorType *VT = RetTy->getAs<VectorType>()) {
832 uint64_t Size = getContext().getTypeSize(RetTy);
854 if (isAggregateTypeForABI(RetTy)) {
855 if (const RecordType *RT = RetTy->getAs<RecordType>()) {
862 if (!IsSmallStructInRegABI && !RetTy->isAnyComplexType())
867 if (shouldReturnTypeInRegister(RetTy, getContext())) {
868 uint64_t Size = getContext().getTypeSize(RetTy);
875 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext()))
889 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
890 RetTy = EnumTy->getDecl()->getIntegerType();
892 return (RetTy->isPromotableIntegerType() ?
1467 ABIArgInfo classifyReturnType(QualType RetTy) const;
2475 classifyReturnType(QualType RetTy) const {
2479 classify(RetTy, 0, Lo, Hi, /*isNamedArg*/ true);
2503 return getIndirectReturnResult(RetTy);
2508 ResType = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0);
2514 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
2515 RetTy = EnumTy->getDecl()->getIntegerType();
2517 if (RetTy->isIntegralOrEnumerationType() &&
2518 RetTy->isPromotableIntegerType())
2526 ResType = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0);
2559 HighPart = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8);
2564 HighPart = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8);
2576 ResType = GetByteVectorType(RetTy);
2587 HighPart = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8);
3313 ABIArgInfo classifyReturnType(QualType RetTy) const;
3676 PPC64_SVR4_ABIInfo::classifyReturnType(QualType RetTy) const {
3677 if (RetTy->isVoidType())
3680 if (RetTy->isAnyComplexType())
3685 if (RetTy->isVectorType() && !IsQPXVectorTy(RetTy)) {
3686 uint64_t Size = getContext().getTypeSize(RetTy);
3695 if (isAggregateTypeForABI(RetTy)) {
3700 isHomogeneousAggregate(RetTy, Base, Members)) {
3707 uint64_t Bits = getContext().getTypeSize(RetTy);
3726 return (isPromotableTypeForABI(RetTy) ?
3896 ABIArgInfo classifyReturnType(QualType RetTy) const;
3897 ABIArgInfo classifyArgumentType(QualType RetTy) const;
4022 ABIArgInfo AArch64ABIInfo::classifyReturnType(QualType RetTy) const {
4023 if (RetTy->isVoidType())
4027 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 128)
4030 if (!isAggregateTypeForABI(RetTy)) {
4032 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
4033 RetTy = EnumTy->getDecl()->getIntegerType();
4035 return (RetTy->isPromotableIntegerType() && isDarwinPCS()
4040 if (isEmptyRecord(getContext(), RetTy, true))
4045 if (isHomogeneousAggregate(RetTy, Base, Members))
4050 uint64_t Size = getContext().getTypeSize(RetTy);
4447 ABIArgInfo classifyReturnType(QualType RetTy, bool isVariadic) const;
4448 ABIArgInfo classifyArgumentType(QualType RetTy, bool isVariadic) const;
4797 ABIArgInfo ARMABIInfo::classifyReturnType(QualType RetTy,
4801 if (RetTy->isVoidType())
4805 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 128) {
4809 if (!isAggregateTypeForABI(RetTy)) {
4811 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
4812 RetTy = EnumTy->getDecl()->getIntegerType();
4814 return RetTy->isPromotableIntegerType() ? ABIArgInfo::getExtend()
4820 if (isEmptyRecord(getContext(), RetTy, false))
4827 if (RetTy->isAnyComplexType())
4829 getVMContext(), getContext().getTypeSize(RetTy)));
4832 if (isIntegerLikeType(RetTy, getContext(), getVMContext())) {
4834 uint64_t Size = getContext().getTypeSize(RetTy);
4848 if (isEmptyRecord(getContext(), RetTy, true))
4855 if (isHomogeneousAggregate(RetTy, Base, Members)) {
4864 uint64_t Size = getContext().getTypeSize(RetTy);
5000 ABIArgInfo classifyReturnType(QualType RetTy) const;
5021 ABIArgInfo NVPTXABIInfo::classifyReturnType(QualType RetTy) const {
5022 if (RetTy->isVoidType())
5026 if (!RetTy->isScalarType())
5030 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
5031 RetTy = EnumTy->getDecl()->getIntegerType();
5033 return (RetTy->isPromotableIntegerType() ?
5146 ABIArgInfo classifyReturnType(QualType RetTy) const;
5370 ABIArgInfo SystemZABIInfo::classifyReturnType(QualType RetTy) const {
5371 if (RetTy->isVoidType())
5373 if (isCompoundType(RetTy) || getContext().getTypeSize(RetTy) > 64)
5375 RetTy) ?
5471 llvm::Type* returnAggregateInRegs(QualType RetTy, uint64_t Size) const;
5478 ABIArgInfo classifyReturnType(QualType RetTy) const;
5479 ABIArgInfo classifyArgumentType(QualType RetTy, uint64_t &Offset) const;
5646 MipsABIInfo::returnAggregateInRegs(QualType RetTy, uint64_t Size) const {
5647 const RecordType *RT = RetTy->getAs<RecordType>();
5687 ABIArgInfo MipsABIInfo::classifyReturnType(QualType RetTy) const {
5688 uint64_t Size = getContext().getTypeSize(RetTy);
5690 if (RetTy->isVoidType())
5698 if (isAggregateTypeForABI(RetTy) || RetTy->isVectorType()) {
5700 if (RetTy->isAnyComplexType())
5706 (RetTy->isVectorType() && !RetTy->hasFloatingRepresentation())) {
5708 ABIArgInfo::getDirect(returnAggregateInRegs(RetTy, Size));
5718 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
5719 RetTy = EnumTy->getDecl()->getIntegerType();
5721 return (RetTy->isPromotableIntegerType() ?
5889 ABIArgInfo classifyReturnType(QualType RetTy) const;
5890 ABIArgInfo classifyArgumentType(QualType RetTy) const;
5948 ABIArgInfo HexagonABIInfo::classifyReturnType(QualType RetTy) const {
5949 if (RetTy->isVoidType())
5953 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 64)
5956 if (!isAggregateTypeForABI(RetTy)) {
5958 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
5959 RetTy = EnumTy->getDecl()->getIntegerType();
5961 return (RetTy->isPromotableIntegerType() ?
5965 if (isEmptyRecord(getContext(), RetTy, true))
5970 uint64_t Size = getContext().getTypeSize(RetTy);
6080 ABIArgInfo classifyType(QualType RetTy, unsigned SizeLimit) const;