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()
40 std::unique_ptr<repr::IRReader> new_reader = in GenerateCompatibilityReport()
41 repr::IRReader::CreateIRReader(text_format_new_); in GenerateCompatibilityReport()
47 std::unique_ptr<repr::IRDiffDumper> ir_diff_dumper = in GenerateCompatibilityReport()
48 repr::IRDiffDumper::CreateIRDiffDumper(text_format_diff_, cr_); in GenerateCompatibilityReport()
49 repr::CompatibilityStatusIR status = in GenerateCompatibilityReport()
59 repr::CompatibilityStatusIR HeaderAbiDiff::CompareTUs( in CompareTUs()
60 const repr::ModuleIR &old_tu, const repr::ModuleIR &new_tu, in CompareTUs()
61 repr::IRDiffDumper *ir_diff_dumper) { in CompareTUs()
64 const AbiElementMap<const repr::TypeIR *> old_types = in CompareTUs()
66 const AbiElementMap<const repr::TypeIR *> new_types = in CompareTUs()
93 repr::CompatibilityStatusIR combined_status = in CompareTUs()
102 std::pair<AbiElementMap<const repr::EnumTypeIR *>,
103 AbiElementMap<const repr::RecordTypeIR *>>
104 HeaderAbiDiff::ExtractUserDefinedTypes(const repr::ModuleIR &tu) { in ExtractUserDefinedTypes()
105 AbiElementMap<const repr::EnumTypeIR *> enum_types; in ExtractUserDefinedTypes()
106 AbiElementMap<const repr::RecordTypeIR *> record_types; in ExtractUserDefinedTypes()
115 const repr::TypeIR *type = *(odr_list.begin()); in ExtractUserDefinedTypes()
116 const repr::RecordTypeIR *record_type = nullptr; in ExtractUserDefinedTypes()
118 case repr::RecordTypeKind: in ExtractUserDefinedTypes()
119 record_type = static_cast<const repr::RecordTypeIR *>(type); in ExtractUserDefinedTypes()
126 case repr::EnumTypeKind: in ExtractUserDefinedTypes()
128 static_cast<const repr::EnumTypeIR *>(type)->GetLinkerSetKey(), in ExtractUserDefinedTypes()
129 static_cast<const repr::EnumTypeIR *>(type)); in ExtractUserDefinedTypes()
131 case repr::FunctionTypeKind: in ExtractUserDefinedTypes()
142 const repr::ModuleIR &old_tu, const repr::ModuleIR &new_tu, in CollectUserDefinedTypes()
143 const AbiElementMap<const repr::TypeIR *> &old_types_map, in CollectUserDefinedTypes()
144 const AbiElementMap<const repr::TypeIR *> &new_types_map, in CollectUserDefinedTypes()
145 repr::IRDiffDumper *ir_diff_dumper) { in CollectUserDefinedTypes()
164 const AbiElementMap<const repr::TypeIR *> &old_types_map, in CollectUserDefinedTypesInternal()
165 const AbiElementMap<const repr::TypeIR *> &new_types_map, in CollectUserDefinedTypesInternal()
166 repr::IRDiffDumper *ir_diff_dumper) { in CollectUserDefinedTypesInternal()
172 repr::DiffMessageIR::Unreferenced)); in CollectUserDefinedTypesInternal()
181 const AbiElementMap<const repr::TypeIR *> &old_types_map, in CollectDynsymExportables()
182 const AbiElementMap<const repr::TypeIR *> &new_types_map, in CollectDynsymExportables()
183 repr::IRDiffDumper *ir_diff_dumper) { in CollectDynsymExportables()
186 AbiElementMap<const repr::ElfSymbolIR *> old_elf_symbol_map; in CollectDynsymExportables()
187 AbiElementMap<const repr::ElfSymbolIR *> new_elf_symbol_map; in CollectDynsymExportables()
210 repr::DiffMessageIR::Referenced)) { in CollectDynsymExportables()
227 const AbiElementMap<const repr::ElfSymbolIR *> *old_elf_map, in Collect()
228 const AbiElementMap<const repr::ElfSymbolIR *> *new_elf_map, in Collect()
229 repr::IRDiffDumper *ir_diff_dumper, in Collect()
230 const AbiElementMap<const repr::TypeIR *> &old_types_map, in Collect()
231 const AbiElementMap<const repr::TypeIR *> &new_types_map) { in Collect()
234 ir_diff_dumper, repr::DiffMessageIR::Removed, old_types_map) || in Collect()
237 ir_diff_dumper, repr::DiffMessageIR::Added, new_types_map)) { in Collect()
245 const AbiElementMap<const repr::ElfSymbolIR *> &old_symbols, in CollectElfSymbols()
246 const AbiElementMap<const repr::ElfSymbolIR *> &new_symbols, in CollectElfSymbols()
247 repr::IRDiffDumper *ir_diff_dumper) { in CollectElfSymbols()
248 std::vector<const repr::ElfSymbolIR *> removed_elements = in CollectElfSymbols()
251 std::vector<const repr::ElfSymbolIR *> added_elements = in CollectElfSymbols()
255 repr::IRDiffDumper::DiffKind::Removed) && in CollectElfSymbols()
257 repr::IRDiffDumper::DiffKind::Added)); in CollectElfSymbols()
261 std::vector<const repr::ElfSymbolIR *> &elf_elements, in PopulateElfElements()
262 repr::IRDiffDumper *ir_diff_dumper, in PopulateElfElements()
263 repr::IRDiffDumper::DiffKind diff_kind) { in PopulateElfElements()
266 elf_element->GetBinding() == repr::ElfSymbolIR::Weak) { in PopulateElfElements()
280 const AbiElementMap<const repr::ElfSymbolIR *> *old_elf_map, in PopulateRemovedElements()
281 const AbiElementMap<const repr::ElfSymbolIR *> *new_elf_map, in PopulateRemovedElements()
282 repr::IRDiffDumper *ir_diff_dumper, in PopulateRemovedElements()
283 repr::IRDiffDumper::DiffKind diff_kind, in PopulateRemovedElements()
284 const AbiElementMap<const repr::TypeIR *> &removed_types_map) { in PopulateRemovedElements()
302 const AbiElementMap<const repr::TypeIR *> &old_types, in PopulateCommonElements()
303 const AbiElementMap<const repr::TypeIR *> &new_types, in PopulateCommonElements()
304 repr::IRDiffDumper *ir_diff_dumper, in PopulateCommonElements()
305 repr::IRDiffDumper::DiffKind diff_kind) { in PopulateCommonElements()
319 const AbiElementMap<const repr::ElfSymbolIR *> *old_elf_map, in DumpLoneElements()
320 const AbiElementMap<const repr::ElfSymbolIR *> *new_elf_map, in DumpLoneElements()
321 repr::IRDiffDumper *ir_diff_dumper, in DumpLoneElements()
322 repr::IRDiffDumper::DiffKind diff_kind, in DumpLoneElements()
323 const AbiElementMap<const repr::TypeIR *> &types_map) { in DumpLoneElements()
350 elem_it->second->GetBinding() == repr::ElfSymbolIR::Weak) { in DumpLoneElements()
374 const AbiElementMap<const repr::TypeIR *> &old_types, in DumpDiffElements()
375 const AbiElementMap<const repr::TypeIR *> &new_types, in DumpDiffElements()
376 repr::IRDiffDumper *ir_diff_dumper, in DumpDiffElements()
377 repr::IRDiffDumper::DiffKind diff_kind) { in DumpDiffElements()