Home
last modified time | relevance | path

Searched refs:getSwappedBytes (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dendian_test.cpp38 EXPECT_EQ(original_uint8, getSwappedBytes(getSwappedBytes(original_uint8))); in TEST()
42 getSwappedBytes(getSwappedBytes(original_uint16))); in TEST()
46 getSwappedBytes(getSwappedBytes(original_uint32))); in TEST()
50 getSwappedBytes(getSwappedBytes(original_uint64))); in TEST()
62 EXPECT_EQ(original_int8, getSwappedBytes(getSwappedBytes(original_int8))); in TEST()
65 EXPECT_EQ(original_int16, getSwappedBytes(getSwappedBytes(original_int16))); in TEST()
68 EXPECT_EQ(original_int32, getSwappedBytes(getSwappedBytes(original_int32))); in TEST()
71 EXPECT_EQ(original_int64, getSwappedBytes(getSwappedBytes(original_int64))); in TEST()
77 EXPECT_EQ(original_int8, getSwappedBytes(getSwappedBytes(original_int8))); in TEST()
80 EXPECT_EQ(original_int16, getSwappedBytes(getSwappedBytes(original_int16))); in TEST()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DSwapByteOrder.h31 inline unsigned char getSwappedBytes(unsigned char C) { return llvm::byteswap(C); }
32 inline signed char getSwappedBytes( signed char C) { return llvm::byteswap(C); }
33 inline char getSwappedBytes( char C) { return llvm::byteswap(C); }
35 inline unsigned short getSwappedBytes(unsigned short C) { return llvm::byteswap(C); }
36 inline signed short getSwappedBytes( signed short C) { return llvm::byteswap(C); }
38 inline unsigned int getSwappedBytes(unsigned int C) { return llvm::byteswap(C); }
39 inline signed int getSwappedBytes( signed int C) { return llvm::byteswap(C); }
41 inline unsigned long getSwappedBytes(unsigned long C) { return llvm::byteswap(C); }
42 inline signed long getSwappedBytes( signed long C) { return llvm::byteswap(C); }
44 inline unsigned long long getSwappedBytes(unsigne
59 inline unsigned char getSwappedBytes(unsigned char C) { return llvm::byteswap(C); } getSwappedBytes() function
60 inline signed char getSwappedBytes( signed char C) { return llvm::byteswap(C); } getSwappedBytes() function
61 inline char getSwappedBytes( char C) { return llvm::byteswap(C); } getSwappedBytes() function
63 inline unsigned short getSwappedBytes(unsigned short C) { return llvm::byteswap(C); } getSwappedBytes() function
64 inline signed short getSwappedBytes( signed short C) { return llvm::byteswap(C); } getSwappedBytes() function
66 inline unsigned int getSwappedBytes(unsigned int C) { return llvm::byteswap(C); } getSwappedBytes() function
67 inline signed int getSwappedBytes( signed int C) { return llvm::byteswap(C); } getSwappedBytes() function
69 inline unsigned long getSwappedBytes(unsigned long C) { return llvm::byteswap(C); } getSwappedBytes() function
70 inline signed long getSwappedBytes( signed long C) { return llvm::byteswap(C); } getSwappedBytes() function
72 inline unsigned long long getSwappedBytes(unsigned long long C) { return llvm::byteswap(C); } getSwappedBytes() function
73 inline signed long long getSwappedBytes( signed long long C) { return llvm::byteswap(C); } getSwappedBytes() function
75 inline float getSwappedBytes(float C) { getSwappedBytes() function
85 inline double getSwappedBytes(double C) { getSwappedBytes() function
96 inline std::enable_if_t<std::is_enum_v<T>, T> getSwappedBytes(T C) { getSwappedBytes() function
[all...]
H A DDataExtractor.h37 inline uint24_t getSwappedBytes(uint24_t C) { in getSwappedBytes() function
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dendianness.h101 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(unsigned long long C) { in getSwappedBytes() function
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DFloating.cpp19 Floating getSwappedBytes(Floating F) { return F; } in getSwappedBytes() function
H A DFloating.h213 Floating getSwappedBytes(Floating F);
H A DIntegralAP.h321 IntegralAP<Signed> getSwappedBytes(IntegralAP<Signed> F) { in getSwappedBytes() function
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfCorrelator.h
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSHA1.cpp
H A DSHA256.cpp