Searched refs:type_ir (Results 1 – 7 of 7) sorted by relevance
/development/vndk/tools/header-checker/src/repr/ |
D | ir_representation.cpp | 200 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()
|
D | ir_representation.h | 761 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/ |
D | ir_dumper.cpp | 83 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()
|
D | ir_reader.cpp | 204 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()
|
D | ir_dumper.h | 34 static void AddTypeInfo(JsonObject &type_decl, const TypeIR *type_ir);
|
D | ir_reader.h | 151 static void ReadTypeInfo(const JsonObjectRef &type_decl, TypeIR *type_ir);
|
/development/vndk/tools/header-checker/src/linker/ |
D | module_merger.cpp | 361 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()
|