Lines Matching refs:repr
33 repr::CompatibilityStatusIR HeaderAbiDiff::GenerateCompatibilityReport() { in GenerateCompatibilityReport()
34 std::unique_ptr<repr::IRReader> old_reader = in GenerateCompatibilityReport()
35 repr::IRReader::CreateIRReader(text_format_old_); in GenerateCompatibilityReport()
41 std::unique_ptr<repr::IRReader> new_reader = in GenerateCompatibilityReport()
42 repr::IRReader::CreateIRReader(text_format_new_); in GenerateCompatibilityReport()
48 std::unique_ptr<repr::IRDiffDumper> ir_diff_dumper = in GenerateCompatibilityReport()
49 repr::IRDiffDumper::CreateIRDiffDumper(text_format_diff_, cr_); in GenerateCompatibilityReport()
50 repr::CompatibilityStatusIR status = in GenerateCompatibilityReport()
60 repr::CompatibilityStatusIR HeaderAbiDiff::CompareTUs( in CompareTUs()
61 const repr::ModuleIR &old_tu, const repr::ModuleIR &new_tu, in CompareTUs()
62 repr::IRDiffDumper *ir_diff_dumper) { in CompareTUs()
65 const AbiElementMap<const repr::TypeIR *> old_types = in CompareTUs()
67 const AbiElementMap<const repr::TypeIR *> new_types = in CompareTUs()
94 repr::CompatibilityStatusIR combined_status = in CompareTUs()
103 std::pair<AbiElementMap<const repr::EnumTypeIR *>,
104 AbiElementMap<const repr::RecordTypeIR *>>
105 HeaderAbiDiff::ExtractUserDefinedTypes(const repr::ModuleIR &tu) { in ExtractUserDefinedTypes()
106 AbiElementMap<const repr::EnumTypeIR *> enum_types; in ExtractUserDefinedTypes()
107 AbiElementMap<const repr::RecordTypeIR *> record_types; in ExtractUserDefinedTypes()
116 const repr::TypeIR *type = odr_list.begin()->type_ir_; in ExtractUserDefinedTypes()
117 const repr::RecordTypeIR *record_type = nullptr; in ExtractUserDefinedTypes()
119 case repr::RecordTypeKind: in ExtractUserDefinedTypes()
120 record_type = static_cast<const repr::RecordTypeIR *>(type); in ExtractUserDefinedTypes()
127 case repr::EnumTypeKind: in ExtractUserDefinedTypes()
129 static_cast<const repr::EnumTypeIR *>(type)->GetLinkerSetKey(), in ExtractUserDefinedTypes()
130 static_cast<const repr::EnumTypeIR *>(type)); in ExtractUserDefinedTypes()
132 case repr::FunctionTypeKind: in ExtractUserDefinedTypes()
143 const repr::ModuleIR &old_tu, const repr::ModuleIR &new_tu, in CollectUserDefinedTypes()
144 const AbiElementMap<const repr::TypeIR *> &old_types_map, in CollectUserDefinedTypes()
145 const AbiElementMap<const repr::TypeIR *> &new_types_map, in CollectUserDefinedTypes()
146 repr::IRDiffDumper *ir_diff_dumper) { in CollectUserDefinedTypes()
165 const AbiElementMap<const repr::TypeIR *> &old_types_map, in CollectUserDefinedTypesInternal()
166 const AbiElementMap<const repr::TypeIR *> &new_types_map, in CollectUserDefinedTypesInternal()
167 repr::IRDiffDumper *ir_diff_dumper) { in CollectUserDefinedTypesInternal()
173 repr::DiffMessageIR::Unreferenced)); in CollectUserDefinedTypesInternal()
182 const AbiElementMap<const repr::TypeIR *> &old_types_map, in CollectDynsymExportables()
183 const AbiElementMap<const repr::TypeIR *> &new_types_map, in CollectDynsymExportables()
184 repr::IRDiffDumper *ir_diff_dumper) { in CollectDynsymExportables()
187 AbiElementMap<const repr::ElfSymbolIR *> old_elf_symbol_map; in CollectDynsymExportables()
188 AbiElementMap<const repr::ElfSymbolIR *> new_elf_symbol_map; in CollectDynsymExportables()
211 repr::DiffMessageIR::Referenced)) { in CollectDynsymExportables()
228 const AbiElementMap<const repr::ElfSymbolIR *> *old_elf_map, in Collect()
229 const AbiElementMap<const repr::ElfSymbolIR *> *new_elf_map, in Collect()
230 repr::IRDiffDumper *ir_diff_dumper, in Collect()
231 const AbiElementMap<const repr::TypeIR *> &old_types_map, in Collect()
232 const AbiElementMap<const repr::TypeIR *> &new_types_map) { in Collect()
235 ir_diff_dumper, repr::DiffMessageIR::Removed, old_types_map) || in Collect()
238 ir_diff_dumper, repr::DiffMessageIR::Added, new_types_map)) { in Collect()
246 const AbiElementMap<const repr::ElfSymbolIR *> &old_symbols, in CollectElfSymbols()
247 const AbiElementMap<const repr::ElfSymbolIR *> &new_symbols, in CollectElfSymbols()
248 repr::IRDiffDumper *ir_diff_dumper) { in CollectElfSymbols()
249 std::vector<const repr::ElfSymbolIR *> removed_elements = in CollectElfSymbols()
252 std::vector<const repr::ElfSymbolIR *> added_elements = in CollectElfSymbols()
256 repr::IRDiffDumper::DiffKind::Removed) && in CollectElfSymbols()
258 repr::IRDiffDumper::DiffKind::Added)); in CollectElfSymbols()
262 std::vector<const repr::ElfSymbolIR *> &elf_elements, in PopulateElfElements()
263 repr::IRDiffDumper *ir_diff_dumper, in PopulateElfElements()
264 repr::IRDiffDumper::DiffKind diff_kind) { in PopulateElfElements()
267 elf_element->GetBinding() == repr::ElfSymbolIR::Weak) { in PopulateElfElements()
281 const AbiElementMap<const repr::ElfSymbolIR *> *old_elf_map, in PopulateRemovedElements()
282 const AbiElementMap<const repr::ElfSymbolIR *> *new_elf_map, in PopulateRemovedElements()
283 repr::IRDiffDumper *ir_diff_dumper, in PopulateRemovedElements()
284 repr::IRDiffDumper::DiffKind diff_kind, in PopulateRemovedElements()
285 const AbiElementMap<const repr::TypeIR *> &removed_types_map) { in PopulateRemovedElements()
303 const AbiElementMap<const repr::TypeIR *> &old_types, in PopulateCommonElements()
304 const AbiElementMap<const repr::TypeIR *> &new_types, in PopulateCommonElements()
305 repr::IRDiffDumper *ir_diff_dumper, in PopulateCommonElements()
306 repr::IRDiffDumper::DiffKind diff_kind) { in PopulateCommonElements()
320 const AbiElementMap<const repr::ElfSymbolIR *> *old_elf_map, in DumpLoneElements()
321 const AbiElementMap<const repr::ElfSymbolIR *> *new_elf_map, in DumpLoneElements()
322 repr::IRDiffDumper *ir_diff_dumper, in DumpLoneElements()
323 repr::IRDiffDumper::DiffKind diff_kind, in DumpLoneElements()
324 const AbiElementMap<const repr::TypeIR *> &types_map) { in DumpLoneElements()
353 elem_it->second->GetBinding() == repr::ElfSymbolIR::Weak) { in DumpLoneElements()
377 const AbiElementMap<const repr::TypeIR *> &old_types, in DumpDiffElements()
378 const AbiElementMap<const repr::TypeIR *> &new_types, in DumpDiffElements()
379 repr::IRDiffDumper *ir_diff_dumper, in DumpDiffElements()
380 repr::IRDiffDumper::DiffKind diff_kind) { in DumpDiffElements()