/development/vndk/tools/header-checker/src/linker/ |
D | module_merger.h | 44 : module_(new repr::ModuleIR(exported_headers)) {} in ModuleMerger() 46 const repr::ModuleIR &GetModule() { in GetModule() 50 void MergeGraphs(const repr::ModuleIR &addend); 54 const repr::ModuleIR &addend, repr::CFunctionLikeIR *cfunction_like_ir, 58 const repr::FunctionTypeIR *addend_node, const repr::ModuleIR &addend, 63 const repr::ModuleIR &addend, 67 const repr::ModuleIR &addend, repr::EnumTypeIR *added_node, 71 const repr::RecordTypeIR *addend_node, const repr::ModuleIR &addend, 75 const repr::ModuleIR &addend, repr::RecordTypeIR *added_node, 79 const repr::ModuleIR &addend, repr::RecordTypeIR *added_node, [all …]
|
D | header_abi_linker.cpp | 141 bool LinkDecl(repr::ModuleIR *dst, 153 bool LinkTypes(const repr::ModuleIR &module, repr::ModuleIR *linked_module); 155 bool LinkFunctions(const repr::ModuleIR &module, 156 repr::ModuleIR *linked_module); 158 bool LinkGlobalVars(const repr::ModuleIR &module, 159 repr::ModuleIR *linked_module); 161 bool LinkExportedSymbols(repr::ModuleIR *linked_module); 163 bool LinkExportedSymbols(repr::ModuleIR *linked_module, 167 bool LinkExportedSymbols(repr::ModuleIR *linked_module, 265 const repr::ModuleIR &module = merger->GetModule(); in LinkAndDump() [all …]
|
D | module_merger.cpp | 29 const repr::BuiltinTypeIR *builtin_type, const repr::ModuleIR &addend, in MergeBuiltinType() 49 const repr::TypeIR *ud_type, const repr::ModuleIR &addend, in LookupUserDefinedType() 90 const repr::TypeIR *addend_node, const repr::ModuleIR &addend, in LookupType() 123 const repr::ModuleIR &addend, repr::ReferencesOtherType *references_type, in MergeReferencingTypeInternal() 157 const repr::ModuleIR &addend, repr::RecordTypeIR *added_node, in MergeRecordFields() 166 const repr::ModuleIR &addend, repr::RecordTypeIR *added_node, in MergeRecordCXXBases() 175 const repr::ModuleIR &addend, repr::RecordTypeIR *added_node, in MergeRecordTemplateElements() 185 const repr::ModuleIR &addend, repr::RecordTypeIR *added_node, in MergeRecordDependencies() 200 const T *addend_node, const repr::ModuleIR &addend, in UpdateUDTypeAccounting() 234 const repr::RecordTypeIR *addend_node, const repr::ModuleIR &addend, in MergeRecordAndDependencies() [all …]
|
/development/vndk/tools/header-checker/src/repr/ |
D | ir_representation.cpp | 35 bool ModuleIR::AddLinkableMessage(const LinkableMessageIR &lm) { in AddLinkableMessage() 75 bool ModuleIR::AddElfSymbol(const ElfSymbolIR &elf_symbol) { in AddElfSymbol() 88 void ModuleIR::AddFunction(FunctionIR &&function) { in AddFunction() 96 void ModuleIR::AddGlobalVariable(GlobalVarIR &&global_var) { in AddGlobalVariable() 105 void ModuleIR::AddRecordType(RecordTypeIR &&record_type) { in AddRecordType() 116 void ModuleIR::AddFunctionType(FunctionTypeIR &&function_type) { in AddFunctionType() 127 void ModuleIR::AddEnumType(EnumTypeIR &&enum_type) { in AddEnumType() 138 void ModuleIR::AddLvalueReferenceType( in AddLvalueReferenceType() 148 void ModuleIR::AddRvalueReferenceType( in AddRvalueReferenceType() 158 void ModuleIR::AddQualifiedType(QualifiedTypeIR &&qualified_type) { in AddQualifiedType() [all …]
|
D | ir_reader.h | 36 : module_(new ModuleIR(exported_headers)) {} in IRReader() 42 ModuleIR &GetModule() { in GetModule() 46 std::unique_ptr<ModuleIR> TakeModule() { in TakeModule() 54 std::unique_ptr<ModuleIR> module_;
|
D | ir_dumper.h | 36 virtual bool Dump(const ModuleIR &module) = 0; 39 bool DumpModule(const ModuleIR &module);
|
D | ir_dumper.cpp | 66 bool IRDumper::DumpModule(const ModuleIR &module) { in DumpModule()
|
D | ir_representation.h | 769 class ModuleIR { 771 ModuleIR(const std::set<std::string> *exported_headers) in ModuleIR() function
|
/development/vndk/tools/header-checker/src/dumper/ |
D | abi_wrappers.h | 46 repr::ModuleIR *module, 102 repr::ModuleIR *module_; 112 const clang::RecordDecl *record_decl, repr::ModuleIR *module, 153 const clang::FunctionDecl *decl, repr::ModuleIR *module, 184 const clang::FunctionType *function_type, repr::ModuleIR *module, 200 const clang::EnumDecl *decl, repr::ModuleIR *module, 221 const clang::VarDecl *decl, repr::ModuleIR *module,
|
D | ast_processing.cpp | 50 const clang::Decl *tu_decl, repr::ModuleIR *module, in HeaderASTVisitor() 86 repr::ModuleIR *module, in MutateFunctionWithLinkageName() 95 repr:: ModuleIR *module, in AddMangledFunctions() 221 std::unique_ptr<repr::ModuleIR> module( in HandleTranslationUnit() 222 new repr::ModuleIR(nullptr /*FIXME*/)); in HandleTranslationUnit()
|
D | ast_processing.h | 43 repr::ModuleIR *module, 68 repr::ModuleIR *module_;
|
D | abi_wrappers.cpp | 62 repr::ModuleIR *module, in ABIWrapper() 444 const clang::FunctionType *function_type, repr::ModuleIR *module, in FunctionTypeWrapper() 493 repr::ModuleIR *module, in FunctionDeclWrapper() 588 const clang::RecordDecl *decl, repr::ModuleIR *module, in RecordDeclWrapper() 871 const clang::EnumDecl *decl, repr::ModuleIR *module, in EnumDeclWrapper() 925 const clang::VarDecl *decl, repr::ModuleIR *module, in GlobalVarDeclWrapper()
|
/development/vndk/tools/header-checker/src/diff/ |
D | abi_diff.h | 57 const repr::ModuleIR &old_tu, 58 const repr::ModuleIR &new_tu, 129 ExtractUserDefinedTypes(const repr::ModuleIR &tu); 132 const repr::ModuleIR &old_tu, 133 const repr::ModuleIR &new_tu,
|
D | abi_diff.cpp | 61 const repr::ModuleIR &old_tu, const repr::ModuleIR &new_tu, in CompareTUs() 105 HeaderAbiDiff::ExtractUserDefinedTypes(const repr::ModuleIR &tu) { in ExtractUserDefinedTypes() 143 const repr::ModuleIR &old_tu, const repr::ModuleIR &new_tu, in CollectUserDefinedTypes()
|
/development/vndk/tools/header-checker/src/repr/protobuf/ |
D | ir_dumper.h | 65 bool Dump(const ModuleIR &module) override;
|
D | ir_dumper.cpp | 474 bool ProtobufIRDumper::Dump(const ModuleIR &module) { in Dump()
|
/development/vndk/tools/header-checker/src/repr/json/ |
D | ir_dumper.h | 85 bool Dump(const ModuleIR &module) override;
|
D | ir_dumper.cpp | 395 bool JsonIRDumper::Dump(const ModuleIR &module) { in Dump()
|