Home
last modified time | relevance | path

Searched refs:type_ir (Results 1 – 7 of 7) sorted by relevance

/development/vndk/tools/header-checker/src/repr/
Dir_representation.cpp200 std::string ModuleIR::GetCompilationUnitPath(const TypeIR *type_ir) const { in GetCompilationUnitPath()
202 switch (type_ir->GetKind()) { in GetCompilationUnitPath()
204 key = GetODRListMapKey(static_cast<const RecordTypeIR *>(type_ir)); in GetCompilationUnitPath()
207 key = GetODRListMapKey(static_cast<const EnumTypeIR *>(type_ir)); in GetCompilationUnitPath()
210 key = GetODRListMapKey(static_cast<const FunctionTypeIR *>(type_ir)); in GetCompilationUnitPath()
220 if (definition.type_ir_ == type_ir) { in GetCompilationUnitPath()
Dir_representation.h761 TypeDefinition(const TypeIR *type_ir, in TypeDefinition() argument
763 : type_ir_(type_ir), compilation_unit_path_(*compilation_unit_path) {} in TypeDefinition()
877 std::string GetCompilationUnitPath(const TypeIR *type_ir) const;
879 void AddToODRListMap(const std::string &key, const TypeIR *type_ir, in AddToODRListMap() argument
884 TypeDefinition value(type_ir, &*compilation_unit_path_it); in AddToODRListMap()
/development/vndk/tools/header-checker/src/repr/json/
Dir_dumper.cpp83 const TypeIR *type_ir) { in AddTypeInfo() argument
84 type_decl.Set("linker_set_key", type_ir->GetLinkerSetKey()); in AddTypeInfo()
85 type_decl.Set("source_file", type_ir->GetSourceFile()); in AddTypeInfo()
86 type_decl.Set("name", type_ir->GetName()); in AddTypeInfo()
87 type_decl.Set("size", (uint64_t)type_ir->GetSize()); in AddTypeInfo()
88 type_decl.Set("alignment", (uint64_t)type_ir->GetAlignment()); in AddTypeInfo()
89 type_decl.Set("referenced_type", type_ir->GetReferencedType()); in AddTypeInfo()
90 type_decl.Set("self_type", type_ir->GetSelfType()); in AddTypeInfo()
Dir_reader.cpp204 TypeIR *type_ir) { in ReadTypeInfo() argument
205 type_ir->SetLinkerSetKey(type_decl.GetString("linker_set_key")); in ReadTypeInfo()
206 type_ir->SetSourceFile(type_decl.GetString("source_file")); in ReadTypeInfo()
207 type_ir->SetName(type_decl.GetString("name")); in ReadTypeInfo()
208 type_ir->SetReferencedType(type_decl.GetString("referenced_type")); in ReadTypeInfo()
209 type_ir->SetSelfType(type_decl.GetString("self_type")); in ReadTypeInfo()
210 type_ir->SetSize(type_decl.GetUint("size")); in ReadTypeInfo()
211 type_ir->SetAlignment(type_decl.GetUint("alignment")); in ReadTypeInfo()
Dir_dumper.h34 static void AddTypeInfo(JsonObject &type_decl, const TypeIR *type_ir);
Dir_reader.h151 static void ReadTypeInfo(const JsonObjectRef &type_decl, TypeIR *type_ir);
/development/vndk/tools/header-checker/src/linker/
Dmodule_merger.cpp361 const repr::TypeIR *type_ir) { in DereferenceType() argument
363 while (IsReferencingType(type_ir->GetKind())) { in DereferenceType()
364 auto it = type_graph.find(type_ir->GetReferencedType()); in DereferenceType()
369 type_ir = it->second; in DereferenceType()
371 return type_ir; in DereferenceType()
565 for (auto &&type_ir : addend.type_graph_) { in MergeGraphs()
566 MergeType(type_ir.second, addend, &merged_types_cache); in MergeGraphs()