Lines Matching defs:RetTy
340 Type *RetTy = F->getReturnType();
341 if (RetTy->isVoidTy())
343 if (StructType *STy = dyn_cast<StructType>(RetTy))
345 if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy))
354 Type *RetTy = F->getReturnType();
355 assert(!RetTy->isVoidTy() && "void type has no subtype");
357 if (StructType *STy = dyn_cast<StructType>(RetTy))
359 if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy))
361 return RetTy;
783 Type *RetTy = FTy->getReturnType();
810 if (RetTy->isVoidTy() || HasLiveReturnedArg) {
811 NRetTy = RetTy;
833 if (StructType *STy = dyn_cast<StructType>(RetTy)) {
838 assert(isa<ArrayType>(RetTy) && "unexpected multi-value return");
922 if (NRetTy != RetTy && Attrs.hasAttribute(Attribute::Returned)) {
982 assert((RetTy->isStructTy() || RetTy->isArrayTy()) &&
997 Value *RetVal = PoisonValue::get(RetTy);
1056 assert(RetTy->isStructTy() || RetTy->isArrayTy());