Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A 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()
H A DInstCombineShifts.cpp764 (!Ty->isIntegerTy() || shouldChangeType(Ty, X->getType()))) { in visitLShr()
773 (!Ty->isIntegerTy() || shouldChangeType(Ty, X->getType()))) { in visitLShr()
882 (Ty->isVectorTy() || shouldChangeType(Ty, X->getType()))) { in visitAShr()
H A DInstCombineInternal.h438 bool shouldChangeType(unsigned FromBitWidth, unsigned ToBitWidth) const;
439 bool shouldChangeType(Type *From, Type *To) const;
H A DInstructionCombining.cpp157 bool InstCombiner::shouldChangeType(unsigned FromWidth, in shouldChangeType() function in InstCombiner
185 bool InstCombiner::shouldChangeType(Type *From, Type *To) const { in shouldChangeType() function in InstCombiner
193 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
2545 shouldChangeType(Known.getBitWidth(), NewWidth)) { in visitSwitchInst()
H A DInstCombinePHI.cpp751 if (!shouldChangeType(PN.getType(), CastSrcTy)) in FoldPHIArgOpIntoPHI()
H A DInstCombineAndOrXor.cpp1508 if (!isa<VectorType>(Ty) && !shouldChangeType(Ty, X->getType())) in narrowMaskedBinOp()