Home
last modified time | relevance | path

Searched refs:isLegalInteger (Results 1 – 11 of 11) sorted by relevance

/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h77 if (DL.isLegalInteger(OpSize) && in getOperationCost()
88 if (DL.isLegalInteger(DestSize) && in getOperationCost()
98 if (DL.isLegalInteger(DL.getTypeSizeInBits(Ty))) in getOperationCost()
/external/llvm/include/llvm/IR/
DDataLayout.h239 bool isLegalInteger(unsigned Width) const { in isLegalInteger() function
246 bool isIllegalInteger(unsigned Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp114 EXPECT_TRUE(M->getDataLayout().isLegalInteger(32)); in TEST_F()
116 EXPECT_FALSE(M->getDataLayout().isLegalInteger(32)); in TEST_F()
/external/llvm/lib/Analysis/
DIVUsers.cpp140 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersImpl()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp795 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()
1751 !L->getHeader()->getModule()->getDataLayout().isLegalInteger(PhiWidth)) in FindLoopCounter()
DSROA.cpp2013 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()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp988 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
DInstCombineLoadStoreAlloca.cpp473 DL.isLegalInteger(DL.getTypeStoreSizeInBits(Ty)) && in combineLoadToOperationType()
DInstructionCombining.cpp89 bool FromLegal = DL.isLegalInteger(FromWidth); in ShouldChangeType()
90 bool ToLegal = DL.isLegalInteger(ToWidth); in ShouldChangeType()
DInstCombineCompares.cpp1537 if (ExactLogBase2 != -1 && DL.isLegalInteger(ExactLogBase2 + 1)) { in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp868 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmp()