Home
last modified time | relevance | path

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

12

/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-7.0/llvm/include/llvm/IR/
DDataLayout.h243 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function
250 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp221 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()
222 bool ToLegal = MinBitWidth == 1 || DL.isLegalInteger(MinBitWidth); in getMinBitWidth()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h78 if (DL.isLegalInteger(OpSize) && in getOperationCost()
89 if (DL.isLegalInteger(DestSize) && in getOperationCost()
99 if (DL.isLegalInteger(DL.getTypeSizeInBits(Ty))) in getOperationCost()
/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-7.0/llvm/lib/Analysis/
DIVUsers.cpp190 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DIRBuilderTest.cpp135 EXPECT_TRUE(M->getDataLayout().isLegalInteger(32)); in TEST_F()
137 EXPECT_FALSE(M->getDataLayout().isLegalInteger(32)); in TEST_F()
/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()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp867 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()
2060 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
DSROA.cpp2075 P.begin() != P.end() ? false : DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()
2742 !DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy)) || in visitMemSetInst()
4033 DL.isLegalInteger(P.size() * 8)) in rewritePartition()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp1255 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
DInstructionCombining.cpp155 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()
156 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
DInstCombineLoadStoreAlloca.cpp632 DL.isLegalInteger(DL.getTypeStoreSizeInBits(Ty)) && in combineLoadToOperationType()

12