Home
last modified time | relevance | path

Searched refs:ModuleIR (Results 1 – 18 of 18) sorted by relevance

/development/vndk/tools/header-checker/src/linker/
Dmodule_merger.h44 : 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 …]
Dheader_abi_linker.cpp140 bool LinkDecl(repr::ModuleIR *dst,
152 bool LinkTypes(const repr::ModuleIR &module, repr::ModuleIR *linked_module);
154 bool LinkFunctions(const repr::ModuleIR &module,
155 repr::ModuleIR *linked_module);
157 bool LinkGlobalVars(const repr::ModuleIR &module,
158 repr::ModuleIR *linked_module);
160 bool LinkExportedSymbols(repr::ModuleIR *linked_module);
162 bool LinkExportedSymbols(repr::ModuleIR *linked_module,
166 bool LinkExportedSymbols(repr::ModuleIR *linked_module,
264 const repr::ModuleIR &module = merger->GetModule(); in LinkAndDump()
[all …]
Dmodule_merger.cpp29 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/
Dir_representation.cpp35 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 …]
Dir_reader.h36 : 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_;
Dir_dumper.h36 virtual bool Dump(const ModuleIR &module) = 0;
39 bool DumpModule(const ModuleIR &module);
Dir_dumper.cpp66 bool IRDumper::DumpModule(const ModuleIR &module) { in DumpModule()
Dir_representation.h769 class ModuleIR {
771 ModuleIR(const std::set<std::string> *exported_headers) in ModuleIR() function
/development/vndk/tools/header-checker/src/dumper/
Dabi_wrappers.h46 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,
Dast_processing.h43 repr::ModuleIR *module,
68 repr::ModuleIR *module_;
Dast_processing.cpp50 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()
Dabi_wrappers.cpp62 repr::ModuleIR *module, in ABIWrapper()
443 const clang::FunctionType *function_type, repr::ModuleIR *module, in FunctionTypeWrapper()
492 repr::ModuleIR *module, in FunctionDeclWrapper()
587 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/
Dabi_diff.h57 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,
Dabi_diff.cpp61 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/
Dir_dumper.h65 bool Dump(const ModuleIR &module) override;
Dir_dumper.cpp474 bool ProtobufIRDumper::Dump(const ModuleIR &module) { in Dump()
/development/vndk/tools/header-checker/src/repr/json/
Dir_dumper.h85 bool Dump(const ModuleIR &module) override;
Dir_dumper.cpp394 bool JsonIRDumper::Dump(const ModuleIR &module) { in Dump()