Searched refs:NewRetTy (Results 1 – 3 of 3) sorted by relevance
356 StructType *NewRetTy = StructType::create(Ctx, ReturnTypes, F.getName()); in runOnFunction() local358 FunctionType *NewFuncTy = FunctionType::get(NewRetTy, in runOnFunction()362 LLVM_DEBUG(dbgs() << "Computed new return type: " << *NewRetTy << '\n'); in runOnFunction()391 Value *NewRetVal = UndefValue::get(NewRetTy); in runOnFunction()
4568 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local4571 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()4573 if (NewRetTy->isStructTy()) in transformConstExprCastCall()4576 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()4582 !NewRetTy->isVoidTy()) in transformConstExprCastCall()4588 if (RAttrs.overlaps(AttributeFuncs::typeIncompatible(NewRetTy))) in transformConstExprCastCall()4698 RAttrs.remove(AttributeFuncs::typeIncompatible(NewRetTy)); in transformConstExprCastCall()4750 if (NewRetTy->isVoidTy()) in transformConstExprCastCall()
2199 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local2200 bool NeedBitCast = !TheCall->use_empty() && TheCall->getType() != NewRetTy; in InlineFunction()2223 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()