Lines Matching +defs:run +defs:s
58 void run();
83 // until imports and exports are finalized. There are run unstead
227 parallelForEach(outputSections, [buf](OutputSection *s) {
228 assert(s->isNeeded());
229 s->writeTo(buf);
267 auto s = sha.final();
268 std::copy(s.data(), &s.data()[output.size()], output.data());
566 for (OutputSection *s : outputSections) {
567 s->setOffset(fileSize);
568 s->finalizeContents();
569 fileSize += s->getSize();
880 // If there are no ctors and there's no libc `__wasm_call_dtors` to
1019 OutputSegment *s = make<OutputSegment>(name);
1021 s->initFlags = WASM_DATA_SEGMENT_IS_PASSIVE;
1023 s->isBss = true;
1024 segments.push_back(s);
1025 return s;
1034 OutputSegment *s = nullptr;
1039 s = createOutputSegment(name);
1043 s = segmentMap[name];
1045 s->addInputSegment(segment);
1084 for (OutputSegment *s : segments) {
1086 for (InputChunk *inSeg : s->inputSegments) {
1088 inSeg->alignment = std::max(inSeg->alignment, s->alignment);
1126 return llvm::any_of(segments, [this](const OutputSegment *s) {
1127 return this->needsPassiveInitialization(s);
1140 // thread's instantiation. These passive segments are initialized and
1319 for (const OutputSegment *s : segments) {
1320 if (needsPassiveInitialization(s)) {
1325 writePtrConst(os, s->startVA, is64, "destination address");
1337 if (ctx.arg.sharedMemory && s->isTLS()) {
1343 writePtrConst(os, s->startVA, is64, "destination address");
1354 if (s->isBss) {
1356 writePtrConst(os, s->size, is64, "memory region size");
1362 writeI32Const(os, s->size, "memory region size");
1365 writeUleb128(os, s->index, "segment index immediate");
1406 for (const OutputSegment *s : segments) {
1407 if (needsPassiveInitialization(s) && !s->isBss) {
1410 if (ctx.arg.sharedMemory && s->isTLS())
1415 writeUleb128(os, s->index, "segment index immediate");
1456 // First write the body's contents to a string.
1505 // these relocation need to run on every thread.
1507 // First write the body's contents to a string.
1520 // TLS symbols. This cannot be run during the start function
1523 // First write the body's contents to a string.
1543 // First write the body's contents to a string.
1568 // First write the body's contents to a string.
1582 // Call the user's code, leaving any return values on the operand stack.
1596 // End the function, returning the return values from the user's code.
1707 void Writer::run() {
1884 void writeResult() { Writer().run(); }