Searched refs:isLegalInteger (Results 1 – 12 of 12) sorted by relevance
243 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function250 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
221 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()222 bool ToLegal = MinBitWidth == 1 || DL.isLegalInteger(MinBitWidth); in getMinBitWidth()
78 if (DL.isLegalInteger(OpSize) && in getOperationCost()89 if (DL.isLegalInteger(DestSize) && in getOperationCost()99 if (DL.isLegalInteger(DL.getTypeSizeInBits(Ty))) in getOperationCost()
190 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersImpl()
414 if (!DataLayout.isLegalInteger(OffsetInRecord)) in accumulateBitFields()
860 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()2224 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
2072 P.begin() != P.end() ? false : DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()2741 !DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy)) || in visitMemSetInst()4063 DL.isLegalInteger(P.size() * 8)) in rewritePartition()
1256 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
633 DL.isLegalInteger(DL.getTypeStoreSizeInBits(Ty)) && in combineLoadToOperationType()
159 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()160 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
1749 if (ExactLogBase2 != -1 && DL.isLegalInteger(ExactLogBase2 + 1)) { in foldICmpAndConstant()2005 DL.isLegalInteger(TypeBits - Amt)) { in foldICmpShlConstant()
858 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmp()