|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Bitstream/BitstreamReader.h 175 support::endian::read<word_t, support::little, support::unaligned>(
include/llvm/Bitstream/BitstreamWriter.h 107 assert((!endian::readAtBitAlignment<uint32_t, little, unaligned>(
110 endian::writeAtBitAlignment<uint32_t, little, unaligned>(
include/llvm/ProfileData/InstrProfReader.h 328 offset_type KeyLen = endian::readNext<offset_type, little, unaligned>(D);
329 offset_type DataLen = endian::readNext<offset_type, little, unaligned>(D);
include/llvm/Support/BinaryStreamReader.h 83 Dest = llvm::support::endian::read<T, llvm::support::unaligned>(
include/llvm/Support/BinaryStreamWriter.h 68 llvm::support::endian::write<T, llvm::support::unaligned>(
include/llvm/Support/Endian.h 272 detail::packed_endian_specific_integral<uint16_t, little, unaligned>;
274 detail::packed_endian_specific_integral<uint32_t, little, unaligned>;
276 detail::packed_endian_specific_integral<uint64_t, little, unaligned>;
279 detail::packed_endian_specific_integral<int16_t, little, unaligned>;
281 detail::packed_endian_specific_integral<int32_t, little, unaligned>;
283 detail::packed_endian_specific_integral<int64_t, little, unaligned>;
300 detail::packed_endian_specific_integral<uint16_t, big, unaligned>;
302 detail::packed_endian_specific_integral<uint32_t, big, unaligned>;
304 detail::packed_endian_specific_integral<uint64_t, big, unaligned>;
307 detail::packed_endian_specific_integral<int16_t, big, unaligned>;
309 detail::packed_endian_specific_integral<int32_t, big, unaligned>;
311 detail::packed_endian_specific_integral<int64_t, big, unaligned>;
328 detail::packed_endian_specific_integral<uint16_t, native, unaligned>;
330 detail::packed_endian_specific_integral<uint32_t, native, unaligned>;
332 detail::packed_endian_specific_integral<uint64_t, native, unaligned>;
335 detail::packed_endian_specific_integral<int16_t, native, unaligned>;
337 detail::packed_endian_specific_integral<int32_t, native, unaligned>;
339 detail::packed_endian_specific_integral<int64_t, native, unaligned>;
342 using little_t = detail::packed_endian_specific_integral<T, little, unaligned>;
344 using big_t = detail::packed_endian_specific_integral<T, big, unaligned>;
355 return read<T, unaligned>(P, E);
359 return *(const detail::packed_endian_specific_integral<T, E, unaligned> *)P;
390 write<T, unaligned>(P, V, E);
394 *(detail::packed_endian_specific_integral<T, E, unaligned> *)P = V;
include/llvm/Support/MD5.h 69 return endian::read<uint64_t, little, unaligned>(Bytes.data());
74 return endian::read<uint64_t, little, unaligned>(Bytes.data() + 8);
include/llvm/Support/OnDiskHashTable.h 368 unsigned Len = endian::readNext<uint16_t, little, unaligned>(Items);
373 endian::readNext<hash_value_type, little, unaligned>(Items);
471 endian::readNext<uint16_t, little, unaligned>(Ptr);
lib/ObjectYAML/COFFEmitter.cpp 322 support::endian::write<value_type, support::little, support::unaligned>(
lib/ProfileData/InstrProf.cpp 845 return endian::readNext<T, little, unaligned>(D);
847 return endian::readNext<T, big, unaligned>(D);
lib/ProfileData/InstrProfReader.cpp 543 uint64_t Hash = endian::readNext<uint64_t, little, unaligned>(D);
551 CountsSize = endian::readNext<uint64_t, little, unaligned>(D);
560 CounterBuffer.push_back(endian::readNext<uint64_t, little, unaligned>(D));
lib/ProfileData/SampleProfReader.cpp 334 T Val = endian::readNext<T, little, unaligned>(Data);
lib/Remarks/YAMLRemarkParser.cpp 77 support::endian::read<uint64_t, support::little, support::unaligned>(
93 support::endian::read<uint64_t, support::little, support::unaligned>(
tools/clang/lib/Serialization/ASTReader.cpp 822 unsigned KeyLen = endian::readNext<uint16_t, little, unaligned>(d);
823 unsigned DataLen = endian::readNext<uint16_t, little, unaligned>(d);
832 unsigned N = endian::readNext<uint16_t, little, unaligned>(d);
834 F, endian::readNext<uint32_t, little, unaligned>(d));
844 F, endian::readNext<uint32_t, little, unaligned>(d)));
857 F, endian::readNext<uint32_t, little, unaligned>(d));
858 unsigned FullInstanceBits = endian::readNext<uint16_t, little, unaligned>(d);
859 unsigned FullFactoryBits = endian::readNext<uint16_t, little, unaligned>(d);
870 F, endian::readNext<uint32_t, little, unaligned>(d)))
877 F, endian::readNext<uint32_t, little, unaligned>(d)))
892 unsigned DataLen = endian::readNext<uint16_t, little, unaligned>(d);
893 unsigned KeyLen = endian::readNext<uint16_t, little, unaligned>(d);
923 unsigned RawID = endian::readNext<uint32_t, little, unaligned>(d);
941 unsigned RawID = endian::readNext<uint32_t, little, unaligned>(d);
964 unsigned ObjCOrBuiltinID = endian::readNext<uint16_t, little, unaligned>(d);
965 unsigned Bits = endian::readNext<uint16_t, little, unaligned>(d);
1001 endian::readNext<uint32_t, little, unaligned>(d);
1015 F, endian::readNext<uint32_t, little, unaligned>(d)));
1084 uint32_t ModuleFileID = endian::readNext<uint32_t, little, unaligned>(d);
1092 unsigned KeyLen = endian::readNext<uint16_t, little, unaligned>(d);
1093 unsigned DataLen = endian::readNext<uint16_t, little, unaligned>(d);
1108 F, endian::readNext<uint32_t, little, unaligned>(d));
1115 F, endian::readNext<uint32_t, little, unaligned>(
1139 uint32_t LocalID = endian::readNext<uint32_t, little, unaligned>(d);
1854 unsigned KeyLen = (unsigned) endian::readNext<uint16_t, little, unaligned>(d);
1864 ikey.Size = off_t(endian::readNext<uint64_t, little, unaligned>(d));
1865 ikey.ModTime = time_t(endian::readNext<uint64_t, little, unaligned>(d));
1886 HFI.NumIncludes = std::max(endian::readNext<uint16_t, little, unaligned>(d),
1889 M, endian::readNext<uint32_t, little, unaligned>(d));
1891 endian::readNext<uint32_t, little, unaligned>(d)) {
1901 uint32_t LocalSMID = endian::readNext<uint32_t, little, unaligned>(d);
3806 endian::readNext<uint8_t, little, unaligned>(Data));
3807 uint16_t Len = endian::readNext<uint16_t, little, unaligned>(Data);
3822 endian::readNext<uint32_t, little, unaligned>(Data);
3824 endian::readNext<uint32_t, little, unaligned>(Data);
3826 endian::readNext<uint32_t, little, unaligned>(Data);
3828 endian::readNext<uint32_t, little, unaligned>(Data);
3830 endian::readNext<uint32_t, little, unaligned>(Data);
3832 endian::readNext<uint32_t, little, unaligned>(Data);
3834 endian::readNext<uint32_t, little, unaligned>(Data);
3836 endian::readNext<uint32_t, little, unaligned>(Data);
tools/clang/lib/Serialization/GlobalModuleIndex.cpp 92 unsigned KeyLen = endian::readNext<uint16_t, little, unaligned>(d);
93 unsigned DataLen = endian::readNext<uint16_t, little, unaligned>(d);
114 unsigned ID = endian::readNext<uint32_t, little, unaligned>(d);
523 unsigned RawID = endian::readNext<uint32_t, little, unaligned>(d);
tools/clang/lib/Serialization/MultiOnDiskHashTable.h 202 uint32_t BucketOffset = endian::readNext<uint32_t, little, unaligned>(Ptr);
205 uint32_t NumFiles = endian::readNext<uint32_t, little, unaligned>(Ptr);
tools/llvm-objdump/MachODump.cpp 7761 support::endian::read<T, little, unaligned>(Contents.data() + Offset);
tools/llvm-pdbutil/FormatUtil.h 119 T, support::little, support::unaligned>> {
122 support::unaligned>;
136 support::unaligned>
tools/llvm-rc/ResourceFileWriter.h 181 support::unaligned>
unittests/Support/EndianTest.cpp 26 EXPECT_EQ(BigAsHost, (endian::read<int32_t, big, unaligned>(bigval)));
28 EXPECT_EQ(LittleAsHost,(endian::read<int32_t, little, unaligned>(littleval)));
30 EXPECT_EQ((endian::read<int32_t, big, unaligned>(bigval + 1)),
31 (endian::read<int32_t, little, unaligned>(littleval + 1)));
39 (endian::readAtBitAlignment<int, little, unaligned>(&littleval[0], 6)),
41 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval[0], 6)),
48 (endian::readAtBitAlignment<int, little, unaligned>(&littleval2[0], 4)),
50 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 4)),
54 (endian::readAtBitAlignment<int, little, unaligned>(&littleval2[0], 1)),
56 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 1)),
63 EXPECT_EQ((endian::readAtBitAlignment<int64_t, little, unaligned>(
67 (endian::readAtBitAlignment<int64_t, big, unaligned>(&bigval3[0], 4)),
75 endian::writeAtBitAlignment<int32_t, big, unaligned>(bigval, (int)0xffffaaaa,
87 endian::writeAtBitAlignment<int32_t, little, unaligned>(littleval,
101 endian::writeAtBitAlignment<int32_t, big, unaligned>(bigval2, (int)0xffffffff,
113 endian::writeAtBitAlignment<int32_t, little, unaligned>(littleval2,
126 endian::writeAtBitAlignment<int64_t, big, unaligned>(
146 endian::writeAtBitAlignment<int64_t, little, unaligned>(
168 endian::write<int32_t, big, unaligned>(data, -1362446643);
173 endian::write<int32_t, big, unaligned>(data + 1, -1362446643);
179 endian::write<int32_t, little, unaligned>(data, -1362446643);
184 endian::write<int32_t, little, unaligned>(data + 1, -1362446643);
unittests/Support/YAMLIOTest.cpp 484 float, llvm::support::little, llvm::support::unaligned>
487 double, llvm::support::little, llvm::support::unaligned>