Searched refs:isLegalInteger (Results 1 – 11 of 11) sorted by relevance
232 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()233 bool ToLegal = MinBitWidth == 1 || DL.isLegalInteger(MinBitWidth); in getMinBitWidth()
263 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function267 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
486 if (DL.isLegalInteger(SrcSize) && in getCastInstrCost()493 if (DL.isLegalInteger(DstSize) && in getCastInstrCost()507 if (!DstSize.isScalable() && DL.isLegalInteger(DstSize.getFixedSize())) in getCastInstrCost()
190 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersImpl()
520 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()918 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
2122 bool WholeAllocaOp = P.empty() && DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()2813 DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy).getFixedSize()); in visitMemSetInst()4288 DL.isLegalInteger(P.size() * 8)) in rewritePartition()
1474 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
216 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()217 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
2702 DL.isLegalInteger(DestTy->getScalarSizeInBits()) && in visitBitCast()
1868 if (ExactLogBase2 != -1 && DL.isLegalInteger(ExactLogBase2 + 1)) { in foldICmpAndConstant()2174 DL.isLegalInteger(TypeBits - Amt)) { in foldICmpShlConstant()
972 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmpConstantSize()