Searched refs:isLegalInteger (Results 1 – 11 of 11) sorted by relevance
77 if (DL.isLegalInteger(OpSize) && in getOperationCost()88 if (DL.isLegalInteger(DestSize) && in getOperationCost()98 if (DL.isLegalInteger(DL.getTypeSizeInBits(Ty))) in getOperationCost()
239 bool isLegalInteger(unsigned Width) const { in isLegalInteger() function246 bool isIllegalInteger(unsigned Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
114 EXPECT_TRUE(M->getDataLayout().isLegalInteger(32)); in TEST_F()116 EXPECT_FALSE(M->getDataLayout().isLegalInteger(32)); in TEST_F()
140 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersImpl()
795 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()1751 !L->getHeader()->getModule()->getDataLayout().isLegalInteger(PhiWidth)) in FindLoopCounter()
2013 P.begin() != P.end() ? false : DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()2640 !DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy)) || in visitMemSetInst()3831 DL.isLegalInteger(P.size() * 8)) in rewritePartition()
988 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
473 DL.isLegalInteger(DL.getTypeStoreSizeInBits(Ty)) && in combineLoadToOperationType()
89 bool FromLegal = DL.isLegalInteger(FromWidth); in ShouldChangeType()90 bool ToLegal = DL.isLegalInteger(ToWidth); in ShouldChangeType()
1537 if (ExactLogBase2 != -1 && DL.isLegalInteger(ExactLogBase2 + 1)) { in visitICmpInstWithInstAndIntCst()
868 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmp()