Lines Matching refs:segments
119 std::vector<OutputSegment *> segments; member in lld::wasm::__anonee217dbf0111::Writer
272 for (OutputSegment *seg : segments) { in layoutMemory()
422 addSection(make<DataSection>(segments)); in addSections()
493 tlsUsed = tlsUsed || llvm::any_of(file->segments, isTLS); in populateTargetFeatures()
817 for (InputChunk *chunk : file->segments) in scanRelocations()
891 segments.push_back(s); in createOutputSegment()
897 for (InputChunk *segment : file->segments) { in createOutputSegments()
917 std::stable_sort(segments.begin(), segments.end(), in createOutputSegments()
930 for (size_t i = 0; i < segments.size(); ++i) in createOutputSegments()
931 segments[i]->index = i; in createOutputSegments()
935 for (OutputSegment *seg : segments) in createOutputSegments()
947 if (segments.size() <= 1) in combineOutputSegments()
950 combined->startVA = segments[0]->startVA; in combineOutputSegments()
951 for (OutputSegment *s : segments) { in combineOutputSegments()
970 segments = {combined}; in combineOutputSegments()
993 return llvm::any_of(segments, [this](const OutputSegment *s) { in hasPassiveInitializedSegments()
1167 for (const OutputSegment *s : segments) { in createInitMemoryFunction()
1254 for (const OutputSegment *s : segments) { in createInitMemoryFunction()
1309 for (const OutputSegment *seg : segments) in createApplyDataRelocationsFunction()
1425 for (auto *seg : segments) { in createInitTLSFunction()
1511 out.dataCountSec = make<DataCountSection>(segments); in createSyntheticSectionsPostLayout()
1512 out.linkingSec = make<LinkingSection>(initFunctions, segments); in createSyntheticSectionsPostLayout()
1513 out.nameSec = make<NameSection>(segments); in createSyntheticSectionsPostLayout()
1540 for (const OutputSegment *seg : segments) { in run()