[llvm-branch-commits] Address review feedback (PR #113367)

2024-10-22 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/113367 None ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] Address review feedback (PR #113367)

2024-10-22 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan closed https://github.com/llvm/llvm-project/pull/113367 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] Address review feedback (PR #113361)

2024-10-22 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan closed https://github.com/llvm/llvm-project/pull/113361 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] Address review feedback (PR #113361)

2024-10-22 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/113361 None ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] Support: Add vfs::OutputBackend and OutputFile to virtualize compiler outputs (PR #113363)

2024-10-22 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/113363 Add OutputBackend and OutputFile to the `llvm::vfs` namespace for virtualizing compiler outputs. This is intended for use in Clang, The headers are: - llvm/Support/VirtualOutputConfig.h - llvm/Support/V

[llvm-branch-commits] Frontend: Adopt llvm::vfs::OutputBackend in CompilerInstance (PR #113364)

2024-10-22 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/113364 Adopt new virtual output backend in CompilerInstance. ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/

[llvm-branch-commits] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114093)

2024-10-29 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/114093 Add a command-line tool `llvm-cas` to inspect the OnDisk CAS for debugging purpose. It can be used to lookup/update ObjectStore or put/get cache entries from ActionCache, together with other debugging cap

[llvm-branch-commits] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114094)

2024-10-29 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan closed https://github.com/llvm/llvm-project/pull/114094 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114094)

2024-10-29 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/114094 Add a command-line tool `llvm-cas` to inspect the OnDisk CAS for debugging purpose. It can be used to lookup/update ObjectStore or put/get cache entries from ActionCache, together with other debugging cap

[llvm-branch-commits] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114093)

2024-10-29 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan closed https://github.com/llvm/llvm-project/pull/114093 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114104)

2024-10-29 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/114104 Add a command-line tool `llvm-cas` to inspect the OnDisk CAS for debugging purpose. It can be used to lookup/update ObjectStore or put/get cache entries from ActionCache, together with other debugging cap

