Home
last modified time | relevance | path

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

123

/external/llvm/lib/Target/BPF/MCTargetDesc/
DBPFAsmBackend.cpp28 bool IsLittleEndian; member in __anon41bbbd950111::BPFAsmBackend
30 BPFAsmBackend(bool IsLittleEndian) in BPFAsmBackend() argument
31 : MCAsmBackend(), IsLittleEndian(IsLittleEndian) {} in BPFAsmBackend()
75 unsigned Idx = IsLittleEndian ? i : Size - i; in applyFixup()
81 if (IsLittleEndian) { in applyFixup()
92 return createBPFELFObjectWriter(OS, 0, IsLittleEndian); in createObjectWriter()
DBPFMCCodeEmitter.cpp33 bool IsLittleEndian; member in __anonffff22b10111::BPFMCCodeEmitter
36 BPFMCCodeEmitter(const MCRegisterInfo &mri, bool IsLittleEndian) in BPFMCCodeEmitter() argument
37 : MRI(mri), IsLittleEndian(IsLittleEndian) {} in BPFMCCodeEmitter()
117 if (IsLittleEndian) in encodeInstruction()
122 if (IsLittleEndian) in encodeInstruction()
132 if (IsLittleEndian) in encodeInstruction()
140 if (IsLittleEndian) { in encodeInstruction()
DBPFELFObjectWriter.cpp55 uint8_t OSABI, bool IsLittleEndian) { in createBPFELFObjectWriter() argument
57 return createELFObjectWriter(MOTW, OS, IsLittleEndian); in createBPFELFObjectWriter()
DBPFMCAsmInfo.h29 IsLittleEndian = false; in BPFMCAsmInfo()
/external/llvm/include/llvm/MC/
DMCObjectWriter.h46 unsigned IsLittleEndian : 1;
49 MCObjectWriter(raw_pwrite_stream &OS, bool IsLittleEndian) in MCObjectWriter() argument
50 : OS(&OS), IsLittleEndian(IsLittleEndian) {} in MCObjectWriter()
62 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian()
153 if (IsLittleEndian) in write16()
160 if (IsLittleEndian) in write32()
167 if (IsLittleEndian) in write64()
DMCMachObjectWriter.h118 bool IsLittleEndian) in MachObjectWriter() argument
119 : MCObjectWriter(OS, IsLittleEndian), TargetObjectWriter(MOTW) {} in MachObjectWriter()
272 bool IsLittleEndian);
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCAsmBackend.cpp77 bool IsLittleEndian; member in __anonaff45f680111::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()
DPPCMCCodeEmitter.cpp42 bool IsLittleEndian; member in __anonbbf3d7a40111::PPCMCCodeEmitter
47 IsLittleEndian(ctx.getAsmInfo()->isLittleEndian()) {} in PPCMCCodeEmitter()
119 if (IsLittleEndian) { in encodeInstruction()
128 if (IsLittleEndian) { in encodeInstruction()
210 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getImm16Encoding()
228 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIEncoding()
247 Fixups.push_back(MCFixup::create(IsLittleEndian? 0 : 2, MO.getExpr(), in getMemRIXEncoding()
DPPCMCAsmInfo.cpp25 IsLittleEndian = false; in PPCMCAsmInfoDarwin()
55 IsLittleEndian = T.getArch() == Triple::ppc64le; in PPCELFMCAsmInfo()
/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/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/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp143 return (IsLittleEndian ? InfosLE : InfosBE)[Kind - FirstTargetFixupKind]; in getFixupKindInfo()
316 static uint32_t swapHalfWords(uint32_t Value, bool IsLittleEndian) { in swapHalfWords() argument
317 if (IsLittleEndian) { in swapHalfWords()
328 bool IsLittleEndian) { in joinHalfWords() argument
331 if (IsLittleEndian) { in joinHalfWords()
344 bool IsLittleEndian, in adjustFixupValue() argument
384 return swapHalfWords(Value, IsLittleEndian); in adjustFixupValue()
407 return swapHalfWords(Value, IsLittleEndian); in adjustFixupValue()
440 return swapHalfWords(out, IsLittleEndian); in adjustFixupValue()
472 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,
75 bool isLittle() const { return IsLittleEndian; } in isLittle()
DARMMCAsmInfo.cpp25 IsLittleEndian = false; in ARMMCAsmInfoDarwin()
48 IsLittleEndian = false; in ARMELFMCAsmInfo()
DARMMCTargetDesc.h69 bool IsLittleEndian);
94 bool IsLittleEndian);
DARMELFObjectWriter.cpp256 bool IsLittleEndian) { in createARMELFObjectWriter() argument
258 return createELFObjectWriter(MOTW, OS, IsLittleEndian); in createARMELFObjectWriter()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcAsmBackend.cpp103 bool IsLittleEndian; member in __anonc6df13370111::SparcAsmBackend
109 IsLittleEndian(StringRef(TheTarget.getName()) == "sparcel"), in SparcAsmBackend()
200 if (IsLittleEndian) in getFixupKindInfo()
287 unsigned Idx = IsLittleEndian ? i : 3 - i; in applyFixup()
294 return createSparcELFObjectWriter(OS, Is64Bit, IsLittleEndian, OSABI); in createObjectWriter()
DSparcELFObjectWriter.cpp135 bool IsLittleEndian, in createSparcELFObjectWriter() argument
138 return createELFObjectWriter(MOTW, OS, IsLittleEndian); in createSparcELFObjectWriter()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64ELFObjectWriter.cpp27 AArch64ELFObjectWriter(uint8_t OSABI, bool IsLittleEndian);
40 bool IsLittleEndian) in AArch64ELFObjectWriter() argument
253 bool IsLittleEndian) { in createAArch64ELFObjectWriter() argument
255 new AArch64ELFObjectWriter(OSABI, IsLittleEndian); in createAArch64ELFObjectWriter()
256 return createELFObjectWriter(MOTW, OS, IsLittleEndian); in createAArch64ELFObjectWriter()
DAArch64AsmBackend.cpp456 bool IsLittleEndian; member in __anon2524b8d70311::ELFAArch64AsmBackend
458 ELFAArch64AsmBackend(const Target &T, uint8_t OSABI, bool IsLittleEndian) in ELFAArch64AsmBackend() argument
459 : AArch64AsmBackend(T), OSABI(OSABI), IsLittleEndian(IsLittleEndian) {} in ELFAArch64AsmBackend()
462 return createAArch64ELFObjectWriter(OS, OSABI, IsLittleEndian); in createObjectWriter()
514 if (!IsLittleEndian && Fixup.getKind() == FK_Data_4) { in applyFixup()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp43 bool _isN64, bool IsLittleEndian);
57 bool _isN64, bool IsLittleEndian) in MipsELFObjectWriter() argument
426 bool IsLittleEndian, in createMipsELFObjectWriter() argument
429 new MipsELFObjectWriter(Is64Bit, OSABI, Is64Bit, IsLittleEndian); in createMipsELFObjectWriter()
430 return createELFObjectWriter(MOTW, OS, IsLittleEndian); in createMipsELFObjectWriter()
/external/gptfdisk/
Dgptpart.cc86 if ( ! IsLittleEndian() ) ReverseBytes( & cp , 2 ) ; in GetDescription()
237 if ( ! IsLittleEndian() ) ReverseBytes( name + pos , 2 ) ;
247 if ( ! IsLittleEndian() ) ReverseBytes( name + pos , 2 ) ;
250 if ( ! IsLittleEndian() ) ReverseBytes( name + pos , 2 ) ;
/external/llvm/tools/dsymutil/
DMachOUtils.cpp143 static bool transferSymbol(NListTy NList, bool IsLittleEndian, in transferSymbol() argument
165 if (IsLittleEndian != sys::IsLittleEndianHost) in transferSymbol()
181 bool IsLittleEndian = Obj.isLittleEndian(); in transferSymbols() local
187 if (transferSymbol(Obj.getSymbol64TableEntry(DRI), IsLittleEndian, in transferSymbols()
194 if (transferSymbol(Obj.getSymbolTableEntry(DRI), IsLittleEndian, Strings, in transferSymbols()
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCAsmInfo.cpp19 IsLittleEndian = false; in SystemZMCAsmInfo()
/external/llvm/lib/Target/PowerPC/
DPPCSubtarget.h117 bool IsLittleEndian; variable
212 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian()

123