Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp97 Type *NewRetTy = classifyPointerType(RetInst->getReturnValue(), Map); in classifyFunctionType() local
99 RetTy = NewRetTy; in classifyFunctionType()
100 else if (RetTy != NewRetTy) in classifyFunctionType()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp308 StructType *NewRetTy = StructType::create(Ctx, ReturnTypes, F.getName()); in runOnFunction()
310 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()
309 StructType *NewRetTy = StructType::create(Ctx, ReturnTypes, F.getName()); runOnFunction() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp4111 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local
4114 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()
4116 if (NewRetTy->isStructTy()) in transformConstExprCastCall()
4119 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()
4125 !NewRetTy->isVoidTy()) in transformConstExprCastCall()
4131 if (RAttrs.overlaps(AttributeFuncs::typeIncompatible(NewRetTy))) in transformConstExprCastCall()
4234 RAttrs.remove(AttributeFuncs::typeIncompatible(NewRetTy)); in transformConstExprCastCall()
4285 if (NewRetTy->isVoidTy()) in transformConstExprCastCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp2828 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local
2829 bool NeedBitCast = !CB.use_empty() && CB.getType() != NewRetTy; in InlineFunction()
2852 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()