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

References

include/llvm/BinaryFormat/MsgPack.h
   24 constexpr support::endianness Endianness = support::big;
include/llvm/ExecutionEngine/Orc/RawByteChannel.h
   99     support::endian::byte_swap<T, support::big>(V);
  106     support::endian::byte_swap<T, support::big>(V);
include/llvm/MC/MCMachObjectWriter.h
  129         W(OS, IsLittleEndian ? support::little : support::big) {}
include/llvm/Object/ELFTypes.h
   95 using ELF32BE = ELFType<support::big, false>;
   97 using ELF64BE = ELFType<support::big, true>;
include/llvm/ProfileData/InstrProf.h
  923   return sys::IsLittleEndianHost ? support::little : support::big;
include/llvm/ProfileData/InstrProfReader.h
  246       return support::big;
include/llvm/Support/Endian.h
   47   return sys::IsBigEndianHost ? big : little;
  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>;
  314     detail::packed_endian_specific_integral<uint16_t, big, aligned>;
  316     detail::packed_endian_specific_integral<uint32_t, big, aligned>;
  318     detail::packed_endian_specific_integral<uint64_t, big, aligned>;
  321     detail::packed_endian_specific_integral<int16_t, big, aligned>;
  323     detail::packed_endian_specific_integral<int32_t, big, aligned>;
  325     detail::packed_endian_specific_integral<int64_t, big, aligned>;
  344 using big_t = detail::packed_endian_specific_integral<T, big, unaligned>;
  350 using aligned_big_t = detail::packed_endian_specific_integral<T, big, aligned>;
  385 inline uint16_t read16be(const void *P) { return read16<big>(P); }
  386 inline uint32_t read32be(const void *P) { return read32<big>(P); }
  387 inline uint64_t read64be(const void *P) { return read64<big>(P); }
  420 inline void write16be(void *P, uint16_t V) { write16<big>(P, V); }
  421 inline void write32be(void *P, uint32_t V) { write32<big>(P, V); }
  422 inline void write64be(void *P, uint64_t V) { write64<big>(P, V); }
lib/DebugInfo/GSYM/GsymReader.cpp
   80       Endian = sys::IsBigEndianHost ? support::little : support::big;
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
   87   return Obj.isLittleEndian() ? support::little : support::big;
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
   38   isBE ? write<T, support::big>(P, V) : write<T, support::little>(P, V);
lib/MC/ELFObjectWriter.cpp
  169         W(OS, IsLittleEndian ? support::little : support::big), Mode(Mode) {}
  862   support::endian::write(W.OS, Size, support::big);
lib/MC/MCDwarf.cpp
 1910       Context.getAsmInfo()->isLittleEndian() ? support::little : support::big;
lib/MC/XCOFFObjectWriter.cpp
  223     : W(OS, support::big), TargetObjectWriter(std::move(MOTW)),
lib/Object/ArchiveWriter.cpp
  147                          isBSDLike(Kind) ? support::little : support::big);
lib/ProfileData/Coverage/CoverageMappingReader.cpp
  601   } else if (BytesInAddress == 4 && Endian == support::endianness::big) {
  602     if (Error E = readCoverageMappingData<uint32_t, support::endianness::big>(
  612   } else if (BytesInAddress == 8 && Endian == support::endianness::big) {
  613     if (Error E = readCoverageMappingData<uint64_t, support::endianness::big>(
  703                                    : support::endianness::big;
lib/ProfileData/InstrProf.cpp
  847     return endian::readNext<T, big, unaligned>(D);
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
   40       : MCAsmBackend(IsLittleEndian ? support::little : support::big),
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
 1051   if (Endian == support::big) {
 1343   return createARMAsmBackend(T, STI, MRI, Options, support::big);
lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
  118   return new BPFAsmBackend(support::big);
lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
  126                               IsLittleEndian ? support::little : support::big);
lib/Target/Lanai/MCTargetDesc/LanaiAsmBackend.cpp
   49       : MCAsmBackend(support::big), OSType(OST) {}
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h
   37       : MCAsmBackend(TT.isLittleEndian() ? support::little : support::big),
lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
   83       : MCAsmBackend(TT.isLittleEndian() ? support::little : support::big),
lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
  292   support::endianness E = IsLittleEndian ? support::little : support::big;
lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
  125                                                            : support::big),
lib/Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp
  103                                                             : support::big);
lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp
   46       : MCAsmBackend(support::big), OSABI(osABI) {}
tools/lld/ELF/Driver.cpp
 1100   config->endianness = config->isLE ? endianness::little : endianness::big;
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp
   47     process_info.m_endian = support::big;
   87         parseRegisterValue(RegInfos[Register], ValueStr, support::big);
tools/llvm-jitlink/llvm-jitlink.cpp
  741       S.TT.isLittleEndian() ? support::little : support::big,
tools/llvm-objcopy/ELF/Object.cpp
 1695       ELFT::TargetEndianness == support::big ? ELFDATA2MSB : ELFDATA2LSB;
 2214                            support::big);
 2218                            support::big);
tools/llvm-objdump/llvm-objdump.cpp
 1051       Obj->isLittleEndian() ? support::little : support::big;
tools/llvm-readobj/COFFDumper.cpp
 1912         W, StackMapParser<support::big>(StackMapContentsArray));
