Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
DDWARFEmitter.cpp39 static void writeInteger(T Integer, raw_ostream &OS, bool IsLittleEndian) { in writeInteger() argument
40 if (IsLittleEndian != sys::IsLittleEndianHost) in writeInteger()
46 raw_ostream &OS, bool IsLittleEndian) { in writeVariableSizedInteger() argument
48 writeInteger((uint64_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
50 writeInteger((uint32_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
52 writeInteger((uint16_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
54 writeInteger((uint8_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
66 raw_ostream &OS, bool IsLittleEndian) { in writeInitialLength() argument
67 writeInteger((uint32_t)Length.TotalLength, OS, IsLittleEndian); in writeInitialLength()
69 writeInteger((uint64_t)Length.TotalLength64, OS, IsLittleEndian); in writeInitialLength()
[all …]
/external/llvm/lib/Target/BPF/MCTargetDesc/
DBPFAsmBackend.cpp28 bool IsLittleEndian; member in __anon2d2cab3e0111::BPFAsmBackend
30 BPFAsmBackend(bool IsLittleEndian) in BPFAsmBackend() argument
31 : MCAsmBackend(), IsLittleEndian(IsLittleEndian) {} in BPFAsmBackend()
76 unsigned Idx = IsLittleEndian ? i : Size - i; in applyFixup()
82 if (IsLittleEndian) { in applyFixup()
93 return createBPFELFObjectWriter(OS, 0, IsLittleEndian); in createObjectWriter()
DBPFMCCodeEmitter.cpp34 bool IsLittleEndian; member in __anonf7c19bba0111::BPFMCCodeEmitter
37 BPFMCCodeEmitter(const MCRegisterInfo &mri, bool IsLittleEndian) in BPFMCCodeEmitter() argument
38 : MRI(mri), IsLittleEndian(IsLittleEndian) {} in BPFMCCodeEmitter()
118 if (IsLittleEndian) in encodeInstruction()
123 if (IsLittleEndian) in encodeInstruction()
133 if (IsLittleEndian) in encodeInstruction()
141 if (IsLittleEndian) { in encodeInstruction()
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCAsmBackend.cpp77 bool IsLittleEndian; member in __anona005f9910111::PPCAsmBackend
80 IsLittleEndian(isLittle) {} in PPCAsmBackend()
113 return (IsLittleEndian? InfosLE : InfosBE)[Kind - FirstTargetFixupKind]; in getFixupKindInfo()
128 unsigned Idx = IsLittleEndian ? i : (NumBytes - 1 - i); in applyFixup()
195 return IsLittleEndian; in isLittleEndian()
220 ELFPPCAsmBackend(const Target &T, bool IsLittleEndian, uint8_t OSABI) : in ELFPPCAsmBackend() argument
221 PPCAsmBackend(T, IsLittleEndian), OSABI(OSABI) { } in ELFPPCAsmBackend()
238 bool IsLittleEndian = TT.getArch() == Triple::ppc64le; in createPPCAsmBackend() local
239 return new ELFPPCAsmBackend(T, IsLittleEndian, OSABI); in createPPCAsmBackend()
/external/llvm/include/llvm/MC/
DMCObjectWriter.h47 unsigned IsLittleEndian : 1;
50 MCObjectWriter(raw_pwrite_stream &OS, bool IsLittleEndian) in MCObjectWriter() argument
51 : OS(&OS), IsLittleEndian(IsLittleEndian) {} in MCObjectWriter()
63 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian()
154 if (IsLittleEndian) in write16()
161 if (IsLittleEndian) in write32()
168 if (IsLittleEndian) in write64()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DDataExtractor.h27 uint32_t getAsUint32(bool IsLittleEndian) const { in getAsUint32()
28 int LoIx = IsLittleEndian ? 0 : 2; in getAsUint32()
43 uint8_t IsLittleEndian; variable
51 DataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize) in DataExtractor() argument
52 : Data(Data), IsLittleEndian(IsLittleEndian), AddressSize(AddressSize) {} in DataExtractor()
57 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLoc.cpp33 bool IsLittleEndian, unsigned AddressSize, in dumpExpression() argument
36 IsLittleEndian, AddressSize); in dumpExpression()
40 void DWARFDebugLoc::LocationList::dump(raw_ostream &OS, bool IsLittleEndian, in dump() argument
54 dumpExpression(OS, E.Loc, IsLittleEndian, AddressSize, MRI); in dump()
72 L.dump(OS, IsLittleEndian, AddressSize, MRI, 0, 12); in dump()
133 IsLittleEndian = data.isLittleEndian(); in parse()
178 IsLittleEndian = data.isLittleEndian(); in parse()
200 void DWARFDebugLocDWO::LocationList::dump(raw_ostream &OS, bool IsLittleEndian, in dump() argument
208 dumpExpression(OS, E.Loc, IsLittleEndian, AddressSize, MRI); in dump()
216 L.dump(OS, IsLittleEndian, AddressSize, MRI, /*Indent=*/12); in dump()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DDataExtractor.cpp51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU8()
56 return getUs<uint8_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU8()
62 return getU<uint16_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU16()
67 return getUs<uint16_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU16()
73 getU<uint24_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU24()
79 return getU<uint32_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU32()
84 return getUs<uint32_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU32()
89 return getU<uint64_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU64()
94 return getUs<uint64_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU64()
/external/swiftshader/third_party/LLVM/lib/Support/
DDataExtractor.cpp51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU8()
56 return getUs<uint8_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU8()
62 return getU<uint16_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU16()
67 return getUs<uint16_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU16()
72 return getU<uint32_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU32()
77 return getUs<uint32_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU32()
82 return getU<uint64_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU64()
87 return getUs<uint64_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU64()
/external/llvm/lib/Support/
DDataExtractor.cpp51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU8()
56 return getUs<uint8_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU8()
62 return getU<uint16_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU16()
67 return getUs<uint16_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU16()
72 return getU<uint32_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU32()
77 return getUs<uint32_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU32()
82 return getU<uint64_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU64()
87 return getUs<uint64_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU64()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2macho.cpp88 if (Obj.IsLittleEndian != sys::IsLittleEndianHost) in writeHeader()
117 bool IsLittleEndian) { in writeLoadCommandData() argument
124 bool IsLittleEndian) { in writeLoadCommandData() argument
128 if (IsLittleEndian != sys::IsLittleEndianHost) in writeLoadCommandData()
139 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() argument
144 if (IsLittleEndian != sys::IsLittleEndianHost) in writeLoadCommandData()
165 bool IsLittleEndian) { in writeLoadCommandData() argument
172 bool IsLittleEndian) { in writeLoadCommandData() argument
179 bool IsLittleEndian) { in writeLoadCommandData() argument
185 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() argument
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DBinaryObject.h31 bool IsLittleEndian; variable
41 : IsLittleEndian(isLittleEndian), Is64Bit(is64Bit) {} in BinaryObject()
44 : Name(name), IsLittleEndian(isLittleEndian), Is64Bit(is64Bit) {} in BinaryObject()
87 if (IsLittleEndian) in emitWord16()
119 if (IsLittleEndian) in emitWord32()
128 if (IsLittleEndian) in emitWord64()
137 if (IsLittleEndian) { in emitWordFP80()
201 if (IsLittleEndian) in fixWord16()
233 if (IsLittleEndian) in fixWord32()
260 if (IsLittleEndian) in fixWord64()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/MCTargetDesc/
DBPFMCCodeEmitter.cpp36 bool IsLittleEndian; member in __anon48388f120111::BPFMCCodeEmitter
40 bool IsLittleEndian) in BPFMCCodeEmitter() argument
41 : MCII(mcii), MRI(mri), IsLittleEndian(IsLittleEndian) {} in BPFMCCodeEmitter()
126 IsLittleEndian ? support::little : support::big); in encodeInstruction()
131 if (IsLittleEndian) in encodeInstruction()
148 if (IsLittleEndian) in encodeInstruction()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DDataExtractor.h19 uint8_t IsLittleEndian; variable
27 DataExtractor(StringRef Data, bool IsLittleEndian, uint8_t PointerSize) in DataExtractor() argument
28 : Data(Data), IsLittleEndian(IsLittleEndian), PointerSize(PointerSize) {} in DataExtractor()
33 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCObjectWriter.h47 unsigned IsLittleEndian : 1; variable
51 : OS(_OS), IsLittleEndian(_IsLittleEndian) {} in MCObjectWriter()
56 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian()
149 if (IsLittleEndian) in Write16()
156 if (IsLittleEndian) in Write32()
163 if (IsLittleEndian) in Write64()
/external/llvm/include/llvm/Support/
DDataExtractor.h19 uint8_t IsLittleEndian; variable
27 DataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize) in DataExtractor() argument
28 : Data(Data), IsLittleEndian(IsLittleEndian), AddressSize(AddressSize) {} in DataExtractor()
33 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian()
/external/flatbuffers/net/FlatBuffers/
DByteBuffer.cs328 if (BitConverter.IsLittleEndian) in WriteLittleEndian()
348 if (BitConverter.IsLittleEndian) in ReadLittleEndian()
460 *(ushort*)(ptr + offset) = BitConverter.IsLittleEndian in PutUshort()
481 *(uint*)(ptr + offset) = BitConverter.IsLittleEndian in PutUint()
502 *(ulong*)(ptr + offset) = BitConverter.IsLittleEndian in PutUlong()
518 if (BitConverter.IsLittleEndian) in PutFloat()
538 if (BitConverter.IsLittleEndian) in PutDouble()
661 return BitConverter.IsLittleEndian in GetUshort()
682 return BitConverter.IsLittleEndian in GetUint()
703 return BitConverter.IsLittleEndian in GetUlong()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDataExtractor.h29 bool IsLittleEndian, uint8_t AddressSize) in DWARFDataExtractor() argument
30 : DataExtractor(Section.Data, IsLittleEndian, AddressSize), Obj(&Obj), in DWARFDataExtractor()
34 DWARFDataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize) in DWARFDataExtractor() argument
35 : DataExtractor(Data, IsLittleEndian, AddressSize) {} in DWARFDataExtractor()
DDWARFDebugLoc.h44 void dump(raw_ostream &OS, bool IsLittleEndian, unsigned AddressSize,
58 bool IsLittleEndian; variable
87 void dump(raw_ostream &OS, bool IsLittleEndian, unsigned AddressSize,
98 bool IsLittleEndian; variable
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp158 return (IsLittleEndian ? InfosLE : InfosBE)[Kind - FirstTargetFixupKind]; in getFixupKindInfo()
333 static uint32_t swapHalfWords(uint32_t Value, bool IsLittleEndian) { in swapHalfWords() argument
334 if (IsLittleEndian) { in swapHalfWords()
345 bool IsLittleEndian) { in joinHalfWords() argument
348 if (IsLittleEndian) { in joinHalfWords()
361 bool IsLittleEndian, in adjustFixupValue() argument
401 return swapHalfWords(Value, IsLittleEndian); in adjustFixupValue()
424 return swapHalfWords(Value, IsLittleEndian); in adjustFixupValue()
457 return swapHalfWords(out, IsLittleEndian); in adjustFixupValue()
489 return swapHalfWords(out, IsLittleEndian); in adjustFixupValue()
[all …]
DARMAsmBackend.h24 bool IsLittleEndian; // Big or little endian. variable
29 IsLittleEndian(IsLittle) {} in ARMAsmBackend()
49 MCContext *Ctx, bool IsLittleEndian,
76 bool isLittle() const { return IsLittleEndian; } in isLittle()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcAsmBackend.cpp103 bool IsLittleEndian; member in __anonb6f0ad600111::SparcAsmBackend
109 IsLittleEndian(StringRef(TheTarget.getName()) == "sparcel"), in SparcAsmBackend()
200 if (IsLittleEndian) in getFixupKindInfo()
288 unsigned Idx = IsLittleEndian ? i : 3 - i; in applyFixup()
295 return createSparcELFObjectWriter(OS, Is64Bit, IsLittleEndian, OSABI); in createObjectWriter()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/Disassembler/
DBPFDisassembler.cpp142 bool IsLittleEndian) { in readInstruction64() argument
151 if (IsLittleEndian) { in readInstruction64()
169 bool IsLittleEndian = getContext().getAsmInfo()->isLittleEndian(); in getInstruction() local
173 Result = readInstruction64(Bytes, Address, Size, Insn, IsLittleEndian); in getInstruction()
197 if (IsLittleEndian) in getInstruction()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp33 bool IsLittleEndian; member in __anon9b593f800111::AArch64AsmBackend
36 AArch64AsmBackend(const Target &T, bool IsLittleEndian) in AArch64AsmBackend() argument
37 : MCAsmBackend(), IsLittleEndian(IsLittleEndian) {} in AArch64AsmBackend()
228 if (IsLittleEndian) in getFixupKindContainereSizeInBytes()
533 ELFAArch64AsmBackend(const Target &T, uint8_t OSABI, bool IsLittleEndian) in ELFAArch64AsmBackend() argument
534 : AArch64AsmBackend(T, IsLittleEndian), OSABI(OSABI) {} in ELFAArch64AsmBackend()
537 return createAArch64ELFObjectWriter(OS, OSABI, IsLittleEndian); in createObjectWriter()
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFContext.h27 bool IsLittleEndian; variable
40 DWARFContext(bool isLittleEndian) : IsLittleEndian(isLittleEndian) {} in DWARFContext()
71 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian()

123456