Home
last modified time | relevance | path

Searched refs:isLittleEndian (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm/include/llvm/Support/
DOutputBuffer.h29 bool is64Bit, isLittleEndian; variable
33 : Output(Out), is64Bit(is64bit), isLittleEndian(le) {} in OutputBuffer()
56 if (isLittleEndian) { in outhalf()
65 if (isLittleEndian) { in outword()
78 if (isLittleEndian) { in outxword()
128 P[0] = (X >> (isLittleEndian ? 0 : 8)) & 255; in fixhalf()
129 P[1] = (X >> (isLittleEndian ? 8 : 0)) & 255; in fixhalf()
133 P[0] = (X >> (isLittleEndian ? 0 : 24)) & 255; in fixword()
134 P[1] = (X >> (isLittleEndian ? 8 : 16)) & 255; in fixword()
135 P[2] = (X >> (isLittleEndian ? 16 : 8)) & 255; in fixword()
[all …]
DDataExtractor.h34 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian() function
/external/srec/portable/src/UNIX/
DPFileSystemUNIXImpl.c46 ESR_BOOL isLittleEndian; in PFileSystemInitializeStreamsImpl() local
50 isLittleEndian = ESR_TRUE; in PFileSystemInitializeStreamsImpl()
52 isLittleEndian = ESR_FALSE; in PFileSystemInitializeStreamsImpl()
59 …eSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stdin"), isLittleEndian, &PSTDIN)); in PFileSystemInitializeStreamsImpl()
63 …ystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stdout"), isLittleEndian, &PSTDOUT)); in PFileSystemInitializeStreamsImpl()
68 …ystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stderr"), isLittleEndian, &PSTDERR)); in PFileSystemInitializeStreamsImpl()
/external/llvm/lib/DebugInfo/
DDWARFContext.cpp51 DataExtractor arangesData(getARangeSection(), isLittleEndian(), 0); in dump()
67 DataExtractor lineData(getLineSection(), isLittleEndian(), in dump()
77 DataExtractor strData(getStringSection(), isLittleEndian(), 0); in dump()
92 DataExtractor rangesData(getRangeSection(), isLittleEndian(), in dump()
102 DataExtractor pubNames(getPubNamesSection(), isLittleEndian(), 0); in dump()
136 DataExtractor strDWOData(getStringDWOSection(), isLittleEndian(), 0); in dump()
148 DataExtractor strOffsetExt(getStringOffsetDWOSection(), isLittleEndian(), 0); in dump()
162 DataExtractor abbrData(getAbbrevSection(), isLittleEndian(), 0); in getDebugAbbrev()
173 DataExtractor abbrData(getAbbrevDWOSection(), isLittleEndian(), 0); in getDebugAbbrevDWO()
183 DataExtractor LocData(getLocSection(), isLittleEndian(), 0); in getDebugLoc()
[all …]
DDWARFCompileUnit.h34 bool isLittleEndian; variable
51 AddrOffsetSection(AOS), RelocMap(M), isLittleEndian(LE) { in DWARFCompileUnit()
DDWARFContext.h113 virtual bool isLittleEndian() const = 0;
183 virtual bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian() function
DDWARFCompileUnit.cpp20 return DataExtractor(InfoSection, isLittleEndian, AddrSize); in getDebugInfoExtractor()
80 DataExtractor RangesData(RangeSection, isLittleEndian, AddrSize); in extractRangeList()
/external/llvm/lib/Target/Mips/
DMipsJITInfo.h63 bool isLittleEndian) { in Initialize() argument
65 IsLittleEndian = isLittleEndian; in Initialize()
/external/llvm/lib/Support/
DDataExtractor.cpp18 bool isLittleEndian, const char *Data) { in getU() argument
23 if (sys::IsLittleEndianHost != isLittleEndian) in getU()
34 const DataExtractor *de, bool isLittleEndian, const char *Data){ in getUs() argument
40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data); in getUs()
/external/srec/srec/ca/
Dsyn_srec.c105 ESR_BOOL isLittleEndian; in CA_LoadSyntaxFromImage() local
114 isLittleEndian = ESR_TRUE; in CA_LoadSyntaxFromImage()
186 ESR_BOOL isLittleEndian; in CA_DumpSyntaxAsImage() local
188 isLittleEndian = ESR_TRUE; in CA_DumpSyntaxAsImage()
/external/srec/portable/src/
DPFile.c339 ESR_BOOL isLittleEndian; in pfopen() local
342 isLittleEndian = ESR_TRUE; in pfopen()
344 isLittleEndian = ESR_FALSE; in pfopen()
347 rc = PFileSystemCreatePFile(filename, isLittleEndian, &result); in pfopen()
DPFileImpl.c35 ESR_ReturnCode PFileCreateImpl(PFile* self, const LCHAR* filename, ESR_BOOL isLittleEndian) in PFileCreateImpl() argument
46 impl->littleEndian = isLittleEndian; in PFileCreateImpl()
DPANSIFileImpl.c34 ESR_ReturnCode PANSIFileCreateImpl(const LCHAR* filename, ESR_BOOL isLittleEndian, PFile** self) in PANSIFileCreateImpl() argument
47 PFileCreateImpl(&impl->Interface.Interface, filename, isLittleEndian); in PANSIFileCreateImpl()
/external/srec/srec/EventLog/include/
Driff.h213 SREC_EVENTLOG_API int isLittleEndian(void);
/external/llvm/tools/yaml2obj/
Dyaml2elf.cpp370 static bool isLittleEndian(const ELFYAML::Object &Doc) { in isLittleEndian() function
388 if (isLittleEndian(Doc)) in yaml2elf()
393 if (isLittleEndian(Doc)) in yaml2elf()
/external/llvm/include/llvm/Object/
DBinary.h107 bool isLittleEndian() const { in isLittleEndian() function
/external/srec/portable/include/
DPANSIFileImpl.h52 PORTABLE_API ESR_ReturnCode PANSIFileCreateImpl(const LCHAR* filename, ESR_BOOL isLittleEndian, PFi…
/external/llvm/lib/Analysis/
DConstantFolding.cpp85 if (TD.isLittleEndian()) in FoldBitCast()
159 bool isLittleEndian = TD.isLittleEndian(); in FoldBitCast() local
171 unsigned ShiftAmt = isLittleEndian ? 0 : SrcBitSize*(Ratio-1); in FoldBitCast()
183 ShiftAmt += isLittleEndian ? SrcBitSize : -SrcBitSize; in FoldBitCast()
203 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize*(Ratio-1); in FoldBitCast()
209 ShiftAmt += isLittleEndian ? DstBitSize : -DstBitSize; in FoldBitCast()
278 if (!TD.isLittleEndian()) in ReadDataFromGlobal()
438 if (TD.isLittleEndian()) { in FoldReinterpretLoadFromConstPtr()
490 if (TD->isLittleEndian()) { in ConstantFoldLoadFromConstPtr()
/external/llvm/include/llvm/IR/
DDataLayout.h176 LittleEndian(DL.isLittleEndian()), in DataLayout()
195 bool isLittleEndian() const { return LittleEndian; } in isLittleEndian() function
/external/llvm/lib/Target/PowerPC/
DPPCSubtarget.h171 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian() function
/external/llvm/include/llvm/MC/
DMCObjectWriter.h58 bool isLittleEndian() const { return IsLittleEndian; } in isLittleEndian() function
/external/llvm/lib/Target/
DTarget.cpp72 return unwrap(TD)->isLittleEndian() ? LLVMLittleEndian : LLVMBigEndian; in LLVMByteOrder()
/external/srec/srec/EventLog/src/
Driff.c40 int isLittleEndian() in isLittleEndian() function
564 int doSwap = ! isLittleEndian(); in riffReadWave2L16()
684 int doSwap = ! isLittleEndian(); in readRiff2Buf()
1027 doSwap = !isLittleEndian(); in convertBuf2Riff()
/external/llvm/lib/MC/
DMCStreamer.cpp94 const bool isLittleEndian = Context.getAsmInfo()->isLittleEndian(); in EmitIntValue() local
96 unsigned index = isLittleEndian ? i : (Size - i - 1); in EmitIntValue()
/external/llvm/lib/Object/
DMachOObjectFile.cpp220 if (O->isLittleEndian() != sys::IsLittleEndianHost) in getStruct()
369 if (O->isLittleEndian()) in getPlainRelocationPCRel()
382 if (O->isLittleEndian()) in getPlainRelocationLength()
394 if (O->isLittleEndian()) in getPlainRelocationType()
1389 if (isLittleEndian()) in getPlainRelocationSymbolNum()
1396 if (isLittleEndian()) in getPlainRelocationExternal()

12