/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 1072 TEST(APIntTest, reverseBits) { in TEST() argument 1073 EXPECT_EQ(1, APInt(1, 1).reverseBits()); in TEST() 1074 EXPECT_EQ(0, APInt(1, 0).reverseBits()); in TEST() 1076 EXPECT_EQ(3, APInt(2, 3).reverseBits()); in TEST() 1077 EXPECT_EQ(3, APInt(2, 3).reverseBits()); in TEST() 1079 EXPECT_EQ(0xb, APInt(4, 0xd).reverseBits()); in TEST() 1080 EXPECT_EQ(0xd, APInt(4, 0xb).reverseBits()); in TEST() 1081 EXPECT_EQ(0xf, APInt(4, 0xf).reverseBits()); in TEST() 1083 EXPECT_EQ(0x30, APInt(7, 0x6).reverseBits()); in TEST() 1084 EXPECT_EQ(0x5a, APInt(7, 0x2d).reverseBits()); in TEST() [all …]
|
/external/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 138 TEST(MathExtras, reverseBits) { in TEST() argument 143 EXPECT_EQ(0x54ULL, reverseBits(NZ8)); in TEST() 144 EXPECT_EQ(0x5400ULL, reverseBits(NZ16)); in TEST() 145 EXPECT_EQ(0x54000000ULL, reverseBits(NZ32)); in TEST() 146 EXPECT_EQ(0x5400000000000000ULL, reverseBits(NZ64)); in TEST()
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | KnownBits.h | 339 KnownBits reverseBits() { in reverseBits() function 340 return KnownBits(Zero.reverseBits(), One.reverseBits()); in reverseBits()
|
D | MathExtras.h | 306 T reverseBits(T Val) { 318 inline uint8_t reverseBits<uint8_t>(uint8_t Val) { 325 inline uint16_t reverseBits<uint16_t>(uint16_t Val) { 332 inline uint32_t reverseBits<uint32_t>(uint32_t Val) { 339 inline uint64_t reverseBits<uint64_t>(uint64_t Val) {
|
/external/llvm-project/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 129 AB = AOut.reverseBits(); in determineLiveOperandBits() 517 APInt RBound = Bound.reverseBits(); in determineLiveOperandBitsAddCarry() 518 APInt RAOut = AOut.reverseBits(); in determineLiveOperandBitsAddCarry() 521 APInt ACarry = RACarry.reverseBits(); in determineLiveOperandBitsAddCarry()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCCodeEmitter.cpp | 174 return reverseBits(Imm | RegBits) >> 22; in getSPE8DisEncoding() 189 return reverseBits(Imm | RegBits) >> 22; in getSPE4DisEncoding() 204 return reverseBits(Imm | RegBits) >> 22; in getSPE2DisEncoding()
|
/external/llvm-project/llvm/unittests/ADT/ |
D | APIntTest.cpp | 1840 TEST(APIntTest, reverseBits) { in TEST() argument 1841 EXPECT_EQ(1, APInt(1, 1).reverseBits()); in TEST() 1842 EXPECT_EQ(0, APInt(1, 0).reverseBits()); in TEST() 1844 EXPECT_EQ(3, APInt(2, 3).reverseBits()); in TEST() 1845 EXPECT_EQ(3, APInt(2, 3).reverseBits()); in TEST() 1847 EXPECT_EQ(0xb, APInt(4, 0xd).reverseBits()); in TEST() 1848 EXPECT_EQ(0xd, APInt(4, 0xb).reverseBits()); in TEST() 1849 EXPECT_EQ(0xf, APInt(4, 0xf).reverseBits()); in TEST() 1851 EXPECT_EQ(0x30, APInt(7, 0x6).reverseBits()); in TEST() 1852 EXPECT_EQ(0x5a, APInt(7, 0x2d).reverseBits()); in TEST() [all …]
|
/external/llvm-project/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 167 TEST(MathExtras, reverseBits) { in TEST() argument 172 EXPECT_EQ(0x54ULL, reverseBits(NZ8)); in TEST() 173 EXPECT_EQ(0x5400ULL, reverseBits(NZ16)); in TEST() 174 EXPECT_EQ(0x54000000ULL, reverseBits(NZ32)); in TEST() 175 EXPECT_EQ(0x5400000000000000ULL, reverseBits(NZ64)); in TEST()
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCCodeEmitter.cpp | 278 return reverseBits(Imm | RegBits) >> 22; in getSPE8DisEncoding() 294 return reverseBits(Imm | RegBits) >> 22; in getSPE4DisEncoding() 310 return reverseBits(Imm | RegBits) >> 22; in getSPE2DisEncoding()
|
/external/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCCodeEmitter.cpp | 321 return reverseBits(Imm | RegBits) >> 22; in getSPE8DisEncoding() 336 return reverseBits(Imm | RegBits) >> 22; in getSPE4DisEncoding() 351 return reverseBits(Imm | RegBits) >> 22; in getSPE2DisEncoding()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIShrinkInstructions.cpp | 231 int32_t ReverseImm = reverseBits<int32_t>(static_cast<int32_t>(Imm)); in runOnMachineFunction()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderIntegerFunctionTests.cpp | 829 static inline deUint32 reverseBits (deUint32 v) in reverseBits() function 865 const deUint32 cmpMask = reverseBits(getLowBitMask(integerLength)); in compare() 871 const deUint32 ref = reverseBits(value); in compare()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 129 AB = AOut.reverseBits(); in determineLiveOperandBits()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | APInt.cpp | 771 APInt APInt::reverseBits() const { in reverseBits() function in APInt 774 return APInt(BitWidth, llvm::reverseBits<uint64_t>(VAL)); in reverseBits() 776 return APInt(BitWidth, llvm::reverseBits<uint32_t>(VAL)); in reverseBits() 778 return APInt(BitWidth, llvm::reverseBits<uint16_t>(VAL)); in reverseBits() 780 return APInt(BitWidth, llvm::reverseBits<uint8_t>(VAL)); in reverseBits()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 793 APInt APInt::reverseBits() const { in reverseBits() function in APInt 796 return APInt(BitWidth, llvm::reverseBits<uint64_t>(VAL)); in reverseBits() 798 return APInt(BitWidth, llvm::reverseBits<uint32_t>(VAL)); in reverseBits() 800 return APInt(BitWidth, llvm::reverseBits<uint16_t>(VAL)); in reverseBits() 802 return APInt(BitWidth, llvm::reverseBits<uint8_t>(VAL)); in reverseBits()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderIntegerFunctionTests.cpp | 201 static inline deUint32 reverseBits (deUint32 v) in reverseBits() function 1040 const deUint32 cmpMask = reverseBits(getLowBitMask(integerLength)); in compare() 1046 const deUint32 ref = reverseBits(value); in compare()
|
/external/llvm-project/llvm/lib/Support/ |
D | APInt.cpp | 691 APInt APInt::reverseBits() const { in reverseBits() function in APInt 694 return APInt(BitWidth, llvm::reverseBits<uint64_t>(U.VAL)); in reverseBits() 696 return APInt(BitWidth, llvm::reverseBits<uint32_t>(U.VAL)); in reverseBits() 698 return APInt(BitWidth, llvm::reverseBits<uint16_t>(U.VAL)); in reverseBits() 700 return APInt(BitWidth, llvm::reverseBits<uint8_t>(U.VAL)); in reverseBits()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | APInt.cpp | 698 APInt APInt::reverseBits() const { in reverseBits() function in APInt 701 return APInt(BitWidth, llvm::reverseBits<uint64_t>(U.VAL)); in reverseBits() 703 return APInt(BitWidth, llvm::reverseBits<uint32_t>(U.VAL)); in reverseBits() 705 return APInt(BitWidth, llvm::reverseBits<uint16_t>(U.VAL)); in reverseBits() 707 return APInt(BitWidth, llvm::reverseBits<uint8_t>(U.VAL)); in reverseBits()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | GISelKnownBits.cpp | 455 Known.reverseBits(); in computeKnownBitsImpl()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 233 T reverseBits(T Val) {
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MathExtras.h | 233 T reverseBits(T Val) {
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | MathExtras.h | 305 T reverseBits(T Val) {
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIShrinkInstructions.cpp | 164 ReverseImm = reverseBits<int32_t>(static_cast<int32_t>(Src.getImm())); in isReverseInlineImm()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 1461 APInt LLVM_ATTRIBUTE_UNUSED_RESULT reverseBits() const;
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | SIShrinkInstructions.cpp | 160 ReverseImm = reverseBits<int32_t>(static_cast<int32_t>(Src.getImm())); in isReverseInlineImm()
|