Searched refs:isLegalInteger (Results 1 – 12 of 12) sorted by relevance
266 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function270 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()
520 if (DL.isLegalInteger(SrcSize) && in getCastInstrCost()527 if (DL.isLegalInteger(DstSize) && in getCastInstrCost()541 if (!DstSize.isScalable() && DL.isLegalInteger(DstSize.getFixedSize())) in getCastInstrCost()
157 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersIfInteresting()
486 EXPECT_TRUE(M->getDataLayout().isLegalInteger(32)); in TEST_F()488 EXPECT_FALSE(M->getDataLayout().isLegalInteger(32)); in TEST_F()
524 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()922 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
2100 bool WholeAllocaOp = P.empty() && DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()2793 DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy).getFixedSize()); in visitMemSetInst()4272 DL.isLegalInteger(P.size() * 8)) in rewritePartition()
220 return DL.isLegalInteger(BitWidth); in isDesirableIntType()233 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()234 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
1548 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
2870 DL.isLegalInteger(DestTy->getScalarSizeInBits()) && in visitBitCast()
2247 DL.isLegalInteger(TypeBits - Amt)) { in foldICmpShlConstant()6107 if (!DL.isLegalInteger(NumBits)) in foldReductionIdiom()
1356 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmpConstantSize()