Searched refs:NewRetTy (Results 1 – 3 of 3) sorted by relevance
1012 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local1014 if (NewRetTy->isStructTy()) in transformConstExprCastCall()1018 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()1024 (NewRetTy->isPointerTy() || !TD || in transformConstExprCastCall()1025 NewRetTy == TD->getIntPtrType(Caller->getContext())))) in transformConstExprCastCall()1030 !NewRetTy->isVoidTy() && !CastInst::isCastable(NewRetTy, OldRetTy)) in transformConstExprCastCall()1035 if (RAttrs & Attribute::typeIncompatible(NewRetTy)) in transformConstExprCastCall()1130 RAttrs &= ~Attribute::typeIncompatible(NewRetTy); in transformConstExprCastCall()1185 if (NewRetTy->isVoidTy()) in transformConstExprCastCall()
2633 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local2636 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()2638 if (NewRetTy->isStructTy()) in transformConstExprCastCall()2641 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()2647 !NewRetTy->isVoidTy()) in transformConstExprCastCall()2653 if (RAttrs.overlaps(AttributeFuncs::typeIncompatible(NewRetTy))) in transformConstExprCastCall()2767 RAttrs.remove(AttributeFuncs::typeIncompatible(NewRetTy)); in transformConstExprCastCall()2825 if (NewRetTy->isVoidTy()) in transformConstExprCastCall()
1914 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local1915 bool NeedBitCast = !TheCall->use_empty() && TheCall->getType() != NewRetTy; in InlineFunction()1938 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()