Home
last modified time | relevance | path

Searched refs:byte_swap (Results 1 – 9 of 9) sorted by relevance

/external/llvm/include/llvm/Support/
DEndian.h39 inline value_type byte_swap(value_type value) { in byte_swap() function
56 return byte_swap<value_type, endian>(ret); in read()
74 value = byte_swap<value_type, endian>(value); in write()
98 val[0] = byte_swap<value_type, endian>(val[0]); in readAtBitAlignment()
99 val[1] = byte_swap<value_type, endian>(val[1]); in readAtBitAlignment()
133 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
134 val[1] = byte_swap<value_type, endian>(val[1]); in writeAtBitAlignment()
162 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
163 val[1] = byte_swap<value_type, endian>(val[1]); in writeAtBitAlignment()
DEndianStream.h30 Val = byte_swap<value_type, endian>(Val); in write()
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp569 uint64_t Magic = endian::byte_swap<uint64_t, little>(Header->Magic); in readHeader()
574 uint64_t FormatVersion = endian::byte_swap<uint64_t, little>(Header->Version); in readHeader()
580 endian::byte_swap<uint64_t, little>(Header->MaxFunctionCount); in readHeader()
584 endian::byte_swap<uint64_t, little>(Header->HashType)); in readHeader()
588 uint64_t HashOffset = endian::byte_swap<uint64_t, little>(Header->HashOffset); in readHeader()
DCoverageMappingReader.cpp362 T NamePtr = endian::byte_swap<T, Endian>(CFR->NamePtr); in readCoverageMappingData()
363 uint32_t NameSize = endian::byte_swap<uint32_t, Endian>(CFR->NameSize); in readCoverageMappingData()
364 uint32_t DataSize = endian::byte_swap<uint32_t, Endian>(CFR->DataSize); in readCoverageMappingData()
365 uint64_t FuncHash = endian::byte_swap<uint64_t, Endian>(CFR->FuncHash); in readCoverageMappingData()
DInstrProfWriter.cpp246 uint64_t Bytes = endian::byte_swap<uint64_t, little>(TableStart.second); in writeBuffer()
/external/llvm/unittests/MC/
DStringTableBuilderTest.cpp58 support::endian::byte_swap<uint32_t, support::little>(ExpectedSize); in TEST()
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h71 Value = support::endian::byte_swap<uint32_t, support::little>(Value); in WriteWord()
/external/clang/lib/Frontend/
DCacheTokens.cpp473 return llvm::support::endian::byte_swap<uint32_t, llvm::support::little>(X); in swap32le()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp579 uint64_t Swapped = endian::byte_swap<uint64_t, little>(Working); in combine()