Lines Matching refs:RetType
2889 Type *RetType = 0;
2895 ParseType(RetType, RetTypeLoc, true /*void allowed*/))
2926 if (!FunctionType::isValidReturnType(RetType))
2987 Attrs.push_back(AttributeSet::get(RetType->getContext(),
2995 Attrs.push_back(AttributeSet::get(RetType->getContext(), i + 1, B));
3000 Attrs.push_back(AttributeSet::get(RetType->getContext(),
3006 if (PAL.hasAttribute(1, Attribute::StructRet) && !RetType->isVoidTy())
3010 FunctionType::get(RetType, ParamTypeList, isVarArg);
3490 Type *RetType = 0;
3498 ParseType(RetType, RetTypeLoc, true /*void allowed*/) ||
3509 // If RetType is a non-function pointer type, then this is the short syntax
3510 // for the call, which means that RetType is just the return type. Infer the
3514 if (!(PFTy = dyn_cast<PointerType>(RetType)) ||
3521 if (!FunctionType::isValidReturnType(RetType))
3524 Ty = FunctionType::get(RetType, ParamTypes, false);
3535 Attrs.push_back(AttributeSet::get(RetType->getContext(),
3559 Attrs.push_back(AttributeSet::get(RetType->getContext(), i + 1, B));
3567 Attrs.push_back(AttributeSet::get(RetType->getContext(),
3899 Type *RetType = 0;
3908 ParseType(RetType, RetTypeLoc, true /*void allowed*/) ||
3915 // If RetType is a non-function pointer type, then this is the short syntax
3916 // for the call, which means that RetType is just the return type. Infer the
3920 if (!(PFTy = dyn_cast<PointerType>(RetType)) ||
3927 if (!FunctionType::isValidReturnType(RetType))
3930 Ty = FunctionType::get(RetType, ParamTypes, false);
3941 Attrs.push_back(AttributeSet::get(RetType->getContext(),
3965 Attrs.push_back(AttributeSet::get(RetType->getContext(), i + 1, B));
3973 Attrs.push_back(AttributeSet::get(RetType->getContext(),