Lines Matching refs:repr
32 repr::CompatibilityStatusIR HeaderAbiDiff::GenerateCompatibilityReport() { in GenerateCompatibilityReport()
33 std::unique_ptr<repr::IRReader> old_reader = in GenerateCompatibilityReport()
34 repr::IRReader::CreateIRReader(text_format_old_); in GenerateCompatibilityReport()
35 std::unique_ptr<repr::IRReader> new_reader = in GenerateCompatibilityReport()
36 repr::IRReader::CreateIRReader(text_format_new_); in GenerateCompatibilityReport()
42 std::unique_ptr<repr::IRDiffDumper> ir_diff_dumper = in GenerateCompatibilityReport()
43 repr::IRDiffDumper::CreateIRDiffDumper(text_format_diff_, cr_); in GenerateCompatibilityReport()
44 repr::CompatibilityStatusIR status = in GenerateCompatibilityReport()
54 repr::CompatibilityStatusIR HeaderAbiDiff::CompareTUs( in CompareTUs()
55 const repr::ModuleIR &old_tu, const repr::ModuleIR &new_tu, in CompareTUs()
56 repr::IRDiffDumper *ir_diff_dumper) { in CompareTUs()
59 const AbiElementMap<const repr::TypeIR *> old_types = in CompareTUs()
61 const AbiElementMap<const repr::TypeIR *> new_types = in CompareTUs()
88 repr::CompatibilityStatusIR combined_status = in CompareTUs()
97 std::pair<AbiElementMap<const repr::EnumTypeIR *>,
98 AbiElementMap<const repr::RecordTypeIR *>>
99 HeaderAbiDiff::ExtractUserDefinedTypes(const repr::ModuleIR &tu) { in ExtractUserDefinedTypes()
100 AbiElementMap<const repr::EnumTypeIR *> enum_types; in ExtractUserDefinedTypes()
101 AbiElementMap<const repr::RecordTypeIR *> record_types; in ExtractUserDefinedTypes()
110 const repr::TypeIR *type = *(odr_list.begin()); in ExtractUserDefinedTypes()
111 const repr::RecordTypeIR *record_type = nullptr; in ExtractUserDefinedTypes()
113 case repr::RecordTypeKind: in ExtractUserDefinedTypes()
114 record_type = static_cast<const repr::RecordTypeIR *>(type); in ExtractUserDefinedTypes()
121 case repr::EnumTypeKind: in ExtractUserDefinedTypes()
123 static_cast<const repr::EnumTypeIR *>(type)->GetUniqueId(), in ExtractUserDefinedTypes()
124 static_cast<const repr::EnumTypeIR *>(type)); in ExtractUserDefinedTypes()
126 case repr::FunctionTypeKind: in ExtractUserDefinedTypes()
137 const repr::ModuleIR &old_tu, const repr::ModuleIR &new_tu, in CollectUserDefinedTypes()
138 const AbiElementMap<const repr::TypeIR *> &old_types_map, in CollectUserDefinedTypes()
139 const AbiElementMap<const repr::TypeIR *> &new_types_map, in CollectUserDefinedTypes()
140 repr::IRDiffDumper *ir_diff_dumper) { in CollectUserDefinedTypes()
159 const AbiElementMap<const repr::TypeIR *> &old_types_map, in CollectUserDefinedTypesInternal()
160 const AbiElementMap<const repr::TypeIR *> &new_types_map, in CollectUserDefinedTypesInternal()
161 repr::IRDiffDumper *ir_diff_dumper) { in CollectUserDefinedTypesInternal()
167 repr::DiffMessageIR::Unreferenced)); in CollectUserDefinedTypesInternal()
176 const AbiElementMap<const repr::TypeIR *> &old_types_map, in CollectDynsymExportables()
177 const AbiElementMap<const repr::TypeIR *> &new_types_map, in CollectDynsymExportables()
178 repr::IRDiffDumper *ir_diff_dumper) { in CollectDynsymExportables()
181 AbiElementMap<const repr::ElfSymbolIR *> old_elf_symbol_map; in CollectDynsymExportables()
182 AbiElementMap<const repr::ElfSymbolIR *> new_elf_symbol_map; in CollectDynsymExportables()
205 repr::DiffMessageIR::Referenced)) { in CollectDynsymExportables()
222 const AbiElementMap<const repr::ElfSymbolIR *> *old_elf_map, in Collect()
223 const AbiElementMap<const repr::ElfSymbolIR *> *new_elf_map, in Collect()
224 repr::IRDiffDumper *ir_diff_dumper, in Collect()
225 const AbiElementMap<const repr::TypeIR *> &old_types_map, in Collect()
226 const AbiElementMap<const repr::TypeIR *> &new_types_map) { in Collect()
229 ir_diff_dumper, repr::DiffMessageIR::Removed, old_types_map) || in Collect()
232 ir_diff_dumper, repr::DiffMessageIR::Added, new_types_map)) { in Collect()
240 const AbiElementMap<const repr::ElfSymbolIR *> &old_symbols, in CollectElfSymbols()
241 const AbiElementMap<const repr::ElfSymbolIR *> &new_symbols, in CollectElfSymbols()
242 repr::IRDiffDumper *ir_diff_dumper) { in CollectElfSymbols()
243 std::vector<const repr::ElfSymbolIR *> removed_elements = in CollectElfSymbols()
246 std::vector<const repr::ElfSymbolIR *> added_elements = in CollectElfSymbols()
250 repr::IRDiffDumper::DiffKind::Removed) && in CollectElfSymbols()
252 repr::IRDiffDumper::DiffKind::Added)); in CollectElfSymbols()
256 std::vector<const repr::ElfSymbolIR *> &elf_elements, in PopulateElfElements()
257 repr::IRDiffDumper *ir_diff_dumper, in PopulateElfElements()
258 repr::IRDiffDumper::DiffKind diff_kind) { in PopulateElfElements()
261 elf_element->GetBinding() == repr::ElfSymbolIR::Weak) { in PopulateElfElements()
275 const AbiElementMap<const repr::ElfSymbolIR *> *old_elf_map, in PopulateRemovedElements()
276 const AbiElementMap<const repr::ElfSymbolIR *> *new_elf_map, in PopulateRemovedElements()
277 repr::IRDiffDumper *ir_diff_dumper, in PopulateRemovedElements()
278 repr::IRDiffDumper::DiffKind diff_kind, in PopulateRemovedElements()
279 const AbiElementMap<const repr::TypeIR *> &removed_types_map) { in PopulateRemovedElements()
297 const AbiElementMap<const repr::TypeIR *> &old_types, in PopulateCommonElements()
298 const AbiElementMap<const repr::TypeIR *> &new_types, in PopulateCommonElements()
299 repr::IRDiffDumper *ir_diff_dumper, in PopulateCommonElements()
300 repr::IRDiffDumper::DiffKind diff_kind) { in PopulateCommonElements()
314 const AbiElementMap<const repr::ElfSymbolIR *> *old_elf_map, in DumpLoneElements()
315 const AbiElementMap<const repr::ElfSymbolIR *> *new_elf_map, in DumpLoneElements()
316 repr::IRDiffDumper *ir_diff_dumper, in DumpLoneElements()
317 repr::IRDiffDumper::DiffKind diff_kind, in DumpLoneElements()
318 const AbiElementMap<const repr::TypeIR *> &types_map) { in DumpLoneElements()
345 elem_it->second->GetBinding() == repr::ElfSymbolIR::Weak) { in DumpLoneElements()
369 const AbiElementMap<const repr::TypeIR *> &old_types, in DumpDiffElements()
370 const AbiElementMap<const repr::TypeIR *> &new_types, in DumpDiffElements()
371 repr::IRDiffDumper *ir_diff_dumper, in DumpDiffElements()
372 repr::IRDiffDumper::DiffKind diff_kind) { in DumpDiffElements()