Searched refs:NewRetTy (Results 1 – 2 of 2) sorted by relevance
994 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local996 if (NewRetTy->isStructTy()) in transformConstExprCastCall()1000 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()1006 (NewRetTy->isPointerTy() || !TD || in transformConstExprCastCall()1007 NewRetTy == TD->getIntPtrType(Caller->getContext())))) in transformConstExprCastCall()1012 !NewRetTy->isVoidTy() && !CastInst::isCastable(NewRetTy, OldRetTy)) in transformConstExprCastCall()1017 if (RAttrs & Attribute::typeIncompatible(NewRetTy)) in transformConstExprCastCall()1121 RAttrs &= ~Attribute::typeIncompatible(NewRetTy); in transformConstExprCastCall()1176 if (NewRetTy->isVoidTy()) in transformConstExprCastCall()
1744 llvm::Type *NewRetTy = NewFn->getReturnType(); in ReplaceUsesOfNonProtoTypeWithRealFunction() local1758 if (CI->getType() != NewRetTy && !CI->use_empty()) in ReplaceUsesOfNonProtoTypeWithRealFunction()