Home
last modified time | relevance | path

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

12345

/external/llvm-project/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h713 template <class FuncRecordTy, support::endianness Endian>
715 return support::endian::byte_swap<uint64_t, Endian>(Record->FuncHash); in getFuncHash()
719 template <class FuncRecordTy, support::endianness Endian>
721 return support::endian::byte_swap<uint32_t, Endian>(Record->DataSize); in getDataSize()
725 template <class FuncRecordTy, support::endianness Endian>
727 return support::endian::byte_swap<uint64_t, Endian>(Record->NameRef); in getFuncNameRef()
732 template <class FuncRecordTy, support::endianness Endian>
735 uint64_t NameRef = getFuncNameRef<FuncRecordTy, Endian>(Record); in getFuncNameViaRef()
743 template <class FuncRecordTy, support::endianness Endian>
746 return {MappingBuf, size_t(getDataSize<FuncRecordTy, Endian>(Record))}; in getCoverageMappingOutOfLine()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBinaryByteStream.h34 BinaryByteStream(ArrayRef<uint8_t> Data, llvm::support::endianness Endian) in BinaryByteStream() argument
35 : Endian(Endian), Data(Data) {} in BinaryByteStream()
36 BinaryByteStream(StringRef Data, llvm::support::endianness Endian) in BinaryByteStream() argument
37 : Endian(Endian), Data(Data.bytes_begin(), Data.bytes_end()) {} in BinaryByteStream()
39 llvm::support::endianness getEndian() const override { return Endian; } in getEndian()
67 llvm::support::endianness Endian;
78 llvm::support::endianness Endian) in MemoryBufferByteStream() argument
79 : BinaryByteStream(Buffer->getBuffer(), Endian), in MemoryBufferByteStream()
93 llvm::support::endianness Endian) in MutableBinaryByteStream() argument
94 : Data(Data), ImmutableStream(Data, Endian) {} in MutableBinaryByteStream()
[all …]
DEndianStream.h53 endianness Endian; member
54 Writer(raw_ostream &OS, endianness Endian) : OS(OS), Endian(Endian) {} in Writer()
56 endian::write(OS, Val, Endian); in write()
59 endian::write(OS, Val, Endian); in write()
DBinaryItemStream.h36 explicit BinaryItemStream(llvm::support::endianness Endian) in BinaryItemStream() argument
37 : Endian(Endian) {} in BinaryItemStream()
39 llvm::support::endianness getEndian() const override { return Endian; } in getEndian()
98 llvm::support::endianness Endian; variable
/external/llvm-project/llvm/include/llvm/Support/
DBinaryByteStream.h34 BinaryByteStream(ArrayRef<uint8_t> Data, llvm::support::endianness Endian) in BinaryByteStream() argument
35 : Endian(Endian), Data(Data) {} in BinaryByteStream()
36 BinaryByteStream(StringRef Data, llvm::support::endianness Endian) in BinaryByteStream() argument
37 : Endian(Endian), Data(Data.bytes_begin(), Data.bytes_end()) {} in BinaryByteStream()
39 llvm::support::endianness getEndian() const override { return Endian; } in getEndian()
67 llvm::support::endianness Endian;
78 llvm::support::endianness Endian) in MemoryBufferByteStream() argument
79 : BinaryByteStream(Buffer->getBuffer(), Endian), in MemoryBufferByteStream()
93 llvm::support::endianness Endian) in MutableBinaryByteStream() argument
94 : Data(Data), ImmutableStream(Data, Endian) {} in MutableBinaryByteStream()
[all …]
DEndianStream.h53 endianness Endian; member
54 Writer(raw_ostream &OS, endianness Endian) : OS(OS), Endian(Endian) {} in Writer()
56 endian::write(OS, Val, Endian); in write()
59 endian::write(OS, Val, Endian); in write()
DBinaryItemStream.h36 explicit BinaryItemStream(llvm::support::endianness Endian) in BinaryItemStream() argument
37 : Endian(Endian) {} in BinaryItemStream()
39 llvm::support::endianness getEndian() const override { return Endian; } in getEndian()
98 llvm::support::endianness Endian; variable
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DBinaryStreamRef.cpp19 ArrayRefImpl(ArrayRef<uint8_t> Data, endianness Endian) : BBS(Data, Endian) {} in ArrayRefImpl() argument
40 MutableArrayRefImpl(MutableArrayRef<uint8_t> Data, endianness Endian) in MutableArrayRefImpl() argument
41 : BBS(Data, Endian) {} in MutableArrayRefImpl()
72 BinaryStreamRef::BinaryStreamRef(ArrayRef<uint8_t> Data, endianness Endian) in BinaryStreamRef() argument
73 : BinaryStreamRefBase(std::make_shared<ArrayRefImpl>(Data, Endian), 0, in BinaryStreamRef()
75 BinaryStreamRef::BinaryStreamRef(StringRef Data, endianness Endian) in BinaryStreamRef() argument
77 Endian) {} in BinaryStreamRef()
112 endianness Endian) in WritableBinaryStreamRef() argument
113 : BinaryStreamRefBase(std::make_shared<MutableArrayRefImpl>(Data, Endian), in WritableBinaryStreamRef()
/external/llvm-project/llvm/lib/Support/
DBinaryStreamRef.cpp19 ArrayRefImpl(ArrayRef<uint8_t> Data, endianness Endian) : BBS(Data, Endian) {} in ArrayRefImpl() argument
40 MutableArrayRefImpl(MutableArrayRef<uint8_t> Data, endianness Endian) in MutableArrayRefImpl() argument
41 : BBS(Data, Endian) {} in MutableArrayRefImpl()
72 BinaryStreamRef::BinaryStreamRef(ArrayRef<uint8_t> Data, endianness Endian) in BinaryStreamRef() argument
73 : BinaryStreamRefBase(std::make_shared<ArrayRefImpl>(Data, Endian), 0, in BinaryStreamRef()
75 BinaryStreamRef::BinaryStreamRef(StringRef Data, endianness Endian) in BinaryStreamRef() argument
77 Endian) {} in BinaryStreamRef()
112 endianness Endian) in WritableBinaryStreamRef() argument
113 : BinaryStreamRefBase(std::make_shared<MutableArrayRefImpl>(Data, Endian), in WritableBinaryStreamRef()
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h508 template <support::endianness Endian> uint64_t getFuncHash() const { in getFuncHash()
509 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash()
512 template <support::endianness Endian> uint32_t getDataSize() const { in getDataSize()
513 return support::endian::byte_swap<uint32_t, Endian>(DataSize); in getDataSize()
516 template <support::endianness Endian> IntPtrT getFuncNameRef() const { in getFuncNameRef()
517 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef()
520 template <support::endianness Endian>
522 IntPtrT NameRef = getFuncNameRef<Endian>(); in getFuncName()
523 uint32_t NameS = support::endian::byte_swap<uint32_t, Endian>(NameSize); in getFuncName()
536 template <support::endianness Endian> uint64_t getFuncHash() const { in getFuncHash()
[all …]
/external/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
DBPFAsmBackend.cpp26 BPFAsmBackend(support::endianness Endian) : MCAsmBackend(Endian) {} in BPFAsmBackend() argument
56 support::endian::write<uint64_t>(OS, 0x15000000, Endian); in writeNopData()
72 Endian); in applyFixup()
74 support::endian::write<uint32_t>(&Data[Fixup.getOffset()], Value, Endian); in applyFixup()
76 support::endian::write<uint64_t>(&Data[Fixup.getOffset()], Value, Endian); in applyFixup()
79 if (Endian == support::little) { in applyFixup()
90 Endian); in applyFixup()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/MCTargetDesc/
DBPFAsmBackend.cpp26 BPFAsmBackend(support::endianness Endian) : MCAsmBackend(Endian) {} in BPFAsmBackend() argument
64 support::endian::write<uint64_t>(OS, 0x15000000, Endian); in writeNopData()
80 Endian); in applyFixup()
82 support::endian::write<uint32_t>(&Data[Fixup.getOffset()], Value, Endian); in applyFixup()
84 support::endian::write<uint64_t>(&Data[Fixup.getOffset()], Value, Endian); in applyFixup()
87 if (Endian == support::little) { in applyFixup()
98 Endian); in applyFixup()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h697 template <support::endianness Endian> uint64_t getFuncHash() const { in getFuncHash()
698 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash()
702 template <support::endianness Endian> uint32_t getDataSize() const { in getDataSize()
703 return support::endian::byte_swap<uint32_t, Endian>(DataSize); in getDataSize()
707 template <support::endianness Endian> IntPtrT getFuncNameRef() const { in getFuncNameRef()
708 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef()
712 template <support::endianness Endian>
714 IntPtrT NameRef = getFuncNameRef<Endian>(); in getFuncName()
715 uint32_t NameS = support::endian::byte_swap<uint32_t, Endian>(NameSize); in getFuncName()
728 template <support::endianness Endian> uint64_t getFuncHash() const { in getFuncHash()
[all …]
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp363 template <class IntPtrT, support::endianness Endian>
372 support::endianness Endian>
394 uint64_t FuncHash = CFR->template getFuncHash<Endian>(); in insertFunctionRecordIfNeeded()
395 NameRefType NameRef = CFR->template getFuncNameRef<Endian>(); in insertFunctionRecordIfNeeded()
400 if (Error Err = CFR->template getFuncName<Endian>(ProfileNames, FuncName)) in insertFunctionRecordIfNeeded()
443 uint32_t NRecords = CovHeader->getNRecords<Endian>(); in readFunctionRecords()
444 uint32_t FilenamesSize = CovHeader->getFilenamesSize<Endian>(); in readFunctionRecords()
445 uint32_t CoverageSize = CovHeader->getCoverageSize<Endian>(); in readFunctionRecords()
446 assert((CovMapVersion)CovHeader->getVersion<Endian>() == Version); in readFunctionRecords()
477 uint32_t DataSize = CFR->template getDataSize<Endian>(); in readFunctionRecords()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCAsmBackend.cpp25 MCAsmBackend::MCAsmBackend(support::endianness Endian) : Endian(Endian) {} in MCAsmBackend() argument
35 Endian == support::little); in createObjectWriter()
38 OS, Endian == support::little); in createObjectWriter()
60 OS, DwoOS, Endian == support::little); in createDwoObjectWriter()
/external/llvm-project/llvm/lib/MC/
DMCAsmBackend.cpp25 MCAsmBackend::MCAsmBackend(support::endianness Endian) : Endian(Endian) {} in MCAsmBackend() argument
35 Endian == support::little); in createObjectWriter()
38 OS, Endian == support::little); in createObjectWriter()
61 Endian == support::little); in createDwoObjectWriter()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp398 template <class IntPtrT, support::endianness Endian>
406 template <CovMapVersion Version, class IntPtrT, support::endianness Endian>
427 uint64_t FuncHash = CFR->template getFuncHash<Endian>(); in insertFunctionRecordIfNeeded()
428 NameRefType NameRef = CFR->template getFuncNameRef<Endian>(); in insertFunctionRecordIfNeeded()
433 if (Error Err = CFR->template getFuncName<Endian>(ProfileNames, FuncName)) in insertFunctionRecordIfNeeded()
480 uint32_t NRecords = CovHeader->getNRecords<Endian>(); in readFunctionRecords()
481 uint32_t FilenamesSize = CovHeader->getFilenamesSize<Endian>(); in readFunctionRecords()
482 uint32_t CoverageSize = CovHeader->getCoverageSize<Endian>(); in readFunctionRecords()
483 assert((CovMapVersion)CovHeader->getVersion<Endian>() == Version); in readFunctionRecords()
514 uint32_t DataSize = CFR->template getDataSize<Endian>(); in readFunctionRecords()
[all …]
/external/llvm-project/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp484 template <class IntPtrT, support::endianness Endian>
492 template <CovMapVersion Version, class IntPtrT, support::endianness Endian>
519 uint64_t FuncHash = CFR->template getFuncHash<Endian>(); in insertFunctionRecordIfNeeded()
520 NameRefType NameRef = CFR->template getFuncNameRef<Endian>(); in insertFunctionRecordIfNeeded()
525 if (Error Err = CFR->template getFuncName<Endian>(ProfileNames, FuncName)) in insertFunctionRecordIfNeeded()
575 uint32_t NRecords = CovHeader->getNRecords<Endian>(); in readCoverageHeader()
576 uint32_t FilenamesSize = CovHeader->getFilenamesSize<Endian>(); in readCoverageHeader()
577 uint32_t CoverageSize = CovHeader->getCoverageSize<Endian>(); in readCoverageHeader()
578 assert((CovMapVersion)CovHeader->getVersion<Endian>() == Version); in readCoverageHeader()
663 CFR->template advanceByOne<Endian>(OutOfLineMappingBuf); in readFunctionRecords()
[all …]
/external/piex/src/
Dtiff_parser.h112 const tiff_directory::Endian& endian, std::uint16_t* value);
118 const tiff_directory::Endian& endian, std::uint32_t* value);
129 tiff_directory::Endian* endian);
150 const tiff_directory::Endian endian,
200 tiff_directory::Endian endian_;
/external/llvm-project/llvm/unittests/Support/
DEndianTest.cpp21 TEST(Endian, Read) { in TEST() argument
34 TEST(Endian, ReadBitAligned) { in TEST() argument
71 TEST(Endian, WriteBitAligned) { in TEST() argument
166 TEST(Endian, Write) { in TEST() argument
191 TEST(Endian, PackedEndianSpecificIntegral) { in TEST() argument
203 TEST(Endian, PacketEndianSpecificIntegralAsEnum) { in TEST() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp178 return (Endian == support::little ? InfosLE in getFixupKindInfo()
358 support::endian::write(OS, nopEncoding, Endian); in writeNopData()
368 support::endian::write(OS, nopEncoding, Endian); in writeNopData()
476 return swapHalfWords(Value, Endian == support::little); in adjustFixupValue()
499 return swapHalfWords(Value, Endian == support::little); in adjustFixupValue()
532 return swapHalfWords(out, Endian == support::little); in adjustFixupValue()
569 return swapHalfWords(out, Endian == support::little); in adjustFixupValue()
587 return swapHalfWords(out, Endian == support::little); in adjustFixupValue()
623 return joinHalfWords(FirstHalf, SecondHalf, Endian == support::little); in adjustFixupValue()
659 return joinHalfWords(FirstHalf, SecondHalf, Endian == support::little); in adjustFixupValue()
[all …]
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp186 return (Endian == support::little ? InfosLE in getFixupKindInfo()
366 support::endian::write(OS, nopEncoding, Endian); in writeNopData()
376 support::endian::write(OS, nopEncoding, Endian); in writeNopData()
483 return swapHalfWords(Value, Endian == support::little); in adjustFixupValue()
506 return swapHalfWords(Value, Endian == support::little); in adjustFixupValue()
539 return swapHalfWords(out, Endian == support::little); in adjustFixupValue()
576 return swapHalfWords(out, Endian == support::little); in adjustFixupValue()
594 return swapHalfWords(out, Endian == support::little); in adjustFixupValue()
630 return joinHalfWords(FirstHalf, SecondHalf, Endian == support::little); in adjustFixupValue()
666 return joinHalfWords(FirstHalf, SecondHalf, Endian == support::little); in adjustFixupValue()
[all …]
/external/llvm-project/lldb/unittests/tools/lldb-server/tests/
DMessageObjects.cpp206 llvm::support::endianness Endian, in parseRegisterValue() argument
221 Endian == support::little ? eByteOrderLittle : eByteOrderBig, ST); in parseRegisterValue()
229 StopReply::create(StringRef Response, llvm::support::endianness Endian, in create() argument
234 return StopReplyStop::create(Response, Endian, RegInfos); in create()
242 support::endianness Endian, ArrayRef<lldb_private::RegisterInfo> RegInfos) { in parseRegisters() argument
259 auto RegValOr = parseRegisterValue(RegInfos[Reg], Val[0], Endian); in parseRegisters()
268 StopReplyStop::create(StringRef Response, support::endianness Endian, in create() argument
312 auto PcOr = parseRegisterValue(*PcInfo, std::get<1>(ThreadPc), Endian, in create()
319 auto RegistersOr = parseRegisters(Elements, Endian, RegInfos); in create()
/external/llvm/unittests/Support/
DEndianTest.cpp22 TEST(Endian, Read) { in TEST() argument
35 TEST(Endian, ReadBitAligned) { in TEST() argument
72 TEST(Endian, WriteBitAligned) { in TEST() argument
167 TEST(Endian, Write) { in TEST() argument
192 TEST(Endian, PackedEndianSpecificIntegral) { in TEST() argument
/external/piex/src/tiff_directory/
Dtiff_directory.h31 enum Endian { enum
70 explicit TiffDirectory(Endian endianness);
148 Endian endian_;

12345