Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
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 = PoisonValue::get(NewRetTy); in runOnFunction()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp3412 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local
3415 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()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DInlineFunction.cpp2667 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local
2668 bool NeedBitCast = !CB.use_empty() && CB.getType() != NewRetTy; in InlineFunction()
2691 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()