Home
last modified time | relevance | path

Searched refs:shouldChangeType (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp296 shouldChangeType(CI.getType(), Src->getType())) in commonCastTransforms()
498 shouldChangeType(Trunc.getSrcTy(), Trunc.getType())) && in narrowRotate()
583 if (!isa<VectorType>(SrcTy) && !shouldChangeType(SrcTy, DestTy)) in narrowBinOp()
696 if ((DestTy->isVectorTy() || shouldChangeType(SrcTy, DestTy)) && in visitTrunc()
823 shouldChangeType(SrcTy, DestTy)) { in visitTrunc()
1104 if (shouldChangeType(SrcTy, DestTy) && in visitZExt()
1382 if (shouldChangeType(SrcTy, DestTy) && canEvaluateSExtd(Src, DestTy)) { in visitSExt()
DInstCombineShifts.cpp1116 (!Ty->isIntegerTy() || shouldChangeType(Ty, X->getType()))) { in visitLShr()
1125 (!Ty->isIntegerTy() || shouldChangeType(Ty, X->getType()))) { in visitLShr()
1303 (Ty->isVectorTy() || shouldChangeType(Ty, X->getType()))) { in visitAShr()
DInstCombineInternal.h474 bool shouldChangeType(unsigned FromBitWidth, unsigned ToBitWidth) const;
475 bool shouldChangeType(Type *From, Type *To) const;
DInstructionCombining.cpp174 bool InstCombiner::shouldChangeType(unsigned FromWidth, in shouldChangeType() function in InstCombiner
202 bool InstCombiner::shouldChangeType(Type *From, Type *To) const { in shouldChangeType() function in InstCombiner
210 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
2678 shouldChangeType(Known.getBitWidth(), NewWidth)) { in visitSwitchInst()
DInstCombinePHI.cpp763 if (!shouldChangeType(PN.getType(), CastSrcTy)) in FoldPHIArgOpIntoPHI()
DInstCombineSelect.cpp2178 if (!shouldChangeType(Ty->getScalarType()->getIntegerBitWidth(), NewBitWidth)) in matchSAddSubSat()
DInstCombineAndOrXor.cpp1701 if (!isa<VectorType>(Ty) && !shouldChangeType(Ty, X->getType())) in narrowMaskedBinOp()