Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1479 Type *NewRetTy = FT->getReturnType(); in transformConstExprCastCall() local
1482 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()
1484 if (NewRetTy->isStructTy()) in transformConstExprCastCall()
1487 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()
1493 !NewRetTy->isVoidTy()) in transformConstExprCastCall()
1501 typeIncompatible(NewRetTy, AttributeSet::ReturnIndex), in transformConstExprCastCall()
1619 typeIncompatible(NewRetTy, AttributeSet::ReturnIndex), in transformConstExprCastCall()
1678 if (NewRetTy->isVoidTy()) in transformConstExprCastCall()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1226 Type *NewRetTy = Caller->getReturnType(); in InlineFunction() local
1227 bool NeedBitCast = !TheCall->use_empty() && TheCall->getType() != NewRetTy; in InlineFunction()
1250 Builder.CreateRet(Builder.CreateBitCast(ReturnedMustTail, NewRetTy)); in InlineFunction()