Searched refs:isLegalInteger (Results 1 – 12 of 12) 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()
614 if (DL.isLegalInteger(SrcSize) && in getCastInstrCost()621 if (DL.isLegalInteger(DstSize) && in getCastInstrCost()635 if (!DstSize.isScalable() && DL.isLegalInteger(DstSize.getFixedValue())) in getCastInstrCost()
521 if (!Cast->getDataLayout().isLegalInteger(Width)) in visitIVCast()861 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
954 } else if (!DL.isLegalInteger( in FlattenLoopPair()
2455 bool WholeAllocaOp = P.empty() && DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()3179 DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy).getFixedValue()); in visitMemSetInst()4819 DL.isLegalInteger(P.size() * 8)) { in rewritePartition()
1642 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
227 return DL.isLegalInteger(BitWidth); in isDesirableIntType()241 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()242 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
2786 if (DL.isLegalInteger(DestTy->getScalarSizeInBits()) && in visitBitCast()
7172 if (!DL.isLegalInteger(NumBits)) in foldReductionIdiom()
1553 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmpConstantSize()