/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/swiftshader/third_party/LLVM/utils/TableGen/ |
D | CodeEmitterGen.h | 37 void reverseBits(std::vector<Record*> &Insts);
|
D | CodeEmitterGen.cpp | 33 void CodeEmitterGen::reverseBits(std::vector<Record*> &Insts) { in reverseBits() function in CodeEmitterGen 215 if (Target.isLittleEndianEncoding()) reverseBits(Insts); in run()
|
/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/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 | 857 static inline deUint32 reverseBits (deUint32 v) in reverseBits() function 893 const deUint32 cmpMask = reverseBits(getLowBitMask(integerLength)); in compare() 899 const deUint32 ref = reverseBits(value); in compare()
|
/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 | 229 static inline deUint32 reverseBits (deUint32 v) in reverseBits() function 1061 const deUint32 cmpMask = reverseBits(getLowBitMask(integerLength)); in compare() 1067 const deUint32 ref = reverseBits(value); in compare()
|
/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/llvm/include/llvm/ADT/ |
D | APInt.h | 1461 APInt LLVM_ATTRIBUTE_UNUSED_RESULT reverseBits() const;
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 1437 APInt reverseBits() const;
|
/external/deqp/framework/common/ |
D | tcuAstcUtil.cpp | 72 inline deUint32 reverseBits (deUint32 src, int numBits) in reverseBits() function 283 : reverseBits(m_src.getBits(m_startNdxInSrc - high, m_startNdxInSrc - low), numBitsFromSrc); in getNext() 1710 …: m_dst.setBits(m_startNdxInSrc - high, m_startNdxInSrc - low, reverseBits(actualBits, numBitsToDs… in setNext()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1648 return ConstantInt::get(Ty->getContext(), Op->getValue().reverseBits()); in ConstantFoldScalarCall()
|