Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MC/DC][Coverage] Loosen the limit of NumConds from 6 #82448

Merged
merged 48 commits into from
Jun 13, 2024

Commits on Feb 5, 2024

  1. Implement MCDCTVIdxBuilder and MCDCTestVectorBuilder (LLVM side)

    This accept current version of profdata. The output might be different.
    
    See also
    https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798
    chapuni committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    d168e0c View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. Revert "Implement MCDCTVIdxBuilder and MCDCTestVectorBuilder (LLVM si…

    …de)"
    
    This reverts commit d168e0c.
    chapuni committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    35b19ea View commit details
    Browse the repository at this point in the history
  2. [Coverage] MCDCRecordProcessor: Find ExecVectors directly

    Deprecate `TestVectors`, since no one uses it.
    
    This affects the output order of ExecVectors.
    The current impl emits sorted by binary value of ExecVector.
    This impl emits along the traversal of `buildTestVector()`.
    chapuni committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    8c777eb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    56042d3 View commit details
    Browse the repository at this point in the history
  4. Implement MCDCTVIdxBuilder (LLVM side)

    This accepts current version of profdata. The output might be different.
    
    See also
    https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798
    chapuni committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    5432aec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3ee8a61 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Configuration menu
    Copy the full SHA
    2fd504a View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. Reorganize TVIdxBuilder

    * Split out `Indices[ID][Cond]`
    * Let `Nodes` debug-only.
    * Introduce `Offset`
    * Introduce `HardMaxTVs`
    chapuni committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    1f0f3fc View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. Configuration menu
    Copy the full SHA
    06c0801 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. Configuration menu
    Copy the full SHA
    aa5b2f5 View commit details
    Browse the repository at this point in the history
  2. [CoverageMapping] Refactor mcdc::TVIdxBuilder

    * Sink `TVIdxBuilder` into `mcdc::`.
    * The ctor accepts `SmallVector<ConditionIDs>` indexed by `ID`.
    * `class NextIDsBuilder` provides `NextIDs` as`SmallVector<ConditionIDs>`,
      for `TVIdxBuilder` to use it before `MCDCRecordProcessor()`.
      It was `BranchParamsMap` or `Map` as `DenseMap<Branch>`.
    * `NodeIDs` and `Fetcher` function are deprecated.
    chapuni committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e3de647 View commit details
    Browse the repository at this point in the history
  3. remove <functional>

    chapuni committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    753d0ad View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Update comments.

    chapuni committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    17cbac7 View commit details
    Browse the repository at this point in the history
  2. Add unittest

    chapuni committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    1a4ffa7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b5ecfcc View commit details
    Browse the repository at this point in the history
  4. Update testcases

    chapuni committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    0ffad9c View commit details
    Browse the repository at this point in the history
  5. Use llvm::sort

    chapuni committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    c96fd2c View commit details
    Browse the repository at this point in the history
  6. EXPECT_

    chapuni committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    357a693 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    83d104c View commit details
    Browse the repository at this point in the history
  8. Hide NConds

    chapuni committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    14c795e View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. Configuration menu
    Copy the full SHA
    b6c1174 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf936f6 View commit details
    Browse the repository at this point in the history
  3. Reformat

    chapuni committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    662bdd6 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Configuration menu
    Copy the full SHA
    ac16655 View commit details
    Browse the repository at this point in the history
  2. Clarify bool

    chapuni committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    90bf8e9 View commit details
    Browse the repository at this point in the history
  3. Update comments

    chapuni committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    9eb6951 View commit details
    Browse the repository at this point in the history
  4. Use MutableArrayRef :)

    chapuni committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    86d67c6 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. Configuration menu
    Copy the full SHA
    01abca2 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. Configuration menu
    Copy the full SHA
    183c706 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Configuration menu
    Copy the full SHA
    dd6f8be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cdd5531 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. isMCDCBranch: Remove assert

    chapuni committed May 10, 2024
    Configuration menu
    Copy the full SHA
    54e6044 View commit details
    Browse the repository at this point in the history
  2. isMCDCDecision: Remove assert

    chapuni committed May 10, 2024
    Configuration menu
    Copy the full SHA
    b1a7100 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    39802c5 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Fix unittest

    chapuni committed May 15, 2024
    Configuration menu
    Copy the full SHA
    f54c64d View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. Configuration menu
    Copy the full SHA
    a6f7eef View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. Merge branch 'main' into HEAD

    chapuni committed May 20, 2024
    Configuration menu
    Copy the full SHA
    0dd7ead View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf837ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9e14c2a View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Merge branch 'main' into mcdc/clangtvidx

    Conflicts:
    	clang/lib/CodeGen/CoverageMappingGen.cpp
    chapuni committed May 27, 2024
    Configuration menu
    Copy the full SHA
    04f18ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ff3eb7 View commit details
    Browse the repository at this point in the history
  3. Don't create tvbitmap_update if the record is allocated but excluded.

    Or `bitmap |= (1 << 0)` would be wrongly executed to the next bitmap.
    chapuni committed May 27, 2024
    Configuration menu
    Copy the full SHA
    296f5c5 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Configuration menu
    Copy the full SHA
    722424b View commit details
    Browse the repository at this point in the history
  2. Update documents

    chapuni committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    183bc52 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    83088f1 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Configuration menu
    Copy the full SHA
    40872f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be5b28b View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Configuration menu
    Copy the full SHA
    450d86b View commit details
    Browse the repository at this point in the history