Searched refs:NewRetTy (Results 1 – 4 of 4) sorted by relevance
95 Type *NewRetTy = classifyPointerType(RetInst->getReturnValue(), Map); in classifyFunctionType() local97 RetTy = NewRetTy; in classifyFunctionType()98 else if (RetTy != NewRetTy) in classifyFunctionType()
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()345 Value *NewRetVal = PoisonValue::get(NewRetTy); in runOnFunction()
3881 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local3884 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()3886 if (NewRetTy->isStructTy()) in transformConstExprCastCall()3889 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()3895 !NewRetTy->isVoidTy()) in transformConstExprCastCall()3901 if (RAttrs.overlaps(AttributeFuncs::typeIncompatible(NewRetTy))) in transformConstExprCastCall()4004 RAttrs.remove(AttributeFuncs::typeIncompatible(NewRetTy)); in transformConstExprCastCall()4055 if (NewRetTy->isVoidTy()) in transformConstExprCastCall()
2725 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local2726 bool NeedBitCast = !CB.use_empty() && CB.getType() != NewRetTy; in InlineFunction()2749 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()