Searched refs:type_table (Results 1 – 10 of 10) sorted by relevance
72 inline size_t InlineSize(ElementaryType type, const TypeTable *type_table) { in InlineSize() argument88 switch (type_table->st) { in InlineSize()92 return static_cast<size_t>(type_table->values[type_table->num_elems]); in InlineSize()108 template<typename T> const char *EnumName(T tval, const TypeTable *type_table) { in EnumName() argument109 if (!type_table || !type_table->names) return nullptr; in EnumName()110 auto i = LookupEnum(static_cast<int64_t>(tval), type_table->values, in EnumName()111 type_table->num_elems); in EnumName()112 if (i >= 0 && i < static_cast<int64_t>(type_table->num_elems)) { in EnumName()113 return type_table->names[i]; in EnumName()118 void IterateObject(const uint8_t *obj, const TypeTable *type_table,[all …]
295 const auto& type_table = in _get_mobile_model_contained_types() local301 for (const auto& type_definition : type_table) { in _get_mobile_model_contained_types()338 std::unordered_set<std::string> type_table = in get() local342 model_bytecode_version, model_info, type_table, operator_version}; in get()373 for (const auto& type_name : model_info.type_table) { in is_compatible()
79 std::unordered_set<std::string> type_table; member
211 struct type_table { struct217 struct type_table type_table[] = { variable235 struct type_table *p; in add_new_variable()240 for (p = type_table; p->name; p++) { in add_new_variable()
67 class type_table(object): class86 tt = type_table()
64 const std::vector<c10::TypePtr>& type_table() const;
1208 const std::vector<TypePtr>& Code::type_table() const { in type_table() function in torch::jit::Code
2442 struct type_entry type_table[] = { variable2461 for(i = 0; type_table[i].type != 0; i++) in parse_type_arg()2462 if (type_table[i].type == atom->argv[0][0]) in parse_type_arg()2465 atom->data = &type_table[i]; in parse_type_arg()2467 if(type_table[i].type != 0) in parse_type_arg()
244 mobile_code.types_ = code.type_table(); in compileGraphToMobileCode()
313 type_table[name] = std::move(type); in insertStore()321 auto it2 = type_table.find(name); in findInThisFrame()322 if (it2 != type_table.end()) { in findInThisFrame()333 type_table[name] = std::move(type); in setType()587 auto b = runner->type_table.erase(ident.name()); in removeVar()598 for (auto& kv : type_table) { in definedVariables()605 TypeTable type_table; member