Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPURewriteOutArguments.cpp356 StructType *NewRetTy = StructType::create(Ctx, ReturnTypes, F.getName()); in runOnFunction() local
358 FunctionType *NewFuncTy = FunctionType::get(NewRetTy, in runOnFunction()
362 LLVM_DEBUG(dbgs() << "Computed new return type: " << *NewRetTy << '\n'); in runOnFunction()
391 Value *NewRetVal = UndefValue::get(NewRetTy); in runOnFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPURewriteOutArguments.cpp356 StructType *NewRetTy = StructType::create(Ctx, ReturnTypes, F.getName()); in runOnFunction() local
358 FunctionType *NewFuncTy = FunctionType::get(NewRetTy, in runOnFunction()
362 LLVM_DEBUG(dbgs() << "Computed new return type: " << *NewRetTy << '\n'); in runOnFunction()
391 Value *NewRetVal = UndefValue::get(NewRetTy); in runOnFunction()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2153 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local
2156 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()
2158 if (NewRetTy->isStructTy()) in transformConstExprCastCall()
2161 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()
2167 !NewRetTy->isVoidTy()) in transformConstExprCastCall()
2173 if (RAttrs.overlaps(AttributeFuncs::typeIncompatible(NewRetTy))) in transformConstExprCastCall()
2287 RAttrs.remove(AttributeFuncs::typeIncompatible(NewRetTy)); in transformConstExprCastCall()
2339 if (NewRetTy->isVoidTy()) in transformConstExprCastCall()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2633 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local
2636 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()
2638 if (NewRetTy->isStructTy()) in transformConstExprCastCall()
2641 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()
2647 !NewRetTy->isVoidTy()) in transformConstExprCastCall()
2653 if (RAttrs.overlaps(AttributeFuncs::typeIncompatible(NewRetTy))) in transformConstExprCastCall()
2767 RAttrs.remove(AttributeFuncs::typeIncompatible(NewRetTy)); in transformConstExprCastCall()
2825 if (NewRetTy->isVoidTy()) in transformConstExprCastCall()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp4568 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local
4571 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()
4573 if (NewRetTy->isStructTy()) in transformConstExprCastCall()
4576 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()
4582 !NewRetTy->isVoidTy()) in transformConstExprCastCall()
4588 if (RAttrs.overlaps(AttributeFuncs::typeIncompatible(NewRetTy))) in transformConstExprCastCall()
4698 RAttrs.remove(AttributeFuncs::typeIncompatible(NewRetTy)); in transformConstExprCastCall()
4750 if (NewRetTy->isVoidTy()) in transformConstExprCastCall()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1914 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local
1915 bool NeedBitCast = !TheCall->use_empty() && TheCall->getType() != NewRetTy; in InlineFunction()
1938 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp2199 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local
2200 bool NeedBitCast = !TheCall->use_empty() && TheCall->getType() != NewRetTy; in InlineFunction()
2223 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()
/external/llvm-project/llvm/lib/Transforms/Utils/
DInlineFunction.cpp2254 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local
2255 bool NeedBitCast = !CB.use_empty() && CB.getType() != NewRetTy; in InlineFunction()
2278 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()