Lines Matching defs:RetTy
339 Type *RetTy = F->getReturnType();
340 if (RetTy->isVoidTy())
342 if (StructType *STy = dyn_cast<StructType>(RetTy))
344 if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy))
353 Type *RetTy = F->getReturnType();
354 assert(!RetTy->isVoidTy() && "void type has no subtype");
356 if (StructType *STy = dyn_cast<StructType>(RetTy))
358 if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy))
360 return RetTy;
775 Type *RetTy = FTy->getReturnType();
802 if (RetTy->isVoidTy() || HasLiveReturnedArg) {
803 NRetTy = RetTy;
820 if (StructType *STy = dyn_cast<StructType>(RetTy)) {
825 assert(isa<ArrayType>(RetTy) && "unexpected multi-value return");
907 if (NRetTy != RetTy && Attrs.hasAttribute(Attribute::Returned)) {
968 assert((RetTy->isStructTy() || RetTy->isArrayTy()) &&
983 Value *RetVal = PoisonValue::get(RetTy);
1043 assert(RetTy->isStructTy() || RetTy->isArrayTy());