Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp303 StructType *NewRetTy = StructType::create(Ctx, ReturnTypes, F.getName()); in runOnFunction() local
305 FunctionType *NewFuncTy = FunctionType::get(NewRetTy, in runOnFunction()
309 LLVM_DEBUG(dbgs() << "Computed new return type: " << *NewRetTy << '\n'); in runOnFunction()
338 Value *NewRetVal = PoisonValue::get(NewRetTy); in runOnFunction()
/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/DirectX/
H A DDXILOpLowering.cpp475 Type *NewRetTy = OpBuilder.getResRetType(OldTy->getScalarType()); in lowerTypedBufferLoad() local
479 OpCode::BufferLoad, Args, CI->getName(), NewRetTy); in lowerTypedBufferLoad()
500 Type *NewRetTy = OpBuilder.getResRetType(ScalarTy); in lowerRawBufferLoad() local
516 CI->getName(), NewRetTy) in lowerRawBufferLoad()
519 NewRetTy); in lowerRawBufferLoad()
537 Type *NewRetTy = OpBuilder.getCBufRetType(ScalarTy); in lowerCBufferLoad() local
544 OpCode::CBufferLoadLegacy, {Handle, Index}, CI->getName(), NewRetTy); in lowerCBufferLoad()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp4416 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local
4419 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()
4421 if (NewRetTy->isStructTy()) in transformConstExprCastCall()
4424 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()
4432 NewRetTy, CallerPAL.getRetAttrs()))) in transformConstExprCastCall()
4518 AttributeFuncs::typeIncompatible(NewRetTy, CallerPAL.getRetAttrs())); in transformConstExprCastCall()
4569 if (NewRetTy->isVoidTy()) in transformConstExprCastCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp3156 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local
3157 bool NeedBitCast = !CB.use_empty() && CB.getType() != NewRetTy; in InlineFunction()
3180 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()