Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h79 if (DL->isLegalInteger(OpSize) && in getOperationCost()
93 if (DL->isLegalInteger(DestSize) && in getOperationCost()
103 if (DL && DL->isLegalInteger(DL->getTypeSizeInBits(Ty))) in getOperationCost()
/external/llvm/include/llvm/IR/
DDataLayout.h237 bool isLegalInteger(unsigned Width) const { in isLegalInteger() function
244 bool isIllegalInteger(unsigned Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp115 EXPECT_TRUE(M->getDataLayout().isLegalInteger(32)); in TEST_F()
117 EXPECT_FALSE(M->getDataLayout().isLegalInteger(32)); in TEST_F()
/external/llvm/lib/Analysis/
DIVUsers.cpp137 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersImpl()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp672 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()
1501 !L->getHeader()->getModule()->getDataLayout().isLegalInteger(PhiWidth)) in FindLoopCounter()
DSROA.cpp2217 P.begin() != P.end() ? false : DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()
2795 !DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy)) || in visitMemSetInst()
3991 DL.isLegalInteger(P.size() * 8)) in rewritePartition()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp895 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
DInstCombineLoadStoreAlloca.cpp462 DL.isLegalInteger(DL.getTypeStoreSizeInBits(Ty)) && in combineLoadToOperationType()
DInstructionCombining.cpp90 bool FromLegal = DL.isLegalInteger(FromWidth); in ShouldChangeType()
91 bool ToLegal = DL.isLegalInteger(ToWidth); in ShouldChangeType()