Searched refs:getSwappedBytes (Results 1 - 4 of 4) sorted by relevance

/external/llvm/include/llvm/Support/
H A DSwapByteOrder.h71 inline unsigned char getSwappedBytes(unsigned char C) { return C; } function in namespace:llvm::sys
72 inline signed char getSwappedBytes(signed char C) { return C; } function in namespace:llvm::sys
73 inline char getSwappedBytes(char C) { return C; } function in namespace:llvm::sys
75 inline unsigned short getSwappedBytes(unsigned short C) { return SwapByteOrder_16(C); } function in namespace:llvm::sys
76 inline signed short getSwappedBytes( signed short C) { return SwapByteOrder_16(C); } function in namespace:llvm::sys
78 inline unsigned int getSwappedBytes(unsigned int C) { return SwapByteOrder_32(C); } function in namespace:llvm::sys
79 inline signed int getSwappedBytes( signed int C) { return SwapByteOrder_32(C); } function in namespace:llvm::sys
82 inline unsigned long getSwappedBytes(unsigned long C) { return SwapByteOrder_32(C); } function in namespace:llvm::sys
83 inline signed long getSwappedBytes( signed long C) { return SwapByteOrder_32(C); } function in namespace:llvm::sys
85 inline unsigned long getSwappedBytes(unsigne function in namespace:llvm::sys
86 inline signed long getSwappedBytes( signed long C) { return SwapByteOrder_64(C); } function in namespace:llvm::sys
91 inline unsigned long long getSwappedBytes(unsigned long long C) { function in namespace:llvm::sys
94 inline signed long long getSwappedBytes(signed long long C) { function in namespace:llvm::sys
[all...]
/external/llvm/unittests/Support/
H A DSwapByteOrderTest.cpp23 TEST(getSwappedBytes, UnsignedRoundTrip) {
30 sys::getSwappedBytes(sys::getSwappedBytes(original_uint8)));
34 sys::getSwappedBytes(sys::getSwappedBytes(original_uint16)));
38 sys::getSwappedBytes(sys::getSwappedBytes(original_uint32)));
42 sys::getSwappedBytes(sys::getSwappedBytes(original_uint64)));
48 TEST(getSwappedBytes, SignedRoundTri
[all...]
/external/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h187 return ShouldSwapBytes ? sys::getSwappedBytes(Int) : Int;
/external/llvm/lib/ProfileData/
H A DInstrProfReader.cpp164 sys::getSwappedBytes(getRawMagic<IntPtrT>()) == Magic;

Completed in 110 milliseconds