Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.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/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1012 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local
1014 if (NewRetTy->isStructTy()) in transformConstExprCastCall()
1018 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()
1024 (NewRetTy->isPointerTy() || !TD || in transformConstExprCastCall()
1025 NewRetTy == TD->getIntPtrType(Caller->getContext())))) in transformConstExprCastCall()
1030 !NewRetTy->isVoidTy() && !CastInst::isCastable(NewRetTy, OldRetTy)) in transformConstExprCastCall()
1035 if (RAttrs & Attribute::typeIncompatible(NewRetTy)) in transformConstExprCastCall()
1130 RAttrs &= ~Attribute::typeIncompatible(NewRetTy); in transformConstExprCastCall()
1185 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-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp4141 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local
4144 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()
4146 if (NewRetTy->isStructTy()) in transformConstExprCastCall()
4149 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()
4155 !NewRetTy->isVoidTy()) in transformConstExprCastCall()
4161 if (RAttrs.overlaps(AttributeFuncs::typeIncompatible(NewRetTy))) in transformConstExprCastCall()
4267 RAttrs.remove(AttributeFuncs::typeIncompatible(NewRetTy)); in transformConstExprCastCall()
4313 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-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp2128 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local
2129 bool NeedBitCast = !TheCall->use_empty() && TheCall->getType() != NewRetTy; in InlineFunction()
2152 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()