/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
D | DWARFEmitter.cpp | 38 static void writeInteger(T Integer, raw_ostream &OS, bool IsLittleEndian) { in writeInteger() argument 39 if (IsLittleEndian != sys::IsLittleEndianHost) in writeInteger() 45 raw_ostream &OS, bool IsLittleEndian) { in writeVariableSizedInteger() argument 47 writeInteger((uint64_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger() 49 writeInteger((uint32_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger() 51 writeInteger((uint16_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger() 53 writeInteger((uint8_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger() 65 raw_ostream &OS, bool IsLittleEndian) { in writeInitialLength() argument 66 writeInteger((uint32_t)Length.TotalLength, OS, IsLittleEndian); in writeInitialLength() 68 writeInteger((uint64_t)Length.TotalLength64, OS, IsLittleEndian); in writeInitialLength() [all …]
|
D | MachOEmitter.cpp | 82 if (Obj.IsLittleEndian != sys::IsLittleEndianHost) in writeHeader() 109 bool IsLittleEndian) { in writeLoadCommandData() argument 116 bool IsLittleEndian) { in writeLoadCommandData() argument 120 if (IsLittleEndian != sys::IsLittleEndianHost) in writeLoadCommandData() 131 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() argument 136 if (IsLittleEndian != sys::IsLittleEndianHost) in writeLoadCommandData() 157 bool IsLittleEndian) { in writeLoadCommandData() argument 164 bool IsLittleEndian) { in writeLoadCommandData() argument 171 bool IsLittleEndian) { in writeLoadCommandData() argument 177 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() argument [all …]
|
/external/llvm-project/llvm/lib/ObjectYAML/ |
D | DWARFEmitter.cpp | 42 static void writeInteger(T Integer, raw_ostream &OS, bool IsLittleEndian) { in writeInteger() argument 43 if (IsLittleEndian != sys::IsLittleEndianHost) in writeInteger() 49 raw_ostream &OS, bool IsLittleEndian) { in writeVariableSizedInteger() argument 51 writeInteger((uint64_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger() 53 writeInteger((uint32_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger() 55 writeInteger((uint16_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger() 57 writeInteger((uint8_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger() 73 bool IsLittleEndian) { in writeInitialLength() argument 77 IsLittleEndian)); in writeInitialLength() 79 writeVariableSizedInteger(Length, IsDWARF64 ? 8 : 4, OS, IsLittleEndian)); in writeInitialLength() [all …]
|
D | MachOEmitter.cpp | 93 if (Obj.IsLittleEndian != sys::IsLittleEndianHost) in writeHeader() 120 bool IsLittleEndian) { in writeLoadCommandData() argument 127 bool IsLittleEndian) { in writeLoadCommandData() argument 131 if (IsLittleEndian != sys::IsLittleEndianHost) in writeLoadCommandData() 142 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() argument 147 if (IsLittleEndian != sys::IsLittleEndianHost) in writeLoadCommandData() 168 bool IsLittleEndian) { in writeLoadCommandData() argument 175 bool IsLittleEndian) { in writeLoadCommandData() argument 182 bool IsLittleEndian) { in writeLoadCommandData() argument 188 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() argument [all …]
|
/external/llvm/lib/Target/BPF/MCTargetDesc/ |
D | BPFAsmBackend.cpp | 28 bool IsLittleEndian; member in __anon129b3e1c0111::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()
|
D | BPFMCCodeEmitter.cpp | 34 bool IsLittleEndian; member in __anon5ef8a9d80111::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/include/llvm/MC/ |
D | MCObjectWriter.h | 47 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/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCAsmBackend.cpp | 77 bool IsLittleEndian; member in __anonee1ecb6f0111::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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | DataExtractor.h | 27 uint32_t getAsUint32(bool IsLittleEndian) const { in getAsUint32() 28 int LoIx = IsLittleEndian ? 0 : 2; in getAsUint32() 43 uint8_t IsLittleEndian; variable 83 DataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize) in DataExtractor() argument 84 : Data(Data), IsLittleEndian(IsLittleEndian), AddressSize(AddressSize) {} in DataExtractor() 85 DataExtractor(ArrayRef<uint8_t> Data, bool IsLittleEndian, in DataExtractor() argument 89 IsLittleEndian(IsLittleEndian), AddressSize(AddressSize) {} in DataExtractor() 94 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian()
|
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFDataExtractor.h | 29 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() 36 DWARFDataExtractor(ArrayRef<uint8_t> Data, bool IsLittleEndian, in DWARFDataExtractor() argument 40 IsLittleEndian, AddressSize) {} in DWARFDataExtractor()
|
/external/llvm/lib/Support/ |
D | DataExtractor.cpp | 51 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-project/llvm/include/llvm/Support/ |
D | DataExtractor.h | 27 uint32_t getAsUint32(bool IsLittleEndian) const { in getAsUint32() 28 int LoIx = IsLittleEndian ? 0 : 2; in getAsUint32() 43 uint8_t IsLittleEndian; variable 83 DataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize) in DataExtractor() argument 84 : Data(Data), IsLittleEndian(IsLittleEndian), AddressSize(AddressSize) {} in DataExtractor() 85 DataExtractor(ArrayRef<uint8_t> Data, bool IsLittleEndian, in DataExtractor() argument 89 IsLittleEndian(IsLittleEndian), AddressSize(AddressSize) {} in DataExtractor() 94 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | DataExtractor.cpp | 73 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data(), Err); in getU8() 78 return getUs<uint8_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU8() 83 return getUs<uint8_t>(&C.Offset, Dst, Count, this, IsLittleEndian, in getU8() 88 return getU<uint16_t>(offset_ptr, this, IsLittleEndian, Data.data(), Err); in getU16() 93 return getUs<uint16_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU16() 99 getU<uint24_t>(offset_ptr, this, IsLittleEndian, Data.data(), nullptr); in getU24() 105 return getU<uint32_t>(offset_ptr, this, IsLittleEndian, Data.data(), Err); in getU32() 110 return getUs<uint32_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU32() 115 return getU<uint64_t>(offset_ptr, this, IsLittleEndian, Data.data(), Err); in getU64() 120 return getUs<uint64_t>(offset_ptr, dst, count, this, IsLittleEndian, in getU64()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/MCTargetDesc/ |
D | BPFMCCodeEmitter.cpp | 35 bool IsLittleEndian; member in __anon35e0ceba0111::BPFMCCodeEmitter 39 bool IsLittleEndian) in BPFMCCodeEmitter() argument 40 : 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/llvm/include/llvm/Support/ |
D | DataExtractor.h | 19 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/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/ |
D | BPFMCCodeEmitter.cpp | 36 bool IsLittleEndian; member in __anon8f7397460111::BPFMCCodeEmitter 40 bool IsLittleEndian) in BPFMCCodeEmitter() argument 41 : MCII(mcii), MRI(mri), IsLittleEndian(IsLittleEndian) {} in BPFMCCodeEmitter() 127 IsLittleEndian ? support::little : support::big); in encodeInstruction() 132 if (IsLittleEndian) in encodeInstruction() 149 if (IsLittleEndian) in encodeInstruction()
|
/external/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
D | MachOWriter.h | 25 bool IsLittleEndian; variable 55 MachOWriter(Object &O, bool Is64Bit, bool IsLittleEndian, uint64_t PageSize, in MachOWriter() argument 57 : O(O), Is64Bit(Is64Bit), IsLittleEndian(IsLittleEndian), in MachOWriter()
|
D | MachOWriter.cpp | 157 if (IsLittleEndian != sys::IsLittleEndianHost) in writeHeader() 172 if (IsLittleEndian != sys::IsLittleEndianHost) in writeLoadCommands() 181 if (IsLittleEndian != sys::IsLittleEndianHost) in writeLoadCommands() 196 if (IsLittleEndian != sys::IsLittleEndianHost) \ in writeLoadCommands() 210 if (IsLittleEndian != sys::IsLittleEndianHost) in writeLoadCommands() 242 if (IsLittleEndian != sys::IsLittleEndianHost) in writeSectionInLoadCommand() 268 RelocInfo.setPlainRelocationSymbolNum(SymbolNum, IsLittleEndian); in writeSections() 270 if (IsLittleEndian != sys::IsLittleEndianHost) in writeSections() 281 void writeNListEntry(const SymbolEntry &SE, bool IsLittleEndian, char *&Out, in writeNListEntry() argument 290 if (IsLittleEndian != sys::IsLittleEndianHost) in writeNListEntry() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFDataExtractor.h | 28 bool IsLittleEndian, uint8_t AddressSize) in DWARFDataExtractor() argument 29 : DataExtractor(Section.Data, IsLittleEndian, AddressSize), Obj(&Obj), in DWARFDataExtractor() 33 DWARFDataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize) in DWARFDataExtractor() argument 34 : DataExtractor(Data, IsLittleEndian, AddressSize) {} in DWARFDataExtractor()
|
/external/flatbuffers/net/FlatBuffers/ |
D | ByteBuffer.cs | 328 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/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMAsmBackend.h | 24 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()
|
D | ARMAsmBackend.cpp | 158 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 …]
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcAsmBackend.cpp | 103 bool IsLittleEndian; member in __anon05097f3e0111::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/llvm-project/llvm/lib/Target/BPF/Disassembler/ |
D | BPFDisassembler.cpp | 142 bool IsLittleEndian) { in readInstruction64() argument 151 if (IsLittleEndian) { in readInstruction64() 168 bool IsLittleEndian = getContext().getAsmInfo()->isLittleEndian(); in getInstruction() local 172 Result = readInstruction64(Bytes, Address, Size, Insn, IsLittleEndian); in getInstruction() 197 if (IsLittleEndian) in getInstruction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/Disassembler/ |
D | BPFDisassembler.cpp | 139 bool IsLittleEndian) { in readInstruction64() argument 148 if (IsLittleEndian) { in readInstruction64() 165 bool IsLittleEndian = getContext().getAsmInfo()->isLittleEndian(); in getInstruction() local 169 Result = readInstruction64(Bytes, Address, Size, Insn, IsLittleEndian); in getInstruction() 194 if (IsLittleEndian) in getInstruction()
|