Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DEndian.h52 inline value_type byte_swap(value_type value, endianness endian) { in byte_swap() function
60 inline value_type byte_swap(value_type value) { in byte_swap() function
61 return byte_swap(value, endian); in byte_swap()
73 return byte_swap<value_type>(ret, endian); in read()
101 value = byte_swap<value_type>(value, endian); in write()
131 val[0] = byte_swap<value_type, endian>(val[0]); in readAtBitAlignment()
132 val[1] = byte_swap<value_type, endian>(val[1]); in readAtBitAlignment()
166 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
167 val[1] = byte_swap<value_type, endian>(val[1]); in writeAtBitAlignment()
195 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
[all …]
DEndianStream.h29 value = byte_swap<value_type>(value, endian); in write()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DEndian.h38 inline value_type byte_swap(value_type value) { in byte_swap() function
55 return byte_swap<value_type, endian>(ret); in read()
73 value = byte_swap<value_type, endian>(value); in write()
97 val[0] = byte_swap<value_type, endian>(val[0]); in readAtBitAlignment()
98 val[1] = byte_swap<value_type, endian>(val[1]); in readAtBitAlignment()
132 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
133 val[1] = byte_swap<value_type, endian>(val[1]); in writeAtBitAlignment()
161 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
162 val[1] = byte_swap<value_type, endian>(val[1]); in writeAtBitAlignment()
/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.h35 Val = byte_swap<value_type, endian>(Val); in write()
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h509 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash()
513 return support::endian::byte_swap<uint32_t, Endian>(DataSize); in getDataSize()
517 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef()
523 uint32_t NameS = support::endian::byte_swap<uint32_t, Endian>(NameSize); in getFuncName()
537 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash()
541 return support::endian::byte_swap<uint32_t, Endian>(DataSize); in getDataSize()
545 return support::endian::byte_swap<uint64_t, Endian>(NameRef); in getFuncNameRef()
562 return support::endian::byte_swap<uint32_t, Endian>(NRecords); in getNRecords()
565 return support::endian::byte_swap<uint32_t, Endian>(FilenamesSize); in getFilenamesSize()
568 return support::endian::byte_swap<uint32_t, Endian>(CoverageSize); in getCoverageSize()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h696 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash()
701 return support::endian::byte_swap<uint32_t, Endian>(DataSize); in getDataSize()
706 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef()
713 uint32_t NameS = support::endian::byte_swap<uint32_t, Endian>(NameSize); in getFuncName()
727 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash()
732 return support::endian::byte_swap<uint32_t, Endian>(DataSize); in getDataSize()
737 return support::endian::byte_swap<uint64_t, Endian>(NameRef); in getFuncNameRef()
755 return support::endian::byte_swap<uint32_t, Endian>(NRecords); in getNRecords()
759 return support::endian::byte_swap<uint32_t, Endian>(FilenamesSize); in getFilenamesSize()
763 return support::endian::byte_swap<uint32_t, Endian>(CoverageSize); in getCoverageSize()
[all …]
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp585 endian::byte_swap<uint64_t, little>(SummaryInLE->NumSummaryFields); in readSummary()
587 endian::byte_swap<uint64_t, little>(SummaryInLE->NumCutoffEntries); in readSummary()
596 Dst[I] = endian::byte_swap<uint64_t, little>(Src[I]); in readSummary()
638 uint64_t Magic = endian::byte_swap<uint64_t, little>(Header->Magic); in readHeader()
643 uint64_t FormatVersion = endian::byte_swap<uint64_t, little>(Header->Version); in readHeader()
652 endian::byte_swap<uint64_t, little>(Header->HashType)); in readHeader()
656 uint64_t HashOffset = endian::byte_swap<uint64_t, little>(Header->HashOffset); in readHeader()
DInstrProfWriter.cpp61 uint64_t Bytes = endian::byte_swap<uint64_t, little>(P[K].D[I]); in patch()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DInstrProfReader.cpp611 endian::byte_swap<uint64_t, little>(SummaryInLE->NumSummaryFields); in readSummary()
613 endian::byte_swap<uint64_t, little>(SummaryInLE->NumCutoffEntries); in readSummary()
622 Dst[I] = endian::byte_swap<uint64_t, little>(Src[I]); in readSummary()
665 uint64_t Magic = endian::byte_swap<uint64_t, little>(Header->Magic); in readHeader()
670 uint64_t FormatVersion = endian::byte_swap<uint64_t, little>(Header->Version); in readHeader()
679 endian::byte_swap<uint64_t, little>(Header->HashType)); in readHeader()
683 uint64_t HashOffset = endian::byte_swap<uint64_t, little>(Header->HashOffset); in readHeader()
DInstrProfWriter.cpp77 uint64_t Bytes = endian::byte_swap<uint64_t, little>(P[K].D[I]); in patch()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DRawByteChannel.h100 support::endian::byte_swap<T, support::big>(V); in serialize()
107 support::endian::byte_swap<T, support::big>(V); in deserialize()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DWindowsResourceDumper.cpp31 uint16_t ChValue = support::endian::byte_swap(Ch, support::little); in stripUTF16()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DRPCChannel.h113 support::endian::byte_swap<T, support::big>(V); in serialize()
128 support::endian::byte_swap<T, support::big>(V); in deserialize()
/external/llvm/unittests/MC/
DStringTableBuilderTest.cpp58 support::endian::byte_swap<uint32_t, support::little>(ExpectedSize); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/MC/
DStringTableBuilderTest.cpp63 support::endian::byte_swap<uint32_t, support::little>(ExpectedSize); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/Disassembler/
DWebAssemblyDisassembler.cpp100 support::endian::byte_swap<T, support::endianness::little>(Val); in parseFPImmediate()
/external/u-boot/arch/arm/include/asm/arch-tegra/
Ddc.h300 uint byte_swap; /* _WIN_BYTE_SWAP_0 */ member
/external/u-boot/drivers/video/
Dtegra.c55 clrsetbits_le32(&dc->win.byte_swap, BYTE_SWAP_MASK, in update_window()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DELFObjectWriter.cpp1201 uint16_t NumSections = support::endian::byte_swap<uint16_t>( in writeObject()
1210 support::endian::byte_swap<uint64_t>(SectionHeaderOffset, W.Endian); in writeObject()
1216 support::endian::byte_swap<uint32_t>(SectionHeaderOffset, W.Endian); in writeObject()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitstreamWriter.h71 Value = support::endian::byte_swap<uint32_t, support::little>(Value); in WriteWord()
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h71 Value = support::endian::byte_swap<uint32_t, support::little>(Value); in WriteWord()
/external/u-boot/drivers/video/tegra124/
Ddisplay.c276 writel(0x00000000, &disp_ctrl->win.byte_swap); in tegra_dc_init()
/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.cpp585 uint64_t Swapped = endian::byte_swap<uint64_t, little>(Working); in combine()