Lines Matching defs:table
220 auto *table = cast<TableSymbol>(sym);
221 ImportKey<WasmTableType> key(*(table->getTableType()), module, name);
225 table->setTableNumber(numImportedTables++);
227 table->setTableNumber(entry.first->second);
313 writeUleb128(os, inputTables.size(), "table count");
314 for (const InputTable *table : inputTables)
315 writeTableType(os, table->getType());
318 void TableSection::addTable(InputTable *table) {
319 if (!table->live)
321 // Some inputs require that the indirect function table be assigned to table
325 cast<DefinedTable>(WasmSym::indirectFunctionTable)->table == table) {
327 // Alack! Some other input imported a table, meaning that we are unable
328 // to assign table number 0 to the indirect function table.
332 "conflicts with import of table " +
338 llvm_unreachable("failed to find conflicting table import");
340 inputTables.insert(inputTables.begin(), table);
343 inputTables.push_back(table);
449 // Add the table index to __table_base
547 // Don't add stub functions to the wasm table. The address of all stub
548 // functions should be zero and they should they don't appear in the table.
567 writeUleb128(os, tableNumber, "table number");
584 // We only write active function table initializers, for which the elem kind
648 writeUleb128(sub.os, t->getTableNumber(), "table number");