Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1011 Type *OldRetTy = Caller->getType(); in transformConstExprCastCall() local
1018 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()
1022 !((OldRetTy->isPointerTy() || !TD || in transformConstExprCastCall()
1023 OldRetTy == TD->getIntPtrType(Caller->getContext())) && in transformConstExprCastCall()
1030 !NewRetTy->isVoidTy() && !CastInst::isCastable(NewRetTy, OldRetTy)) in transformConstExprCastCall()
1210 if (OldRetTy != NV->getType() && !Caller->use_empty()) { in transformConstExprCastCall()
1213 CastInst::getCastOpcode(NC, false, OldRetTy, false); in transformConstExprCastCall()
1214 NV = NC = CastInst::Create(opcode, NC, OldRetTy); in transformConstExprCastCall()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2632 Type *OldRetTy = Caller->getType(); in transformConstExprCastCall() local
2636 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()
2641 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()
2853 if (OldRetTy != NV->getType() && !Caller->use_empty()) { in transformConstExprCastCall()
2855 NV = NC = CastInst::CreateBitOrPointerCast(NC, OldRetTy); in transformConstExprCastCall()
2876 if (OldRetTy == NV->getType()) in transformConstExprCastCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp4140 Type *OldRetTy = Caller->getType(); in transformConstExprCastCall() local
4144 if (OldRetTy != NewRetTy) { in transformConstExprCastCall()
4149 if (!CastInst::isBitOrNoopPointerCastable(NewRetTy, OldRetTy, DL)) { in transformConstExprCastCall()
4347 if (OldRetTy != NV->getType() && !Caller->use_empty()) { in transformConstExprCastCall()
4349 NV = NC = CastInst::CreateBitOrPointerCast(NC, OldRetTy); in transformConstExprCastCall()
4370 if (OldRetTy == NV->getType()) in transformConstExprCastCall()