[all-commits] [llvm/llvm-project] 270cda: D41416: [modules] [pch] Do not deserialize all laz...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Fri Jul 5 01:27:06 PDT 2024


  Branch: refs/heads/users/ChuanqiXu9/D41416_on_disk_hash_table_polishing
  Home:   https://github.com/llvm/llvm-project
  Commit: 270cdac974482a9852fa8c1bff517d444a5f51f2
      https://github.com/llvm/llvm-project/commit/270cdac974482a9852fa8c1bff517d444a5f51f2
  Author: Vassil Vassilev <v.g.vassilev at gmail.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M clang/include/clang/AST/DeclTemplate.h
    M clang/lib/AST/DeclTemplate.cpp
    M clang/lib/AST/ODRHash.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/test/Modules/cxx-templates.cpp
    M clang/test/Modules/odr_hash.cpp

  Log Message:
  -----------
  D41416: [modules] [pch] Do not deserialize all lazy template specializations when looking for one.


  Commit: a06599ebc1631386c9e6c03e9e8b9e32e5e10a3b
      https://github.com/llvm/llvm-project/commit/a06599ebc1631386c9e6c03e9e8b9e32e5e10a3b
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M clang/include/clang/AST/DeclTemplate.h
    M clang/lib/AST/DeclTemplate.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp

  Log Message:
  -----------
  fmt


  Commit: 3e84d3e657c5662e5478a375f7ef291835dcf847
      https://github.com/llvm/llvm-project/commit/3e84d3e657c5662e5478a375f7ef291835dcf847
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M clang/include/clang/AST/ExternalASTSource.h
    M clang/include/clang/Sema/MultiplexExternalSemaSource.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/include/clang/Serialization/ASTWriter.h
    M clang/lib/AST/DeclTemplate.cpp
    M clang/lib/AST/ExternalASTSource.cpp
    M clang/lib/Sema/MultiplexExternalSemaSource.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTReaderInternals.h
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/unittests/Serialization/CMakeLists.txt
    A clang/unittests/Serialization/LoadSpecLazilyTest.cpp

  Log Message:
  -----------
  [Serialization] Introduce OnDiskHashTable for specializations

Following up for https://github.com/llvm/llvm-project/pull/83108

This follows the suggestion literally from
https://github.com/llvm/llvm-project/pull/76774#issuecomment-1951172457

which introduces OnDiskHashTable for specializations based on
D41416.

Note that I didn't polish this patch to reduce the diff from D41416
to it easier to review. I'll make the polishing patch later. So that we
can focus what we're doing in this patch and focus on the style in the
next patch.


  Commit: 216d9fbea939714fefd47d87d1311120a2c235ef
      https://github.com/llvm/llvm-project/commit/216d9fbea939714fefd47d87d1311120a2c235ef
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M clang/include/clang/AST/DeclTemplate.h
    M clang/include/clang/AST/ExternalASTSource.h
    M clang/include/clang/Sema/MultiplexExternalSemaSource.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/lib/AST/DeclTemplate.cpp
    M clang/lib/AST/ExternalASTSource.cpp
    M clang/lib/Sema/MultiplexExternalSemaSource.cpp
    M clang/lib/Serialization/ASTCommon.h
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTReaderInternals.h
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/test/OpenMP/target_parallel_ast_print.cpp
    M clang/test/OpenMP/target_teams_ast_print.cpp
    M clang/test/OpenMP/task_ast_print.cpp
    M clang/test/OpenMP/teams_ast_print.cpp

  Log Message:
  -----------
  [Serialization] Code cleanups and polish 83233


  Commit: f1741e9a05e05c4e05a8f6d334cb3dcdecebf4ba
      https://github.com/llvm/llvm-project/commit/f1741e9a05e05c4e05a8f6d334cb3dcdecebf4ba
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M clang/lib/AST/ODRHash.cpp
    A clang/test/Modules/recursive-instantiations.cppm

  Log Message:
  -----------
  Avoid computing ODR Hash duplicatly


Compare: https://github.com/llvm/llvm-project/compare/d7a72730a00a...f1741e9a05e0

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list