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/ |
D | InstCombineCasts.cpp | 296 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()
|
D | InstCombineShifts.cpp | 1116 (!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()
|
D | InstCombineInternal.h | 474 bool shouldChangeType(unsigned FromBitWidth, unsigned ToBitWidth) const; 475 bool shouldChangeType(Type *From, Type *To) const;
|
D | InstructionCombining.cpp | 174 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()
|
D | InstCombinePHI.cpp | 763 if (!shouldChangeType(PN.getType(), CastSrcTy)) in FoldPHIArgOpIntoPHI()
|
D | InstCombineSelect.cpp | 2178 if (!shouldChangeType(Ty->getScalarType()->getIntegerBitWidth(), NewBitWidth)) in matchSAddSubSat()
|
D | InstCombineAndOrXor.cpp | 1701 if (!isa<VectorType>(Ty) && !shouldChangeType(Ty, X->getType())) in narrowMaskedBinOp()
|