Home
last modified time | relevance | path

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

12

/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-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp220 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()
221 bool ToLegal = MinBitWidth == 1 || DL.isLegalInteger(MinBitWidth); in getMinBitWidth()
/external/llvm-project/llvm/include/llvm/IR/
DDataLayout.h262 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function
269 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
/external/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp233 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()
234 bool ToLegal = MinBitWidth == 1 || DL.isLegalInteger(MinBitWidth); in getMinBitWidth()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDataLayout.h254 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function
261 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
/external/swiftshader/third_party/llvm-10.0/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-project/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h441 if (DL.isLegalInteger(SrcSize) && in getCastInstrCost()
448 if (DL.isLegalInteger(DstSize) && in getCastInstrCost()
462 if (!DstSize.isScalable() && DL.isLegalInteger(DstSize.getFixedSize())) in getCastInstrCost()
/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-project/llvm/lib/Analysis/
DIVUsers.cpp190 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVUsers.cpp190 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersImpl()
/external/llvm-project/llvm/unittests/IR/
DIRBuilderTest.cpp425 EXPECT_TRUE(M->getDataLayout().isLegalInteger(32)); in TEST_F()
427 EXPECT_FALSE(M->getDataLayout().isLegalInteger(32)); in TEST_F()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp520 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()
917 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
DSROA.cpp2126 P.begin() != P.end() ? false : DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()
2818 DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy).getFixedSize()); in visitMemSetInst()
4293 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/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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp1273 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
DInstCombineLoadStoreAlloca.cpp599 DL.isLegalInteger(DL.getTypeStoreSizeInBits(Ty)) && in combineLoadToOperationType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp903 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()
2277 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
DSROA.cpp2112 P.begin() != P.end() ? false : DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()
2795 DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy)); in visitMemSetInst()
4132 DL.isLegalInteger(P.size() * 8)) in rewritePartition()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp1450 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()

12