• Home
  • Raw
  • Download

Lines Matching refs:addend

54     const BuiltinTypeIR *builtin_type, const IRReader &addend,  in IsBuiltinTypeNodePresent()  argument
78 const TypeIR *ud_type, const IRReader &addend, in DoesUDTypeODRViolationExist() argument
95 AbiDiffHelper diff_helper(module_->type_graph_, addend.module_->type_graph_, in DoesUDTypeODRViolationExist()
116 const TypeIR *addend_node, const IRReader &addend, in IsTypeNodePresent() argument
139 addend_node, addend, unique_type_id, local_to_global_type_id_map); in IsTypeNodePresent()
147 const IRReader &addend, in MergeReferencingTypeInternal() argument
165 auto local_type_it = addend.module_->type_graph_.find(referenced_type_id); in MergeReferencingTypeInternal()
166 if (local_type_it != addend.module_->type_graph_.end()) { in MergeReferencingTypeInternal()
170 MergeType(local_type_it->second, addend, local_to_global_type_id_map); in MergeReferencingTypeInternal()
184 const IRReader &addend, RecordTypeIR *added_node, in MergeRecordFields() argument
187 MergeReferencingTypeInternal(addend, &field, local_to_global_type_id_map); in MergeRecordFields()
193 const IRReader &addend, RecordTypeIR *added_node, in MergeRecordCXXBases() argument
196 MergeReferencingTypeInternal(addend, &base, local_to_global_type_id_map); in MergeRecordCXXBases()
202 const IRReader &addend, RecordTypeIR *added_node, in MergeRecordTemplateElements() argument
206 addend, &template_element, local_to_global_type_id_map); in MergeRecordTemplateElements()
212 const IRReader &addend, RecordTypeIR *added_node, in MergeRecordDependencies() argument
215 MergeRecordFields(addend, added_node, local_to_global_type_id_map); in MergeRecordDependencies()
218 MergeRecordCXXBases(addend, added_node, local_to_global_type_id_map); in MergeRecordDependencies()
220 MergeRecordTemplateElements(addend, added_node, local_to_global_type_id_map); in MergeRecordDependencies()
227 const T *addend_node, const IRReader &addend, in UpdateUDTypeAccounting() argument
253 const RecordTypeIR *addend_node, const IRReader &addend, in MergeRecordAndDependencies() argument
256 UpdateUDTypeAccounting(addend_node, addend, local_to_global_type_id_map, in MergeRecordAndDependencies()
259 MergeRecordDependencies(addend, &(it->second), local_to_global_type_id_map); in MergeRecordAndDependencies()
265 const IRReader &addend, EnumTypeIR *added_node, in MergeEnumDependencies() argument
271 auto it = addend.module_->type_graph_.find(underlying_type_id); in MergeEnumDependencies()
272 if (it == addend.module_->type_graph_.end()) { in MergeEnumDependencies()
276 MergeStatus merge_status = MergeType(it->second, addend, in MergeEnumDependencies()
285 const EnumTypeIR *addend_node, const IRReader &addend, in MergeEnumType() argument
288 UpdateUDTypeAccounting(addend_node, addend, local_to_global_type_id_map, in MergeEnumType()
291 MergeEnumDependencies(addend, &(it->second), local_to_global_type_id_map); in MergeEnumType()
297 const FunctionTypeIR *addend_node, const IRReader &addend, in MergeFunctionType() argument
300 UpdateUDTypeAccounting(addend_node, addend, local_to_global_type_id_map, in MergeFunctionType()
303 MergeCFunctionLikeDeps(addend, &(it->second), local_to_global_type_id_map); in MergeFunctionType()
310 const IRReader &addend, const T *addend_node, in MergeReferencingTypeInternalAndUpdateParent() argument
319 merge_status = MergeReferencingTypeInternal(addend, &added_node, in MergeReferencingTypeInternalAndUpdateParent()
372 const IRReader &addend, const TypeIR *addend_node, in MergeReferencingType() argument
378 addend, static_cast<const PointerTypeIR *>(addend_node), in MergeReferencingType()
383 addend, static_cast<const QualifiedTypeIR *>(addend_node), in MergeReferencingType()
388 addend, static_cast<const ArrayTypeIR *>(addend_node), in MergeReferencingType()
393 addend, static_cast<const LvalueReferenceTypeIR *>(addend_node), in MergeReferencingType()
398 addend, static_cast<const RvalueReferenceTypeIR *>(addend_node), in MergeReferencingType()
411 const IRReader &addend, const TypeIR *addend_node, in MergeGenericReferringType() argument
420 return MergeReferencingType(addend, addend_node, local_to_global_type_id_map, in MergeGenericReferringType()
426 const TypeIR *addend_node, const IRReader &addend, in MergeTypeInternal() argument
431 static_cast<const BuiltinTypeIR *>(addend_node), addend, in MergeTypeInternal()
437 addend, local_to_global_type_id_map); in MergeTypeInternal()
440 addend_node), addend, local_to_global_type_id_map); in MergeTypeInternal()
443 addend_node), addend, local_to_global_type_id_map); in MergeTypeInternal()
445 return MergeGenericReferringType(addend, addend_node, in MergeTypeInternal()
453 const TypeIR *addend_node, const IRReader &addend, in MergeType() argument
464 addend_node, addend, local_to_global_type_id_map); in MergeType()
469 addend_node, addend, local_to_global_type_id_map); in MergeType()
475 const IRReader &addend, CFunctionLikeIR *cfunction_like_ir, in MergeCFunctionLikeDeps() argument
479 addend.module_->type_graph_.find(cfunction_like_ir->GetReturnType()); in MergeCFunctionLikeDeps()
480 if (ret_type_it == addend.module_->type_graph_.end()) { in MergeCFunctionLikeDeps()
485 MergeStatus ret_merge_status = MergeType(ret_type_it->second, addend, in MergeCFunctionLikeDeps()
491 MergeReferencingTypeInternal(addend, &param, local_to_global_type_id_map); in MergeCFunctionLikeDeps()
497 FunctionIR *added_node, const IRReader &addend, in MergeFunctionDeps() argument
499 MergeCFunctionLikeDeps(addend, added_node, local_to_global_type_id_map); in MergeFunctionDeps()
502 MergeReferencingTypeInternal(addend, &template_element, in MergeFunctionDeps()
516 const FunctionIR *addend_node, const IRReader &addend, in MergeFunction() argument
525 MergeFunctionDeps(&function_ir, addend, local_to_global_type_id_map); in MergeFunction()
537 const GlobalVarIR *addend_node, const IRReader &addend, in MergeGlobalVariable() argument
546 MergeReferencingTypeInternal(addend, &global_variable_ir, in MergeGlobalVariable()
553 void IRReader::MergeGraphs(const IRReader &addend) { in MergeGraphs() argument
559 for (auto &&type_ir : addend.module_->type_graph_) { in MergeGraphs()
560 MergeType(type_ir.second, addend, &merged_types_cache); in MergeGraphs()
563 for (auto &&function_ir : addend.module_->functions_) { in MergeGraphs()
564 MergeFunction(&function_ir.second, addend, &merged_types_cache); in MergeGraphs()
567 for (auto &&global_var_ir : addend.module_->global_variables_) { in MergeGraphs()
568 MergeGlobalVariable(&global_var_ir.second, addend, &merged_types_cache); in MergeGraphs()