Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetData.h163 bool isLegalInteger(unsigned Width) const { in isLegalInteger() function
171 return !isLegalInteger(Width); in isIllegalInteger()
/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.h236 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function
243 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DIVUsers.cpp93 if (Width > 64 || (TD && !TD->isLegalInteger(Width))) in AddUsersIfInteresting()
DInlineCost.cpp113 TD->isLegalInteger(TD->getTypeSizeInBits(CI->getType()))) in analyzeBasicBlock()
/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/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp757 if (TD && !TD->isLegalInteger(Width)) in visitCast()
1469 if (PhiWidth < BCWidth || (TD && !TD->isLegalInteger(PhiWidth))) in FindLoopCounter()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombinePHI.cpp899 !TD->isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
DInstructionCombining.cpp96 bool FromLegal = TD->isLegalInteger(FromWidth); in ShouldChangeType()
97 bool ToLegal = TD->isLegalInteger(ToWidth); in ShouldChangeType()
DInstCombineCompares.cpp444 (TD && Init->getNumOperands() <= 64 && TD->isLegalInteger(64))) { in FoldCmpLoadFromIndexedGlobal()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp815 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()
1774 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
DSROA.cpp1997 P.begin() != P.end() ? false : DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()
2624 !DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy)) || in visitMemSetInst()
3824 DL.isLegalInteger(P.size() * 8)) in rewritePartition()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp997 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
DInstCombineLoadStoreAlloca.cpp477 DL.isLegalInteger(DL.getTypeStoreSizeInBits(Ty)) && in combineLoadToOperationType()
DInstructionCombining.cpp95 bool FromLegal = DL.isLegalInteger(FromWidth); in ShouldChangeType()
96 bool ToLegal = DL.isLegalInteger(ToWidth); in ShouldChangeType()
DInstCombineCompares.cpp1862 if (ExactLogBase2 != -1 && DL.isLegalInteger(ExactLogBase2 + 1)) { in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp721 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmp()