Lines Matching refs:addend
29 const repr::BuiltinTypeIR *builtin_type, const repr::ModuleIR &addend, in MergeBuiltinType() argument
49 const repr::TypeIR *ud_type, const repr::ModuleIR &addend, in LookupUserDefinedType() argument
65 repr::AbiDiffHelper diff_helper(module_->type_graph_, addend.type_graph_, in LookupUserDefinedType()
90 const repr::TypeIR *addend_node, const repr::ModuleIR &addend, in LookupType() argument
115 addend_node, addend, unique_type_id, local_to_global_type_id_map); in LookupType()
123 const repr::ModuleIR &addend, repr::ReferencesOtherType *references_type, in MergeReferencingTypeInternal() argument
139 auto local_type_it = addend.type_graph_.find(referenced_type_id); in MergeReferencingTypeInternal()
140 if (local_type_it != addend.type_graph_.end()) { in MergeReferencingTypeInternal()
144 MergeType(local_type_it->second, addend, local_to_global_type_id_map); in MergeReferencingTypeInternal()
157 const repr::ModuleIR &addend, repr::RecordTypeIR *added_node, in MergeRecordFields() argument
160 MergeReferencingTypeInternal(addend, &field, local_to_global_type_id_map); in MergeRecordFields()
166 const repr::ModuleIR &addend, repr::RecordTypeIR *added_node, in MergeRecordCXXBases() argument
169 MergeReferencingTypeInternal(addend, &base, local_to_global_type_id_map); in MergeRecordCXXBases()
175 const repr::ModuleIR &addend, repr::RecordTypeIR *added_node, in MergeRecordTemplateElements() argument
179 addend, &template_element, local_to_global_type_id_map); in MergeRecordTemplateElements()
185 const repr::ModuleIR &addend, repr::RecordTypeIR *added_node, in MergeRecordDependencies() argument
188 MergeRecordFields(addend, added_node, local_to_global_type_id_map); in MergeRecordDependencies()
191 MergeRecordCXXBases(addend, added_node, local_to_global_type_id_map); in MergeRecordDependencies()
193 MergeRecordTemplateElements(addend, added_node, local_to_global_type_id_map); in MergeRecordDependencies()
200 const T *addend_node, const repr::ModuleIR &addend, in UpdateUDTypeAccounting() argument
204 addend.GetCompilationUnitPath(addend_node); in UpdateUDTypeAccounting()
234 const repr::RecordTypeIR *addend_node, const repr::ModuleIR &addend, in MergeRecordAndDependencies() argument
237 addend_node, addend, local_to_global_type_id_map, in MergeRecordAndDependencies()
239 MergeRecordDependencies(addend, &p.second->second, in MergeRecordAndDependencies()
246 const repr::ModuleIR &addend, repr::EnumTypeIR *added_node, in MergeEnumDependencies() argument
252 auto it = addend.type_graph_.find(underlying_type_id); in MergeEnumDependencies()
253 if (it == addend.type_graph_.end()) { in MergeEnumDependencies()
258 it->second, addend, local_to_global_type_id_map); in MergeEnumDependencies()
266 const repr::EnumTypeIR *addend_node, const repr::ModuleIR &addend, in MergeEnumType() argument
269 addend_node, addend, local_to_global_type_id_map, &module_->enum_types_); in MergeEnumType()
270 MergeEnumDependencies(addend, &p.second->second, local_to_global_type_id_map); in MergeEnumType()
276 const repr::FunctionTypeIR *addend_node, const repr::ModuleIR &addend, in MergeFunctionType() argument
279 addend_node, addend, local_to_global_type_id_map, in MergeFunctionType()
281 MergeCFunctionLikeDeps(addend, &p.second->second, in MergeFunctionType()
289 const repr::ModuleIR &addend, const T *addend_node, in MergeReferencingTypeInternalAndUpdateParent() argument
300 merge_status = MergeReferencingTypeInternal(addend, &added_node, in MergeReferencingTypeInternalAndUpdateParent()
378 const repr::ModuleIR &addend, const repr::TypeIR *addend_node, in MergeReferencingType() argument
387 DereferenceType(addend, addend_node); in MergeReferencingType()
390 addend.GetCompilationUnitPath(final_referenced_type); in MergeReferencingType()
406 addend, static_cast<const repr::PointerTypeIR *>(addend_node), in MergeReferencingType()
411 addend, static_cast<const repr::QualifiedTypeIR *>(addend_node), in MergeReferencingType()
416 addend, static_cast<const repr::ArrayTypeIR *>(addend_node), in MergeReferencingType()
421 addend, static_cast<const repr::LvalueReferenceTypeIR *>(addend_node), in MergeReferencingType()
426 addend, static_cast<const repr::RvalueReferenceTypeIR *>(addend_node), in MergeReferencingType()
437 const repr::TypeIR *addend_node, const repr::ModuleIR &addend, in MergeTypeInternal() argument
442 static_cast<const repr::BuiltinTypeIR *>(addend_node), addend, in MergeTypeInternal()
446 static_cast<const repr::RecordTypeIR *>(addend_node), addend, in MergeTypeInternal()
450 addend, local_to_global_type_id_map); in MergeTypeInternal()
453 static_cast<const repr::FunctionTypeIR *>(addend_node), addend, in MergeTypeInternal()
456 return MergeReferencingType(addend, addend_node, in MergeTypeInternal()
464 const repr::TypeIR *addend_node, const repr::ModuleIR &addend, in MergeType() argument
475 addend_node, addend, local_to_global_type_id_map); in MergeType()
480 addend_node, addend, local_to_global_type_id_map); in MergeType()
486 const repr::ModuleIR &addend, repr::CFunctionLikeIR *cfunction_like_ir, in MergeCFunctionLikeDeps() argument
490 addend.type_graph_.find(cfunction_like_ir->GetReturnType()); in MergeCFunctionLikeDeps()
491 if (ret_type_it != addend.type_graph_.end()) { in MergeCFunctionLikeDeps()
493 MergeStatus ret_merge_status = MergeType(ret_type_it->second, addend, in MergeCFunctionLikeDeps()
500 MergeReferencingTypeInternal(addend, ¶m, local_to_global_type_id_map); in MergeCFunctionLikeDeps()
506 repr::FunctionIR *added_node, const repr::ModuleIR &addend, in MergeFunctionDeps() argument
508 MergeCFunctionLikeDeps(addend, added_node, local_to_global_type_id_map); in MergeFunctionDeps()
512 MergeReferencingTypeInternal(addend, &template_element, in MergeFunctionDeps()
527 const repr::FunctionIR *addend_node, const repr::ModuleIR &addend, in MergeFunction() argument
536 MergeFunctionDeps(&function_ir, addend, local_to_global_type_id_map); in MergeFunction()
543 const repr::GlobalVarIR *addend_node, const repr::ModuleIR &addend, in MergeGlobalVariable() argument
552 MergeReferencingTypeInternal(addend, &global_variable_ir, in MergeGlobalVariable()
559 void ModuleMerger::MergeGraphs(const repr::ModuleIR &addend) { in MergeGraphs() argument
565 for (auto &&type_ir : addend.type_graph_) { in MergeGraphs()
566 MergeType(type_ir.second, addend, &merged_types_cache); in MergeGraphs()
569 for (auto &&function_ir : addend.functions_) { in MergeGraphs()
570 MergeFunction(&function_ir.second, addend, &merged_types_cache); in MergeGraphs()
573 for (auto &&global_var_ir : addend.global_variables_) { in MergeGraphs()
574 MergeGlobalVariable(&global_var_ir.second, addend, &merged_types_cache); in MergeGraphs()