reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ProfileData/InstrProfReader.h
  238     return ShouldSwapBytes ? sys::getSwappedBytes(Int) : Int;
include/llvm/Support/SwapByteOrder.h
  149       getSwappedBytes(static_cast<typename std::underlying_type<T>::type>(C)));
  154   Value = getSwappedBytes(Value);
tools/clang/lib/Lex/HeaderMap.cpp
   91                             ? llvm::sys::getSwappedBytes(Header->NumBuckets)
tools/clang/unittests/Lex/HeaderMapTest.cpp
   39     Header.Magic = getSwappedBytes(Header.Magic);
   41     Header.NumBuckets = getSwappedBytes(Header.NumBuckets);
   42     Header.StringsOffset = getSwappedBytes(Header.StringsOffset);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h
  182   result.r_word0 = swap ? getSwappedBytes(r0) : r0;
  183   result.r_word1 = swap ? getSwappedBytes(r1) : r1;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
 1117           *indirects++ = llvm::sys::getSwappedBytes(index);
 1129             *indirects++ = llvm::sys::getSwappedBytes(index);
unittests/Support/SwapByteOrderTest.cpp
   37               sys::getSwappedBytes(sys::getSwappedBytes(original_uint32)));
   37               sys::getSwappedBytes(sys::getSwappedBytes(original_uint32)));
  102   EXPECT_EQ(uint32_t(0x11223344), sys::getSwappedBytes(uint32_t(0x44332211)));