Searched refs:isLegalInteger (Results 1 – 12 of 12) sorted by relevance
220 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()221 bool ToLegal = MinBitWidth == 1 || DL.isLegalInteger(MinBitWidth); in getMinBitWidth()
254 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function261 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
77 if (DL.isLegalInteger(OpSize) && in getOperationCost()88 if (DL.isLegalInteger(DestSize) && in getOperationCost()98 if (DL.isLegalInteger(DL.getTypeSizeInBits(Ty))) in getOperationCost()
190 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersImpl()
1273 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
599 DL.isLegalInteger(DL.getTypeStoreSizeInBits(Ty)) && in combineLoadToOperationType()
176 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()177 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
2537 DL.isLegalInteger(DestTy->getScalarSizeInBits()) && in visitBitCast()
1864 if (ExactLogBase2 != -1 && DL.isLegalInteger(ExactLogBase2 + 1)) { in foldICmpAndConstant()2150 DL.isLegalInteger(TypeBits - Amt)) { in foldICmpShlConstant()
903 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()2277 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
2112 P.begin() != P.end() ? false : DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()2795 DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy)); in visitMemSetInst()4132 DL.isLegalInteger(P.size() * 8)) in rewritePartition()
1010 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmpConstantSize()