Searched refs:ByteSwap_64 (Results 1 – 5 of 5) sorted by relevance
139 TEST(MathExtras, ByteSwap_64) { in TEST() argument140 EXPECT_EQ(0x8877665544332211ULL, ByteSwap_64(0x1122334455667788LL)); in TEST()141 EXPECT_EQ(0x1100FFEEDDCCBBAAULL, ByteSwap_64(0xAABBCCDDEEFF0011LL)); in TEST()
55 *(uint64_t *)(ptr + offset) = llvm::ByteSwap_64(value); in WriteSwappedInt64()
93 return llvm::ByteSwap_64(*(uint64_t *)(ptr + offset)); in ReadSwapInt64()110 return llvm::ByteSwap_64(*(uint64_t *)(ptr)); in ReadSwapInt64()
378 inline uint64_t ByteSwap_64(uint64_t Value) {
804 return APInt(BitWidth, ByteSwap_64(VAL)); in byteSwap()808 Result.pVal[I] = ByteSwap_64(pVal[N - I - 1]); in byteSwap()