Searched refs:shouldChangeType (Results 1 – 7 of 7) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 304 shouldChangeType(CI.getSrcTy(), CI.getType()))) { in commonCastTransforms() 317 shouldChangeType(CI.getSrcTy(), CI.getType())) in commonCastTransforms() 540 shouldChangeType(Trunc.getSrcTy(), Trunc.getType())) && in narrowFunnelShift() 643 if (!isa<VectorType>(SrcTy) && !shouldChangeType(SrcTy, DestTy)) in narrowBinOp() 758 if ((DestTy->isVectorTy() || shouldChangeType(SrcTy, DestTy)) && in visitTrunc() 779 if (shouldChangeType(SrcTy, NewDestTy) && in visitTrunc() 903 (isa<VectorType>(SrcTy) || shouldChangeType(SrcTy, DestTy))) { in visitTrunc() 1244 if (shouldChangeType(SrcTy, DestTy) && in visitZExt() 1526 if (shouldChangeType(SrcTy, DestTy) && canEvaluateSExtd(Src, DestTy)) { in visitSExt()
|
| H A D | InstCombineInternal.h | 193 bool shouldChangeType(unsigned FromBitWidth, unsigned ToBitWidth) const; 194 bool shouldChangeType(Type *From, Type *To) const;
|
| H A D | InstCombineShifts.cpp | 1107 (!Ty->isIntegerTy() || shouldChangeType(Ty, X->getType()))) { in visitLShr() 1116 (!Ty->isIntegerTy() || shouldChangeType(Ty, X->getType()))) { in visitLShr() 1322 (Ty->isVectorTy() || shouldChangeType(Ty, X->getType()))) { in visitAShr()
|
| H A D | InstructionCombining.cpp | 214 bool InstCombinerImpl::shouldChangeType(unsigned FromWidth, in shouldChangeType() function in InstCombinerImpl 242 bool InstCombinerImpl::shouldChangeType(Type *From, Type *To) const { in shouldChangeType() function in InstCombinerImpl 250 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType() 3041 shouldChangeType(Known.getBitWidth(), NewWidth)) { in visitSwitchInst()
|
| H A D | InstCombinePHI.cpp | 854 if (!shouldChangeType(PN.getType(), CastSrcTy)) in foldPHIArgOpIntoPHI()
|
| H A D | InstCombineSelect.cpp | 2212 if (!shouldChangeType(Ty->getScalarType()->getIntegerBitWidth(), NewBitWidth)) in matchSAddSubSat()
|
| H A D | InstCombineAndOrXor.cpp | 1762 if (!isa<VectorType>(Ty) && !shouldChangeType(Ty, X->getType())) in narrowMaskedBinOp()
|