Home
last modified time | relevance | path

Searched refs:Seg (Results 1 – 25 of 33) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-size/
Dllvm-size.cpp227 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Load); in printDarwinSectionSizes() local
228 outs() << "Segment " << Seg.segname << ": " in printDarwinSectionSizes()
229 << format(fmt.str().c_str(), Seg.vmsize); in printDarwinSectionSizes()
231 outs() << " (vmaddr 0x" << format("%" PRIx64, Seg.vmaddr) << " fileoff " in printDarwinSectionSizes()
232 << Seg.fileoff << ")"; in printDarwinSectionSizes()
234 total += Seg.vmsize; in printDarwinSectionSizes()
236 for (unsigned J = 0; J < Seg.nsects; ++J) { in printDarwinSectionSizes()
250 if (Seg.nsects != 0) in printDarwinSectionSizes()
253 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in printDarwinSectionSizes() local
254 uint64_t Seg_vmsize = Seg.vmsize; in printDarwinSectionSizes()
[all …]
/external/llvm/tools/llvm-size/
Dllvm-size.cpp217 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Load); in printDarwinSectionSizes() local
218 outs() << "Segment " << Seg.segname << ": " in printDarwinSectionSizes()
219 << format(fmt.str().c_str(), Seg.vmsize); in printDarwinSectionSizes()
221 outs() << " (vmaddr 0x" << format("%" PRIx64, Seg.vmaddr) << " fileoff " in printDarwinSectionSizes()
222 << Seg.fileoff << ")"; in printDarwinSectionSizes()
224 total += Seg.vmsize; in printDarwinSectionSizes()
226 for (unsigned J = 0; J < Seg.nsects; ++J) { in printDarwinSectionSizes()
240 if (Seg.nsects != 0) in printDarwinSectionSizes()
243 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in printDarwinSectionSizes() local
244 uint64_t Seg_vmsize = Seg.vmsize; in printDarwinSectionSizes()
[all …]
/external/llvm/tools/dsymutil/
DMachOUtils.cpp107 struct MachO::segment_command_64 adaptFrom32bits(MachO::segment_command Seg) { in adaptFrom32bits() argument
109 Seg64.cmd = Seg.cmd; in adaptFrom32bits()
110 Seg64.cmdsize = Seg.cmdsize; in adaptFrom32bits()
111 memcpy(Seg64.segname, Seg.segname, sizeof(Seg.segname)); in adaptFrom32bits()
112 Seg64.vmaddr = Seg.vmaddr; in adaptFrom32bits()
113 Seg64.vmsize = Seg.vmsize; in adaptFrom32bits()
114 Seg64.fileoff = Seg.fileoff; in adaptFrom32bits()
115 Seg64.filesize = Seg.filesize; in adaptFrom32bits()
116 Seg64.maxprot = Seg.maxprot; in adaptFrom32bits()
117 Seg64.initprot = Seg.initprot; in adaptFrom32bits()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DMachOUtils.cpp122 struct MachO::segment_command_64 adaptFrom32bits(MachO::segment_command Seg) { in adaptFrom32bits() argument
124 Seg64.cmd = Seg.cmd; in adaptFrom32bits()
125 Seg64.cmdsize = Seg.cmdsize; in adaptFrom32bits()
126 memcpy(Seg64.segname, Seg.segname, sizeof(Seg.segname)); in adaptFrom32bits()
127 Seg64.vmaddr = Seg.vmaddr; in adaptFrom32bits()
128 Seg64.vmsize = Seg.vmsize; in adaptFrom32bits()
129 Seg64.fileoff = Seg.fileoff; in adaptFrom32bits()
130 Seg64.filesize = Seg.filesize; in adaptFrom32bits()
131 Seg64.maxprot = Seg.maxprot; in adaptFrom32bits()
132 Seg64.initprot = Seg.initprot; in adaptFrom32bits()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/
DObject.cpp65 template <class ELFT> void ELFWriter<ELFT>::writePhdr(const Segment &Seg) { in writePhdr() argument
69 B += Obj.ProgramHdrSegment.Offset + Seg.Index * sizeof(Elf_Phdr); in writePhdr()
71 Phdr.p_type = Seg.Type; in writePhdr()
72 Phdr.p_flags = Seg.Flags; in writePhdr()
73 Phdr.p_offset = Seg.Offset; in writePhdr()
74 Phdr.p_vaddr = Seg.VAddr; in writePhdr()
75 Phdr.p_paddr = Seg.PAddr; in writePhdr()
76 Phdr.p_filesz = Seg.FileSize; in writePhdr()
77 Phdr.p_memsz = Seg.MemSize; in writePhdr()
78 Phdr.p_align = Seg.Align; in writePhdr()
[all …]
/external/pdfium/third_party/lcms/src/
Dcmsgamma.c670 cmsCurveSegment Seg[3]; in cmsBuildTabulatedToneCurveFloat() local
674 Seg[0].x0 = MINUS_INF; in cmsBuildTabulatedToneCurveFloat()
675 Seg[0].x1 = 0; in cmsBuildTabulatedToneCurveFloat()
676 Seg[0].Type = 6; in cmsBuildTabulatedToneCurveFloat()
678 Seg[0].Params[0] = 1; in cmsBuildTabulatedToneCurveFloat()
679 Seg[0].Params[1] = 0; in cmsBuildTabulatedToneCurveFloat()
680 Seg[0].Params[2] = 0; in cmsBuildTabulatedToneCurveFloat()
681 Seg[0].Params[3] = values[0]; in cmsBuildTabulatedToneCurveFloat()
682 Seg[0].Params[4] = 0; in cmsBuildTabulatedToneCurveFloat()
685 Seg[1].x0 = 0; in cmsBuildTabulatedToneCurveFloat()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Dwasm2yaml.cpp248 WasmYAML::ElemSegment Seg; in dump() local
249 Seg.TableIndex = Segment.TableIndex; in dump()
250 Seg.Offset = Segment.Offset; in dump()
252 Seg.Functions.push_back(Func); in dump()
254 ElemSec->Segments.push_back(Seg); in dump()
279 WasmYAML::DataSegment Seg; in dump() local
280 Seg.SectionOffset = Segment.SectionOffset; in dump()
281 Seg.MemoryIndex = Segment.Data.MemoryIndex; in dump()
282 Seg.Offset = Segment.Data.Offset; in dump()
283 Seg.Content = yaml::BinaryRef(Segment.Data.Content); in dump()
[all …]
/external/llvm/lib/CodeGen/
DLiveInterval.cpp1003 void LiveRangeUpdater::add(LiveRange::Segment Seg) { in add() argument
1009 LR->addSegmentToSet(Seg); in add()
1014 if (!LastStart.isValid() || LastStart > Seg.start) { in add()
1023 LastStart = Seg.start; in add()
1027 if (ReadI != E && ReadI->end <= Seg.start) { in add()
1033 ReadI = WriteI = LR->find(Seg.start); in add()
1035 while (ReadI != E && ReadI->end <= Seg.start) in add()
1039 assert(ReadI == E || ReadI->end > Seg.start); in add()
1042 if (ReadI != E && ReadI->start <= Seg.start) { in add()
1043 assert(ReadI->valno == Seg.valno && "Cannot overlap different values"); in add()
[all …]
DVirtRegMap.cpp309 for (const auto &Seg : LI) { in addMBBLiveIns() local
310 I = Indexes->advanceMBBIndex(I, Seg.start); in addMBBLiveIns()
311 for (; I != Indexes->MBBIndexEnd() && I->first < Seg.end; ++I) { in addMBBLiveIns()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DLiveInterval.cpp1123 void LiveRangeUpdater::add(LiveRange::Segment Seg) { in add() argument
1129 LR->addSegmentToSet(Seg); in add()
1134 if (!LastStart.isValid() || LastStart > Seg.start) { in add()
1143 LastStart = Seg.start; in add()
1147 if (ReadI != E && ReadI->end <= Seg.start) { in add()
1153 ReadI = WriteI = LR->find(Seg.start); in add()
1155 while (ReadI != E && ReadI->end <= Seg.start) in add()
1159 assert(ReadI == E || ReadI->end > Seg.start); in add()
1162 if (ReadI != E && ReadI->start <= Seg.start) { in add()
1163 assert(ReadI->valno == Seg.valno && "Cannot overlap different values"); in add()
[all …]
DLiveRegMatrix.cpp213 LiveRange::Segment Seg(Start, End, &valno); in checkInterference() local
215 LR.addSegment(Seg); in checkInterference()
DVirtRegMap.cpp334 for (const auto &Seg : LI) { in addMBBLiveIns() local
335 I = Indexes->advanceMBBIndex(I, Seg.start); in addMBBLiveIns()
336 for (; I != Indexes->MBBIndexEnd() && I->first < Seg.end; ++I) { in addMBBLiveIns()
DLiveRangeCalc.cpp316 LiveRange::Segment &Seg = *std::prev(UB); in isDefOnEntry() local
317 if (Seg.end > Begin) { in isDefOnEntry()
322 if (LR.isUndefIn(Undefs, Seg.end, End)) in isDefOnEntry()
DSplitKit.cpp1231 const LiveRange::Segment *Seg = LR.getSegmentContaining(Def); in removeDeadSegment() local
1232 if (Seg == nullptr) in removeDeadSegment()
1234 if (Seg->end != Def.getDeadSlot()) in removeDeadSegment()
1237 LR.removeSegment(*Seg, true); in removeDeadSegment()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DWasmDumper.cpp180 const wasm::WasmDataSegment& Seg = Segment.Data; in printSections() local
182 if (!Seg.Name.empty()) in printSections()
183 W.printString("Name", Seg.Name); in printSections()
184 W.printNumber("Size", static_cast<uint64_t>(Seg.Content.size())); in printSections()
185 if (Seg.Offset.Opcode == wasm::WASM_OPCODE_I32_CONST) in printSections()
186 W.printNumber("Offset", Seg.Offset.Value.Int32); in printSections()
/external/llvm/lib/Target/Hexagon/
DHexagonExpandCondsets.cpp453 for (auto &Seg : Range) { in updateDeadsInRange() local
454 if (!Seg.start.isRegister()) in updateDeadsInRange()
456 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
461 PredDefs.push_back(Seg.start); in updateDeadsInRange()
488 for (auto &Seg : Range) { in updateDeadsInRange() local
489 if (!Seg.start.isRegister()) in updateDeadsInRange()
491 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
495 if (Seg.start.isDead() || !IsRegDef(Op)) in updateDeadsInRange()
508 for (auto &Seg : Range) { in updateDeadsInRange() local
509 if (!Seg.start.isRegister() || !Range.liveAt(Seg.start.getPrevSlot())) in updateDeadsInRange()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonExpandCondsets.cpp416 for (auto &Seg : Range) { in updateDeadsInRange() local
417 if (!Seg.start.isRegister()) in updateDeadsInRange()
419 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
422 PredDefs.push_back(Seg.start); in updateDeadsInRange()
470 for (auto &Seg : Range) { in updateDeadsInRange() local
471 if (!Seg.start.isRegister()) in updateDeadsInRange()
473 MachineInstr *DefI = LIS->getInstructionFromIndex(Seg.start); in updateDeadsInRange()
476 if (P.second && Seg.end.isDead()) { in updateDeadsInRange()
487 for (auto &Seg : Range) { in updateDeadsInRange() local
488 if (!Seg.start.isRegister() || !Range.liveAt(Seg.start.getPrevSlot())) in updateDeadsInRange()
[all …]
/external/swiftshader/third_party/subzero/src/
DWasmTranslator.cpp1514 for (const auto Seg : Module->data_segments) { in translate() local
1515 LOG(out << Id << ": (" << Seg.source_offset << ", " << Seg.source_size in translate()
1516 << ") => " << Seg.dest_addr); in translate()
1517 if (Seg.init) { in translate()
1587 for (const auto Seg : Module->data_segments) { in translate() local
1589 if (Seg.dest_addr > WritePtr) { in translate()
1591 Globals.get(), Seg.dest_addr - WritePtr)); in translate()
1592 WritePtr = Seg.dest_addr; in translate()
1598 Seg.source_offset, in translate()
1599 Seg.source_size)); in translate()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DShadowCallStack.cpp84 addSegmentedMem(const MachineInstrBuilder &MIB, MCPhysReg Seg, MCPhysReg Reg, in addSegmentedMem() argument
86 return MIB.addReg(Reg).addImm(1).addReg(0).addImm(Offset).addReg(Seg); in addSegmentedMem()
/external/icu/icu4c/source/data/brkitr/
Des.txt122 "Seg.",
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-nm/
Dllvm-nm.cpp1240 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Command); in dumpSymbolNamesFromObject() local
1241 if (Seg.fileoff == 0 && Seg.filesize != 0) { in dumpSymbolNamesFromObject()
1242 BaseSegmentAddress = Seg.vmaddr; in dumpSymbolNamesFromObject()
1246 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Command); in dumpSymbolNamesFromObject() local
1247 if (Seg.fileoff == 0 && Seg.filesize != 0) { in dumpSymbolNamesFromObject()
1248 BaseSegmentAddress = Seg.vmaddr; in dumpSymbolNamesFromObject()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DMachODump.cpp406 MachO::segment_command_64 Seg = O->getSegment64LoadCommand(Load); in PrintIndirectSymbols() local
407 for (unsigned J = 0; J < Seg.nsects; ++J) { in PrintIndirectSymbols()
434 MachO::segment_command Seg = O->getSegmentLoadCommand(Load); in PrintIndirectSymbols() local
435 for (unsigned J = 0; J < Seg.nsects; ++J) { in PrintIndirectSymbols()
747 const MachO::segment_command_64 Seg = O->getSegment64LoadCommand(Load); in PrintRelocations() local
748 for (unsigned J = 0; J < Seg.nsects; ++J) { in PrintRelocations()
768 const MachO::segment_command Seg = O->getSegmentLoadCommand(Load); in PrintRelocations() local
769 for (unsigned J = 0; J < Seg.nsects; ++J) { in PrintRelocations()
2645 MachO::segment_command_64 Seg = info->O->getSegment64LoadCommand(Load); in GuessCstringPointer() local
2646 for (unsigned J = 0; J < Seg.nsects; ++J) { in GuessCstringPointer()
[all …]
/external/llvm/lib/DebugInfo/CodeView/
DSymbolDumper.cpp110 W.printNumber("Seg", Thunk.Header.Seg); in visitThunk32Sym()
503 W.printNumber("Seg", Public.Header.Seg); in visitPublicSym32()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/sancov/
Dsancov.cpp694 MachO::segment_command_64 Seg = O.getSegment64LoadCommand(Load); in findMachOIndirectCovFunctions() local
695 for (unsigned J = 0; J < Seg.nsects; ++J) { in findMachOIndirectCovFunctions()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp405 MachO::segment_command_64 Seg = O->getSegment64LoadCommand(Load); in PrintIndirectSymbols() local
406 for (unsigned J = 0; J < Seg.nsects; ++J) { in PrintIndirectSymbols()
433 MachO::segment_command Seg = O->getSegmentLoadCommand(Load); in PrintIndirectSymbols() local
434 for (unsigned J = 0; J < Seg.nsects; ++J) { in PrintIndirectSymbols()
2235 MachO::segment_command_64 Seg = info->O->getSegment64LoadCommand(Load); in GuessCstringPointer() local
2236 for (unsigned J = 0; J < Seg.nsects; ++J) { in GuessCstringPointer()
2256 MachO::segment_command Seg = info->O->getSegmentLoadCommand(Load); in GuessCstringPointer() local
2257 for (unsigned J = 0; J < Seg.nsects; ++J) { in GuessCstringPointer()
2291 MachO::segment_command_64 Seg = info->O->getSegment64LoadCommand(Load); in GuessIndirectSymbol() local
2292 for (unsigned J = 0; J < Seg.nsects; ++J) { in GuessIndirectSymbol()
[all …]

12