tools/llvm-readobj/MachODumper.cpp
  692         W, StackMapParser<support::big>(StackMapContentsArray));
tools/llvm-rtdyld/llvm-rtdyld.cpp
  923           GetStubInfo, Obj.isLittleEndian() ? support::little : support::big,
unittests/DebugInfo/GSYM/GSYMTest.cpp
  291   TestFunctionInfoEncodeDecode(llvm::support::big, FI);
  298   TestFunctionInfoEncodeDecode(llvm::support::big, FILines);
  305   TestFunctionInfoEncodeDecode(llvm::support::big, FIInline);
  313   TestFunctionInfoEncodeDecode(llvm::support::big, FIBoth);
  454   TestInlineInfoEncodeDecode(llvm::support::big, Root);
  465   TestInlineInfoEncodeError(llvm::support::big, Empty, EmptyErr);
  473   TestInlineInfoEncodeError(llvm::support::big, ContainsEmpty, EmptyErr);
  485   TestInlineInfoEncodeError(llvm::support::big, ChildNotContained,
  730   TestFileWriterHelper(llvm::support::big);
  843   TestLineTableHelper(llvm::support::big, LT);
 1049   TestHeaderEncodeDecode(H, llvm::support::big);
 1164   TestEncodeDecode(GC, llvm::support::big,
 1190   TestEncodeDecode(GC, llvm::support::big,
 1216   TestEncodeDecode(GC, llvm::support::big,
 1242   TestEncodeDecode(GC, llvm::support::big,
unittests/ProfileData/InstrProfTest.cpp
  435   Writer.setValueProfDataEndianness(support::big);
  441   Reader->setValueProfDataEndianness(support::big);
unittests/Support/BinaryStreamTest.cpp
  105 constexpr endianness Endians[] = {big, little, native};
  887     MutableBinaryByteStream Stream(Buffer, llvm::support::big);
  893   BinaryItemStream<BinaryItemStreamObject> ItemStream(big);
unittests/Support/EndianStreamTest.cpp
   38     endian::Writer BE(OS, big);
   69     endian::Writer BE(OS, big);
  103     endian::Writer BE(OS, big);
  141     endian::Writer BE(OS, big);
unittests/Support/EndianTest.cpp
   26   EXPECT_EQ(BigAsHost, (endian::read<int32_t, big, unaligned>(bigval)));
   30   EXPECT_EQ((endian::read<int32_t, big, unaligned>(bigval + 1)),
   41   EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval[0], 6)),
   50   EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 4)),
   56   EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 1)),
   67       (endian::readAtBitAlignment<int64_t, big, unaligned>(&bigval3[0], 4)),
   75   endian::writeAtBitAlignment<int32_t, big, unaligned>(bigval, (int)0xffffaaaa,
  101   endian::writeAtBitAlignment<int32_t, big, unaligned>(bigval2, (int)0xffffffff,
  126   endian::writeAtBitAlignment<int64_t, big, unaligned>(
  168   endian::write<int32_t, big, unaligned>(data, -1362446643);
  173   endian::write<int32_t, big, unaligned>(data + 1, -1362446643);