Searched refs:isLegalInteger (Results 1 – 11 of 11) sorted by relevance
260 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function264 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
258 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()259 bool ToLegal = MinBitWidth == 1 || DL.isLegalInteger(MinBitWidth); in getMinBitWidth()
157 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersIfInteresting()
591 if (DL.isLegalInteger(SrcSize) && in getCastInstrCost()598 if (DL.isLegalInteger(DstSize) && in getCastInstrCost()612 if (!DstSize.isScalable() && DL.isLegalInteger(DstSize.getFixedValue())) in getCastInstrCost()
511 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()849 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
2504 bool WholeAllocaOp = P.empty() && DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()3217 DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy).getFixedValue()); in visitMemSetInst()4773 DL.isLegalInteger(P.size() * 8)) { in rewritePartition()
209 return DL.isLegalInteger(BitWidth); in isDesirableIntType()223 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()224 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
1590 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
2696 if (DL.isLegalInteger(DestTy->getScalarSizeInBits()) && in visitBitCast()
2361 DL.isLegalInteger(TypeBits - Amt)) { in foldICmpShlConstant()6843 if (!DL.isLegalInteger(NumBits)) in foldReductionIdiom()
1544 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmpConstantSize()