Home
last modified time | relevance | path

Searched refs:NewRetTy (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DPointerTypeAnalysis.cpp74 Type *NewRetTy = classifyPointerType(RetInst->getReturnValue()); in classifyFunctionType() local
76 RetTy = NewRetTy; in classifyFunctionType()
77 else if (RetTy != NewRetTy) in classifyFunctionType()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp308 StructType *NewRetTy = StructType::create(Ctx, ReturnTypes, F.getName()); in runOnFunction() local
310 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()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3214 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local
3217 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()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp2430 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local
2431 bool NeedBitCast = !CB.use_empty() && CB.getType() != NewRetTy; in InlineFunction()
2454 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()