Searched defs:getSwappedBytes (Results 1 – 6 of 6) sorted by relevance
/llvm-project/llvm/include/llvm/Support/ |
H A D | SwapByteOrder.h | 31 inline unsigned char getSwappedBytes(unsigned char C) { return llvm::byteswap(C); } in getSwappedBytes() function 32 inline signed char getSwappedBytes( signed char C) { return llvm::byteswap(C); } in getSwappedBytes() function 33 inline char getSwappedBytes( char C) { return llvm::byteswap(C); } in getSwappedBytes() function 35 inline unsigned short getSwappedBytes(unsigned short C) { return llvm::byteswap(C); } in getSwappedBytes() function 36 inline signed short getSwappedBytes( signed short C) { return llvm::byteswap(C); } in getSwappedBytes() function 38 inline unsigned int getSwappedBytes(unsigned int C) { return llvm::byteswap(C); } in getSwappedBytes() function 39 inline signed int getSwappedBytes( signed int C) { return llvm::byteswap(C); } in getSwappedBytes() function 41 inline unsigned long getSwappedBytes(unsigned long C) { return llvm::byteswap(C); } in getSwappedBytes() function 42 inline signed long getSwappedBytes( signed long C) { return llvm::byteswap(C); } in getSwappedBytes() function 44 inline unsigned long long getSwappedBytes(unsigned long long C) { return llvm::byteswap(C); } in getSwappedBytes() function [all …]
|
H A D | DataExtractor.h | 37 inline uint24_t getSwappedBytes(uint24_t C) { in getSwappedBytes() function
|
/llvm-project/compiler-rt/lib/orc/ |
H A D | endianness.h | 101 inline unsigned char getSwappedBytes(unsigned char C) { return C; } in getSwappedBytes() function 102 inline signed char getSwappedBytes(signed char C) { return C; } in getSwappedBytes() function 103 inline char getSwappedBytes(char C) { return C; } in getSwappedBytes() function 105 inline unsigned short getSwappedBytes(unsigned short C) { in getSwappedBytes() function 108 inline signed short getSwappedBytes(signed short C) { return ByteSwap_16(C); } in getSwappedBytes() function 110 inline unsigned int getSwappedBytes(unsigned int C) { return ByteSwap_32(C); } in getSwappedBytes() function 111 inline signed int getSwappedBytes(signed int C) { return ByteSwap_32(C); } in getSwappedBytes() function 113 inline unsigned long getSwappedBytes(unsigned long C) { in getSwappedBytes() function 118 inline signed long getSwappedBytes(signed long C) { in getSwappedBytes() function 124 inline unsigned long long getSwappedBytes(unsigne function 127 inline signed long long getSwappedBytes(signed long long C) { getSwappedBytes() function 132 inline std::enable_if_t<std::is_enum<T>::value, T> getSwappedBytes(T C) { getSwappedBytes() function [all...] |
/llvm-project/llvm/unittests/Support/ |
H A D | SwapByteOrderTest.cpp | 22 TEST(getSwappedBytes, UnsignedRoundTrip) { in TEST() argument 47 TEST(getSwappedBytes, SignedRoundTrip) { in TEST() argument 93 TEST(getSwappedBytes, uint8_t) { in TEST() argument 97 TEST(getSwappedBytes, uint16_t) { in TEST() argument 101 TEST(getSwappedBytes, uint32_t) { in TEST() argument 105 TEST(getSwappedBytes, uint64_t) { in TEST() argument 110 TEST(getSwappedBytes, int8_t) { in TEST() argument 114 TEST(getSwappedBytes, int16_t) { in TEST() argument 118 TEST(getSwappedBytes, int32_t) { in TEST() argument 122 TEST(getSwappedBytes, int64_t) { in TEST() argument [all …]
|
/llvm-project/clang/lib/AST/Interp/ |
H A D | Floating.cpp |
|
H A D | IntegralAP.h |
|