[llvm-branch-commits] [CAS] Add OnDiskCAS (PR #114103)

2024-10-29 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/114103 Add OnDiskCAS abstraction, that implements ObjectStore and ActionCache interface using OnDiskGraphDB and OnDiskKeyValueDB. ___ llvm-branch-commits mailing li

[llvm-branch-commits] [CAS] Add OnDiskGraphDB and OnDiskKeyValueDB (PR #114102)

2024-10-29 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/114102 Add OnDiskGraphDB and OnDiskKeyValueDB that can be used to implement ObjectStore and ActionCache respectively. Those are on-disk persistent storage that build upon OnDiskTrieHashMap and implements key fun

[llvm-branch-commits] [FileSystem] Allow exclusive file lock (PR #114098)

2024-10-29 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/114098 Add parameter to file lock API to allow exclusive file lock. Both Unix and Windows support lock the file exclusively for write for one process and LLVM OnDiskCAS uses exclusive file lock to coordinate CAS

[llvm-branch-commits] [CAS] Add ActionCache to LLVMCAS Library (PR #114097)

2024-10-29 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/114097 ActionCache is used to store a mapping from CASID to CASID. The current implementation of the ActionCache can only be used to associate the key/value from the same hash context. ActionCache has two opera

[llvm-branch-commits] [CAS] Add MappedFileRegionBumpPtr (PR #114099)

2024-10-29 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/114099 Add MappedFileRegionBumpPtr which can be served as a file system backed persistent memory allocator. The allocator works like a BumpPtrAllocator, and is designed to be thread safe and process safe. The i

[llvm-branch-commits] [CAS] Add OnDiskHashMappedTrie (PR #114100)

2024-10-29 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/114100 Add OnDiskHashMappedTrie. This is a on-disk persistent hash map that uses a Trie data structure that is similar to TrieRawHashMap. OnDiskHashMappedTrie is thread safe and process safe. It is mostly lock f

[llvm-branch-commits] [clang][CodeGen] Remove CWD fallback in compilation directory (PR #150130)

2025-07-31 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/150130 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang][CodeGen] Remove CWD fallback in compilation directory (PR #150130)

2025-07-31 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/150130 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang][ScanDeps] Clear compilation directory if needed (PR #150129)

2025-07-31 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/150129 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang][ScanDeps] Clear compilation directory if needed (PR #150129)

2025-07-31 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/150129 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang][ScanDeps] Clear compilation directory if needed (PR #150129)

2025-07-31 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/150129 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang][ScanDeps] Clear compilation directory if needed (PR #150129)

2025-07-31 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/150129 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CAS] Add MappedFileRegionBumpPtr (PR #114099)

2025-08-15 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114099 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CAS] Add MappedFileRegionBumpPtr (PR #114099)

2025-08-15 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114099 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CAS] Add OnDiskGraphDB and OnDiskKeyValueDB (PR #114102)

2025-10-13 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114102 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] Frontend: Adopt llvm::vfs::OutputBackend in CompilerInstance (PR #113364)

2025-09-05 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/113364 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] Frontend: Adopt llvm::vfs::OutputBackend in CompilerInstance (PR #113364)

2025-09-05 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/113364 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] Frontend: Adopt llvm::vfs::OutputBackend in CompilerInstance (PR #113364)

2025-09-03 Thread Steven Wu via llvm-branch-commits
cachemeifyoucan wrote: > This seems good, perhaps after #113363 lands, it'd be interesting to rebase > and run some build-time tests, just to ensure it doesn't introduce > regressions. Yup! We don't see anything on our end but it will be good to double check. https://github.com/llvm/llvm-proj

[llvm-branch-commits] Frontend: Adopt llvm::vfs::OutputBackend in CompilerInstance (PR #113364)

2025-09-03 Thread Steven Wu via llvm-branch-commits
cachemeifyoucan wrote: Before landing the other change and rebase this, I created a branch to benchmark compile time: https://llvm-compile-time-tracker.com/compare.php?from=3b3fc701d8f83d4ca30ee1c818fb7687336ac178&to=e5febfb1d9d880b4f7af5dc32194f479ee2adcd6&stat=instructions%3Au Nothing stands

[llvm-branch-commits] [CAS] Add OnDiskGraphDB and OnDiskKeyValueDB (PR #114102)

2025-10-17 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114102 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] Support: Add vfs::OutputBackend and OutputFile to virtualize compiler outputs (PR #113363)

2025-08-26 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/113363 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] Support: Add vfs::OutputBackend and OutputFile to virtualize compiler outputs (PR #113363)

2025-08-26 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/113363 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CAS] Add OnDiskHashMappedTrie (PR #114100)

2025-09-15 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114100 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CAS] Add OnDiskHashMappedTrie (PR #114100)

2025-09-15 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114100 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CAS] Add OnDiskTrieRawHashMap (PR #114100)

2025-09-15 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan edited https://github.com/llvm/llvm-project/pull/114100 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114104)

2025-11-03 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114104 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114104)

2025-11-03 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114104 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114104)

2025-11-03 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114104 >From 63c4928ed65fb2a83a4a25f3c098af7d931fc0af Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Mon, 3 Nov 2025 12:09:19 -0800 Subject: [PATCH] clang-format Created using spr 1.3.7 --- llvm/tools/llvm-ca

[llvm-branch-commits] [llvm] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114104)

2025-11-04 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan closed https://github.com/llvm/llvm-project/pull/114104 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114104)

2025-11-04 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114104 >From 63c4928ed65fb2a83a4a25f3c098af7d931fc0af Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Mon, 3 Nov 2025 12:09:19 -0800 Subject: [PATCH 1/2] clang-format Created using spr 1.3.7 --- llvm/tools/llv

[llvm-branch-commits] [llvm] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114104)

2025-11-04 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114104 Unicorn! ยท GitHub body { background-color: #f1f1f1; margin: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } .container { margin:

[llvm-branch-commits] [llvm] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114104)

2025-11-03 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114104 >From 63c4928ed65fb2a83a4a25f3c098af7d931fc0af Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Mon, 3 Nov 2025 12:09:19 -0800 Subject: [PATCH 1/2] clang-format Created using spr 1.3.7 --- llvm/tools/llv

[llvm-branch-commits] [llvm] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114104)

2025-11-03 Thread Steven Wu via llvm-branch-commits
@@ -0,0 +1,332 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[llvm-branch-commits] [llvm] [CAS] Add llvm-cas tools to inspect on-disk LLVMCAS (PR #114104)

2025-11-03 Thread Steven Wu via llvm-branch-commits
@@ -0,0 +1 @@ +content cachemeifyoucan wrote: This is a test input file named `nonewline` :) https://github.com/llvm/llvm-project/pull/114104 ___ llvm-branch-commits mailing list [email protected] htt

[llvm-branch-commits] [CAS] Add OnDiskCAS (PR #114103)

2025-10-22 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114103 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CAS] Add OnDiskCAS (PR #114103)

2025-10-22 Thread Steven Wu via llvm-branch-commits
https://github.com/cachemeifyoucan updated https://github.com/llvm/llvm-project/pull/114103 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits