Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DSwapByteOrder.h103 inline unsigned char getSwappedBytes(unsigned char C) { return C; } in getSwappedBytes() function
104 inline signed char getSwappedBytes(signed char C) { return C; } in getSwappedBytes() function
105 inline char getSwappedBytes(char C) { return 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
127 inline signed long long getSwappedBytes(signed long long C) { in getSwappedBytes() function
131 inline float getSwappedBytes(float C) { in getSwappedBytes() function
141 inline double getSwappedBytes(double C) { in getSwappedBytes() function
154 getSwappedBytes(static_cast<std::underlying_type_t<T>>(C))); in getSwappedBytes()
[all …]
H A DDataExtractor.h37 inline uint24_t getSwappedBytes(uint24_t C) { in getSwappedBytes() function
/freebsd-13.1/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
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
127 inline signed long long getSwappedBytes(signed long long C) { in getSwappedBytes() function
132 inline std::enable_if_t<std::is_enum<T>::value, T> getSwappedBytes(T C) { in getSwappedBytes() function
134 getSwappedBytes(static_cast<std::underlying_type_t<T>>(C))); in getSwappedBytes()
[all …]
/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryUtils.h69 using llvm::sys::getSwappedBytes;
182 result.r_word0 = swap ? getSwappedBytes(r0) : r0; in packRelocation()
183 result.r_word1 = swap ? getSwappedBytes(r1) : r1; in packRelocation()
H A DMachONormalizedFileBinaryWriter.cpp1117 *indirects++ = llvm::sys::getSwappedBytes(index); in writeSymbolTable()
1129 *indirects++ = llvm::sys::getSwappedBytes(index); in writeSymbolTable()
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DHeaderMap.cpp91 ? llvm::sys::getSwappedBytes(Header->NumBuckets) in checkHeader()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h265 return ShouldSwapBytes ? sys::getSwappedBytes(Int) : Int; in swap()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp308 sys::getSwappedBytes(RawInstrProf::getMagic<IntPtrT>()) == Magic; in hasFormat()