Home
last modified time | relevance | path

Searched refs:module_ (Results 1 – 8 of 8) sorted by relevance

/development/vndk/tools/header-checker/src/repr/
Dir_reader.h53 : module_(new ModuleIR(exported_headers)) {} in IRReader()
60 return *module_; in GetModule()
64 return std::move(module_); in TakeModule()
68 MergeElements(&module_->functions_, std::move(addend.module_->functions_)); in Merge()
69 MergeElements(&module_->global_variables_, in Merge()
70 std::move(addend.module_->global_variables_)); in Merge()
71 MergeElements(&module_->record_types_, in Merge()
72 std::move(addend.module_->record_types_)); in Merge()
73 MergeElements(&module_->enum_types_, in Merge()
74 std::move(addend.module_->enum_types_)); in Merge()
[all …]
Dir_reader.cpp57 auto builtin_it = module_->builtin_types_.find(builtin_linker_set_key); in IsBuiltinTypeNodePresent()
58 if (builtin_it != module_->builtin_types_.end()) { in IsBuiltinTypeNodePresent()
65 auto it = module_->builtin_types_.emplace( in IsBuiltinTypeNodePresent()
69 module_->type_graph_.emplace(builtin_global_type_id, &((it.first)->second)); in IsBuiltinTypeNodePresent()
85 auto it = module_->odr_list_map_.find(ud_type_unique_id_and_source); in DoesUDTypeODRViolationExist()
86 if (it == module_->odr_list_map_.end()) { in DoesUDTypeODRViolationExist()
95 AbiDiffHelper diff_helper(module_->type_graph_, addend.module_->type_graph_, in DoesUDTypeODRViolationExist()
165 auto local_type_it = addend.module_->type_graph_.find(referenced_type_id); in MergeReferencingTypeInternal()
166 if (local_type_it != addend.module_->type_graph_.end()) { in MergeReferencingTypeInternal()
239 &module_->type_graph_); in UpdateUDTypeAccounting()
[all …]
/development/vndk/tools/header-checker/src/repr/protobuf/
Dir_reader.cpp212 module_->AddGlobalVariable(std::move(global_variable_ir)); in ReadGlobalVariables()
220 module_->AddPointerType(std::move(pointer_type_ir)); in ReadPointerTypes()
230 module_->AddBuiltinType(std::move(builtin_type_ir)); in ReadBuiltinTypes()
242 module_->AddQualifiedType(std::move(qualified_type_ir)); in ReadQualifiedTypes()
250 module_->AddArrayType(std::move(array_type_ir)); in ReadArrayTypes()
260 module_->AddLvalueReferenceType(std::move(lvalue_reference_type_ir)); in ReadLvalueReferenceTypes()
270 module_->AddRvalueReferenceType(std::move(rvalue_reference_type_ir)); in ReadRvalueReferenceTypes()
277 module_->AddFunction(std::move(function_ir)); in ReadFunctions()
284 module_->AddRecordType(std::move(record_type_ir)); in ReadRecordTypes()
292 module_->AddFunctionType(std::move(function_type_ir)); in ReadFunctionTypes()
[all …]
/development/vndk/tools/header-checker/src/dumper/
Dast_processing.cpp41 module_(module), ast_caches_(ast_caches) {} in HeaderASTVisitor()
58 mangle_contextp_, ast_contextp_, cip_, decl, module_, ast_caches_); in VisitRecordDecl()
69 mangle_contextp_, ast_contextp_, cip_, decl, module_, ast_caches_); in VisitEnumDecl()
135 mangle_contextp_, ast_contextp_, cip_, decl, module_, ast_caches_); in VisitFunctionDecl()
142 return AddMangledFunctions(function_wrapper.get(), module_, manglings); in VisitFunctionDecl()
146 return MutateFunctionWithLinkageName(function_wrapper.get(), module_, in VisitFunctionDecl()
157 mangle_contextp_, ast_contextp_, cip_, decl, module_, ast_caches_); in VisitVarDecl()
Dast_processing.h68 repr::ModuleIR *module_; variable
Dabi_wrappers.cpp43 module_(module), in ABIWrapper()
179 record_decl, module_, ast_caches_); in CreateAnonymousRecord()
241 module_->AddLinkableMessage(*typep)); in CreateBasicNamedAndTypedDecl()
361 cip_, func_type_ptr, module_, in SetTypeKind()
475 module_->AddLinkableMessage(*abi_decl); in GetFunctionType()
858 return module_->AddLinkableMessage(*abi_decl); in GetRecordDecl()
910 return module_->AddLinkableMessage(*abi_decl); in GetEnumDecl()
945 module_->AddLinkableMessage(*abi_decl); in GetGlobalVarDecl()
Dabi_wrappers.h100 repr::ModuleIR *module_; variable
/development/vndk/tools/header-checker/src/repr/json/
Dir_reader.cpp326 module_->AddGlobalVariable(std::move(global_variable_ir)); in ReadGlobalVariables()
334 module_->AddPointerType(std::move(pointer_type_ir)); in ReadPointerTypes()
344 module_->AddBuiltinType(std::move(builtin_type_ir)); in ReadBuiltinTypes()
356 module_->AddQualifiedType(std::move(qualified_type_ir)); in ReadQualifiedTypes()
364 module_->AddArrayType(std::move(array_type_ir)); in ReadArrayTypes()
372 module_->AddLvalueReferenceType(std::move(lvalue_reference_type_ir)); in ReadLvalueReferenceTypes()
380 module_->AddRvalueReferenceType(std::move(rvalue_reference_type_ir)); in ReadRvalueReferenceTypes()
387 module_->AddFunction(std::move(function_ir)); in ReadFunctions()
394 module_->AddRecordType(std::move(record_type_ir)); in ReadRecordTypes()
401 module_->AddFunctionType(std::move(function_type_ir)); in ReadFunctionTypes()
[all …]