Searched refs:NewRetTy (Results 1 – 3 of 3) sorted by relevance
308 StructType *NewRetTy = StructType::create(Ctx, ReturnTypes, F.getName()); in runOnFunction() local310 FunctionType *NewFuncTy = FunctionType::get(NewRetTy, in runOnFunction()314 LLVM_DEBUG(dbgs() << "Computed new return type: " << *NewRetTy << '\n'); in runOnFunction()343 Value *NewRetVal = PoisonValue::get(NewRetTy); in runOnFunction()
3412 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local3415 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()3417 if (NewRetTy->isStructTy()) in transformConstExprCastCall()3420 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()3426 !NewRetTy->isVoidTy()) in transformConstExprCastCall()3432 if (RAttrs.overlaps(AttributeFuncs::typeIncompatible(NewRetTy))) in transformConstExprCastCall()3555 RAttrs.remove(AttributeFuncs::typeIncompatible(NewRetTy)); in transformConstExprCastCall()3614 if (NewRetTy->isVoidTy()) in transformConstExprCastCall()
2667 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local2668 bool NeedBitCast = !CB.use_empty() && CB.getType() != NewRetTy; in InlineFunction()2691 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()