Searched refs:NewRetTy (Results 1 – 4 of 4) sorted by relevance
74 Type *NewRetTy = classifyPointerType(RetInst->getReturnValue()); in classifyFunctionType() local76 RetTy = NewRetTy; in classifyFunctionType()77 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()343 Value *NewRetVal = UndefValue::get(NewRetTy); in runOnFunction()
3214 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local3217 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()3219 if (NewRetTy->isStructTy()) in transformConstExprCastCall()3222 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()3228 !NewRetTy->isVoidTy()) in transformConstExprCastCall()3234 if (RAttrs.overlaps(AttributeFuncs::typeIncompatible(NewRetTy))) in transformConstExprCastCall()3357 RAttrs.remove(AttributeFuncs::typeIncompatible(NewRetTy)); in transformConstExprCastCall()3416 if (NewRetTy->isVoidTy()) in transformConstExprCastCall()
2430 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local2431 bool NeedBitCast = !CB.use_empty() && CB.getType() != NewRetTy; in InlineFunction()2454 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()