Home
last modified time | relevance | path

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

/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/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()