Home
last modified time | relevance | path

Searched refs:Segment (Results 1 – 25 of 114) sorted by relevance

12345

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveInterval.h162 struct Segment { struct
168 Segment() = default; argument
170 Segment(SlotIndex S, SlotIndex E, VNInfo *V) in Segment() function
200 using Segments = SmallVector<Segment, 2>;
209 using SegmentSet = std::set<Segment>;
254 for (const Segment &S : Other.segments) in assign()
472 iterator addSegment(Segment S);
579 for (const Segment &S : segments) in isZeroLength()
665 void append(const LiveRange::Segment S);
669 void addSegmentToSet(Segment S);
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_segmented_array.h34 struct Segment { struct
35 Segment *Prev; argument
36 Segment *Next; argument
75 static Segment SentinelSegment;
82 Segment *S = &SentinelSegment;
165 Segment *Head;
166 Segment *Tail;
170 Segment *Freelist;
204 Segment *NewSegment() XRAY_NEVER_INSTRUMENT { in NewSegment()
262 Segment *InitHeadAndTail() XRAY_NEVER_INSTRUMENT { in InitHeadAndTail()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveInterval.cpp73 using Segment = LiveRange::Segment; typedef in __anon7d11c6fd0111::CalcLiveRangeUtilBase
99 Segment *S = segmentAt(I); in createDeadDef()
160 Segment *S = segmentAt(I); in extendSegmentEndTo()
188 Segment *S = segmentAt(I); in extendSegmentStartTo()
219 iterator addSegment(Segment S) { in addSegment()
273 Segment *segmentAt(iterator I) { return const_cast<Segment *>(&(*I)); } in segmentAt()
336 iterator findInsertPos(Segment S) { in findInsertPos()
534 for (const Segment &S : segments) { in RenumberValues()
695 for (Segment &S : Other.segments) in join()
716 for (Segment &S : Other.segments) in join()
[all …]
H A DLiveIntervals.cpp617 const LiveRange::Segment *Segment = SR.getSegmentContaining(VNI->def); in shrinkToUses() local
618 assert(Segment != nullptr && "Missing segment for VNI"); in shrinkToUses()
619 if (Segment->end != VNI->def.getDeadSlot()) in shrinkToUses()
626 SR.removeSegment(*Segment); in shrinkToUses()
779 for (const LiveRange::Segment &Segment : SR.segments) { in addKillFlags() local
780 if (Segment.start >= RI->end) in addKillFlags()
782 if (Segment.end == RI->end) { in addKillFlags()
880 LiveRange::Segment
1409 *NewIdxOut = LiveRange::Segment( in handleMoveUp()
1411 *(NewIdxOut + 1) = LiveRange::Segment( in handleMoveUp()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp376 IO &IO, WasmYAML::ElemSegment &Segment) { in mapping() argument
377 if (!IO.outputting() || Segment.Flags) in mapping()
378 IO.mapOptional("Flags", Segment.Flags); in mapping()
384 IO.mapOptional("ElemKind", Segment.ElemKind); in mapping()
385 IO.mapRequired("Offset", Segment.Offset); in mapping()
386 IO.mapRequired("Functions", Segment.Functions); in mapping()
456 IO &IO, WasmYAML::DataSegment &Segment) { in mapping() argument
462 Segment.MemoryIndex = 0; in mapping()
465 IO.mapRequired("Offset", Segment.Offset); in mapping()
468 Segment.Offset.Value.Int32 = 0; in mapping()
[all …]
H A DWasmEmitter.cpp486 for (auto &Segment : Section.Segments) { in writeSectionContent() local
487 encodeULEB128(Segment.Flags, OS); in writeSectionContent()
489 encodeULEB128(Segment.TableNumber, OS); in writeSectionContent()
491 writeInitExpr(OS, Segment.Offset); in writeSectionContent()
505 encodeULEB128(Segment.Functions.size(), OS); in writeSectionContent()
506 for (auto &Function : Segment.Functions) in writeSectionContent()
542 for (auto &Segment : Section.Segments) { in writeSectionContent() local
543 encodeULEB128(Segment.InitFlags, OS); in writeSectionContent()
545 encodeULEB128(Segment.MemoryIndex, OS); in writeSectionContent()
547 writeInitExpr(OS, Segment.Offset); in writeSectionContent()
[all …]
H A DCodeViewYAMLSymbols.cpp307 IO.mapRequired("Seg", Symbol.Segment); in map()
334 IO.mapRequired("Segment", Symbol.Segment); in map()
353 IO.mapOptional("Segment", Symbol.Segment, uint16_t(0)); in map()
367 IO.mapOptional("Segment", Symbol.Segment, uint16_t(0)); in map()
448 IO.mapOptional("Segment", Symbol.Segment, uint16_t(0)); in map()
454 IO.mapOptional("Segment", Symbol.Segment, uint16_t(0)); in map()
505 IO.mapOptional("Segment", Symbol.Segment, uint16_t(0)); in map()
518 IO.mapOptional("Segment", Symbol.Segment, uint16_t(0)); in map()
564 IO.mapOptional("Segment", Symbol.Segment, uint16_t(0)); in map()
571 IO.mapOptional("Segment", Symbol.Segment, uint16_t(0)); in map()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp80 json::Array renderSegment(const coverage::CoverageSegment &Segment) { in renderSegment() argument
81 return json::Array({Segment.Line, Segment.Col, in renderSegment()
82 clamp_uint64_to_int64(Segment.Count), Segment.HasCount, in renderSegment()
83 Segment.IsRegionEntry, Segment.IsGapRegion}); in renderSegment()
197 for (const auto &Segment : FileCoverage) in renderFileSegments() local
198 SegmentArray.push_back(renderSegment(Segment)); in renderFileSegments()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp365 Segment.vmaddr = SC.vmaddr; in getSegment()
366 Segment.vmsize = SC.vmsize; in getSegment()
371 Segment.nsects = SC.nsects; in getSegment()
372 Segment.flags = SC.flags; in getSegment()
377 Segment.SegName = SC.segname; in getSegment()
378 Segment.cmdsize = SC.cmdsize; in getSegment()
379 Segment.vmaddr = SC.vmaddr; in getSegment()
380 Segment.vmsize = SC.vmsize; in getSegment()
381 Segment.fileoff = SC.fileoff; in getSegment()
385 Segment.nsects = SC.nsects; in getSegment()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCSectionMachO.cpp83 MCSectionMachO::MCSectionMachO(StringRef Segment, StringRef Section, in MCSectionMachO() argument
88 assert(Segment.size() <= 16 && Section.size() <= 16 && in MCSectionMachO()
91 if (i < Segment.size()) in MCSectionMachO()
92 SegmentName[i] = Segment[i]; in MCSectionMachO()
178 StringRef &Segment, // Out. in ParseSectionSpecifier() argument
191 Segment = GetEmptyOrTrim(0); in ParseSectionSpecifier()
H A DWasmObjectWriter.cpp652 const WasmDataSegment &Segment = DataSegments[SymRef.Segment]; in getProvisionalValue() local
1042 W->OS << Segment.Data; // data in writeDataSection()
1149 writeString(Segment.Name); in writeLinkingMetaDataSection()
1150 encodeULEB128(Segment.Alignment, W->OS); in writeLinkingMetaDataSection()
1450 Segment.Name = SectionName; in writeOneObject()
1451 Segment.InitFlags = Section.getPassive() in writeOneObject()
1454 Segment.Offset = DataSize; in writeOneObject()
1455 Segment.Section = &Section; in writeOneObject()
1456 addData(Segment.Data, Section); in writeOneObject()
1459 DataSize += Segment.Data.size(); in writeOneObject()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp1349 wasm::WasmElemSegment Segment; in parseElemSection() local
1362 Segment.TableNumber = 0; in parseElemSection()
1369 Segment.Offset.Value.Int32 = 0; in parseElemSection()
1384 if (Segment.ElemKind != 0) in parseElemSection()
1402 ElemSegments.push_back(Segment); in parseElemSection()
1418 WasmSegment Segment; in parseDataSection() local
1420 Segment.Data.MemoryIndex = in parseDataSection()
1438 Segment.Data.Alignment = 0; in parseDataSection()
1439 Segment.Data.LinkingFlags = 0; in parseDataSection()
1440 Segment.Data.Comdat = UINT32_MAX; in parseDataSection()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativePublicSymbol.cpp36 uint32_t NativePublicSymbol::getAddressSection() const { return Sym.Segment; } in getAddressSection()
43 return Session.getRVAFromSectOffset(Sym.Segment, Sym.Offset); in getRelativeVirtualAddress()
47 return Session.getVAFromSectOffset(Sym.Segment, Sym.Offset); in getVirtualAddress()
H A DNativeFunctionSymbol.cpp44 uint32_t NativeFunctionSymbol::getAddressSection() const { return Sym.Segment; } in getAddressSection()
52 return Session.getRVAFromSectOffset(Sym.Segment, Sym.CodeOffset); in getRelativeVirtualAddress()
56 return Session.getVAFromSectOffset(Sym.Segment, Sym.CodeOffset); in getVirtualAddress()
H A DGSIStreamBuilder.cpp114 FixedMem->Pub.Segment = Pub.Segment; in serializePublic()
428 if (L.Segment != R.Segment) in computeAddrMap()
429 return L.Segment < R.Segment; in computeAddrMap()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DSymbolRecordMapping.cpp53 error(IO.mapInteger(Block.Segment)); in visitKnownRecord()
65 error(IO.mapInteger(Thunk.Segment)); in visitKnownRecord()
108 error(IO.mapInteger(CoffGroup.Segment)); in visitKnownRecord()
137 error(IO.mapInteger(CallSiteInfo.Segment)); in visitKnownRecord()
223 error(IO.mapInteger(Data.Segment)); in visitKnownRecord()
332 error(IO.mapInteger(HeapAllocSite.Segment)); in visitKnownRecord()
365 error(IO.mapInteger(Public.Segment)); in visitKnownRecord()
385 error(IO.mapInteger(Label.Segment)); in visitKnownRecord()
418 error(IO.mapInteger(Proc.Segment)); in visitKnownRecord()
452 error(IO.mapInteger(Data.Segment)); in visitKnownRecord()
[all …]
H A DSymbolDumper.cpp129 W.printHex("Segment", Block.Segment); in visitKnownRecord()
141 W.printNumber("Seg", Thunk.Segment); in visitKnownRecord()
178 W.printNumber("Segment", CoffGroup.Segment); in visitKnownRecord()
205 W.printHex("Segment", CallSiteInfo.Segment); in visitKnownRecord()
443 W.printHex("Segment", HeapAllocSite.Segment); in visitKnownRecord()
517 W.printNumber("Seg", Public.Segment); in visitKnownRecord()
537 W.printHex("Segment", Label.Segment); in visitKnownRecord()
578 W.printHex("Segment", Proc.Segment); in visitKnownRecord()
639 W.printHex("Segment", Annot.Segment); in visitKnownRecord()
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/
H A DMultilib.cpp29 static void normalizePathSegment(std::string &Segment) { in normalizePathSegment() argument
30 StringRef seg = Segment; in normalizePathSegment()
41 Segment.clear(); in normalizePathSegment()
47 Segment = "/" + seg.str(); in normalizePathSegment()
49 Segment = std::string(seg); in normalizePathSegment()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSectionMachO.h35 MCSectionMachO(StringRef Segment, StringRef Section, unsigned TAA,
65 StringRef &Segment, // Out.
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolRecord.h62 uint16_t Segment = 0; variable
80 uint16_t Segment = 0; variable
133 uint16_t Segment = 0; variable
356 ulittle16_t Segment; member
371 uint16_t Segment = 0; variable
617 uint16_t Segment = 0; variable
637 uint16_t Segment = 0; variable
814 uint16_t Segment = 0; variable
835 uint16_t Segment = 0; variable
950 uint16_t Segment = 0; variable
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp71 SDValue Segment; member
317 if (AM.Segment.getNode()) in getAddressOperands()
318 Segment = AM.Segment; in getAddressOperands()
2328 (AM.Segment.getNode() && !Backup.Segment.getNode()) >= 2) in matchAddressRecursively()
2633 SDValue Copy = AM.Segment; in selectLEAAddr()
2635 AM.Segment = T; in selectLEAAddr()
2638 assert (T == AM.Segment); in selectLEAAddr()
2639 AM.Segment = Copy; in selectLEAAddr()
3175 Segment)) in foldLoadStoreIntoMemOperand()
4641 Segment, in Select()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DObject.h46 class Segment; variable
331 void writePhdr(const Segment &Seg);
393 Segment *ParentSegment = nullptr;
436 class Segment {
461 Segment *ParentSegment = nullptr;
466 Segment() = default;
951 void setParentSegment(Segment &Child);
1014 using SegPtr = std::unique_ptr<Segment>;
1039 Segment ElfHdrSegment;
1040 Segment ProgramHdrSegment;
[all …]
H A DObject.cpp328 Segment *Seg = Sec->ParentSegment; in sectionPhysicalAddr()
1242 static bool compareSegmentsByOffset(const Segment *A, const Segment *B) { in compareSegmentsByOffset()
1437 Segment &Seg = Obj.addSegment(Data); in readProgramHeaders()
1477 for (Segment &Child : Obj.segments()) in readProgramHeaders()
2090 for (Segment &Seg : Obj.segments()) { in writeSegmentData()
2138 for (auto &Segment : Segments) in removeSections() local
2233 for (Segment *Seg : Segments) { in layoutSegments()
2271 Segment.Offset + (Sec.OriginalOffset - Segment.OriginalOffset); in layoutSections()
2326 for (Segment *Seg : Segments) { in layoutSegmentsForOnlyKeepDebug()
2363 Segment &ElfHdr = Obj.ElfHdrSegment; in initEhdrSegment()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DDarwinAsmParser.cpp53 bool parseSectionSwitch(StringRef Segment, StringRef Section,
474 bool DarwinAsmParser::parseSectionSwitch(StringRef Segment, StringRef Section, in parseSectionSwitch() argument
484 Segment, Section, TAA, StubSize, in parseSectionSwitch()
689 StringRef Segment, Section; in parseDirectiveSection() local
694 SectionSpec, Segment, Section, TAA, TAAParsed, StubSize)) in parseDirectiveSection()
721 bool isText = Segment == "__TEXT"; // FIXME: Hack. in parseDirectiveSection()
723 Segment, Section, TAA, StubSize, in parseDirectiveSection()
885 StringRef Segment; in parseDirectiveZerofill() local
886 if (getParser().parseIdentifier(Segment)) in parseDirectiveZerofill()
904 getContext().getMachOSection(Segment, Section, MachO::S_ZEROFILL, 0, in parseDirectiveZerofill()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h582 Path index(unsigned Index) const { return Path(this, Segment(Index)); } in index()
584 Path field(StringRef Field) const { return Path(this, Segment(Field)); } in field()
589 class Segment {
594 Segment() = default;
595 Segment(Root *R) : Pointer(reinterpret_cast<uintptr_t>(R)) {} in Segment() function
596 Segment(llvm::StringRef Field) in Segment() function
599 Segment(unsigned Index) : Pointer(0), Offset(Index) {} in Segment() function
610 Segment Seg;
612 Path(const Path *Parent, Segment S) : Parent(Parent), Seg(S) {} in Path()
620 std::vector<Path::Segment> ErrorPath; // Only valid in error state. Reversed.

12345