Searched refs:isLegalInteger (Results 1 – 11 of 11) sorted by relevance
267 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function271 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()
540 if (DL.isLegalInteger(SrcSize) && in getCastInstrCost()547 if (DL.isLegalInteger(DstSize) && in getCastInstrCost()561 if (!DstSize.isScalable() && DL.isLegalInteger(DstSize.getFixedValue())) in getCastInstrCost()
157 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersIfInteresting()
523 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()923 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
2367 bool WholeAllocaOp = P.empty() && DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()3094 DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy).getFixedValue()); in visitMemSetInst()4622 DL.isLegalInteger(P.size() * 8)) { in rewritePartition()
222 return DL.isLegalInteger(BitWidth); in isDesirableIntType()236 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()237 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
1555 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
2871 if (DL.isLegalInteger(DestTy->getScalarSizeInBits()) && in visitBitCast()
2193 DL.isLegalInteger(TypeBits - Amt)) { in foldICmpShlConstant()6137 if (!DL.isLegalInteger(NumBits)) in foldReductionIdiom()
1478 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmpConstantSize()