Searched refs:OldRetTy (Results 1 – 2 of 2) sorted by relevance
1011 Type *OldRetTy = Caller->getType(); in transformConstExprCastCall() local1018 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()1022 !((OldRetTy->isPointerTy() || !TD || in transformConstExprCastCall()1023 OldRetTy == TD->getIntPtrType(Caller->getContext())) && in transformConstExprCastCall()1030 !NewRetTy->isVoidTy() && !CastInst::isCastable(NewRetTy, OldRetTy)) in transformConstExprCastCall()1210 if (OldRetTy != NV->getType() && !Caller->use_empty()) { in transformConstExprCastCall()1213 CastInst::getCastOpcode(NC, false, OldRetTy, false); in transformConstExprCastCall()1214 NV = NC = CastInst::Create(opcode, NC, OldRetTy); in transformConstExprCastCall()
2632 Type *OldRetTy = Caller->getType(); in transformConstExprCastCall() local2636 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()2641 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()2853 if (OldRetTy != NV->getType() && !Caller->use_empty()) { in transformConstExprCastCall()2855 NV = NC = CastInst::CreateBitOrPointerCast(NC, OldRetTy); in transformConstExprCastCall()2876 if (OldRetTy == NV->getType()) in transformConstExprCastCall()