Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DSwapByteOrder.h72 inline unsigned char getSwappedBytes(unsigned char C) { return C; } in getSwappedBytes() function
73 inline signed char getSwappedBytes(signed char C) { return C; } in getSwappedBytes() function
74 inline char getSwappedBytes(char C) { return C; } in getSwappedBytes() function
76 inline unsigned short getSwappedBytes(unsigned short C) { return SwapByteOrder_16(C); } in getSwappedBytes() function
77 inline signed short getSwappedBytes( signed short C) { return SwapByteOrder_16(C); } in getSwappedBytes() function
79 inline unsigned int getSwappedBytes(unsigned int C) { return SwapByteOrder_32(C); } in getSwappedBytes() function
92 inline unsigned long long getSwappedBytes(unsigned long long C) { in getSwappedBytes() function
95 inline signed long long getSwappedBytes(signed long long C) { in getSwappedBytes() function
99 inline float getSwappedBytes(float C) { in getSwappedBytes() function
109 inline double getSwappedBytes(double C) { in getSwappedBytes() function
[all …]
H A DDataExtractor.h37 inline uint24_t getSwappedBytes(uint24_t C) { in getSwappedBytes() function
/freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryUtils.h70 using llvm::sys::getSwappedBytes;
183 result.r_word0 = swap ? getSwappedBytes(r0) : r0; in packRelocation()
184 result.r_word1 = swap ? getSwappedBytes(r1) : r1; in packRelocation()
H A DMachONormalizedFileBinaryWriter.cpp1109 *indirects++ = llvm::sys::getSwappedBytes(index); in writeSymbolTable()
1121 *indirects++ = llvm::sys::getSwappedBytes(index); in writeSymbolTable()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DHeaderMap.cpp92 ? llvm::sys::getSwappedBytes(Header->NumBuckets) in checkHeader()
/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h227 return ShouldSwapBytes ? sys::getSwappedBytes(Int) : Int; in swap()
/freebsd-12.1/contrib/llvm/lib/ProfileData/
H A DInstrProfReader.cpp299 sys::getSwappedBytes(RawInstrProf::getMagic<IntPtrT>()) == Magic; in hasFormat()