/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | APIntTest.cpp | 1669 TEST(APIntTest, isShiftedMask) { in TEST() argument 1670 EXPECT_FALSE(APInt(32, 0x01010101).isShiftedMask()); in TEST() 1671 EXPECT_TRUE(APInt(32, 0xf0000000).isShiftedMask()); in TEST() 1672 EXPECT_TRUE(APInt(32, 0xffff0000).isShiftedMask()); in TEST() 1673 EXPECT_TRUE(APInt(32, 0xff << 1).isShiftedMask()); in TEST() 1676 EXPECT_FALSE(APInt(N, 0).isShiftedMask()); in TEST() 1681 EXPECT_TRUE(MaskVal.isShiftedMask()); in TEST() 1685 EXPECT_TRUE(MaskVal.isShiftedMask()); in TEST() 1689 EXPECT_TRUE(MaskVal.isShiftedMask()); in TEST()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 1799 inline bool isShiftedMask(unsigned numBits, const APInt &APIVal) { in isShiftedMask() function
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APInt.h | 1592 inline bool isShiftedMask(unsigned numBits, const APInt& APIVal) { in isShiftedMask() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelDAGToDAG.cpp | 2137 static bool isShiftedMask(uint64_t Mask, EVT VT) { in isShiftedMask() function 2182 if (!isShiftedMask(Known.Zero.getZExtValue(), VT)) in tryBitfieldInsertOpFromOrAndImm() 2357 (isShiftedMask(Mask0Imm, VT) || isShiftedMask(Mask1Imm, VT))) { in tryBitfieldInsertOpFromOr() 2362 if (isShiftedMask(Mask0Imm, VT)) { in tryBitfieldInsertOpFromOr()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelDAGToDAG.cpp | 2038 static bool isShiftedMask(uint64_t Mask, EVT VT) { in isShiftedMask() function 2083 if (!isShiftedMask(KnownZero.getZExtValue(), VT)) in tryBitfieldInsertOpFromOrAndImm() 2258 (isShiftedMask(Mask0Imm, VT) || isShiftedMask(Mask1Imm, VT))) { in tryBitfieldInsertOpFromOr() 2263 if (isShiftedMask(Mask0Imm, VT)) { in tryBitfieldInsertOpFromOr()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 1826 inline bool isShiftedMask(unsigned numBits, const APInt &APIVal) { in isShiftedMask() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 102 static bool isShiftedMask(uint64_t I, uint64_t &Pos, uint64_t &Size) { in isShiftedMask() function 796 !isShiftedMask(CN->getZExtValue(), SMPos, SMSize)) in performANDCombine() 878 !isShiftedMask(~CN->getSExtValue(), SMPos0, SMSize0)) in performORCombine() 886 !isShiftedMask(CN->getZExtValue(), SMPos1, SMSize1)) in performORCombine() 1131 !isShiftedMask(CN->getZExtValue(), SMPos, SMSize)) in performSHLCombine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APInt.h | 516 bool isShiftedMask() const { in isShiftedMask() function
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 65 static bool isShiftedMask(uint64_t I, uint64_t &Pos, uint64_t &Size) { in isShiftedMask() function 708 !isShiftedMask(CN->getZExtValue(), SMPos, SMSize)) in performANDCombine() 743 !isShiftedMask(~CN->getSExtValue(), SMPos0, SMSize0)) in performORCombine() 751 !isShiftedMask(CN->getZExtValue(), SMPos1, SMSize1)) in performORCombine()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 388 if (!APIntOps::isShiftedMask(BitWidth, V)) return false; in isRunOfOnes()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 340 if (!APIntOps::isShiftedMask(BitWidth, V)) return false; in isRunOfOnes()
|