Searched refs:NewRetTy (Results 1 – 3 of 3) sorted by relevance
338 StructType *NewRetTy = StructType::create(Ctx, ReturnTypes, F.getName()); in runOnFunction() local340 FunctionType *NewFuncTy = FunctionType::get(NewRetTy, in runOnFunction()344 LLVM_DEBUG(dbgs() << "Computed new return type: " << *NewRetTy << '\n'); in runOnFunction()373 Value *NewRetVal = UndefValue::get(NewRetTy); in runOnFunction()
2488 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local2491 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()2493 if (NewRetTy->isStructTy()) in transformConstExprCastCall()2496 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()2502 !NewRetTy->isVoidTy()) in transformConstExprCastCall()2508 if (RAttrs.overlaps(AttributeFuncs::typeIncompatible(NewRetTy))) in transformConstExprCastCall()2622 RAttrs.remove(AttributeFuncs::typeIncompatible(NewRetTy)); in transformConstExprCastCall()2674 if (NewRetTy->isVoidTy()) in transformConstExprCastCall()
2404 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local2405 bool NeedBitCast = !CB.use_empty() && CB.getType() != NewRetTy; in InlineFunction()2428 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()