[llvm] Implement MCDCTVIdxBuilder (LLVM side) (PR #80676)
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 20 12:40:22 PST 2024
================
@@ -223,9 +223,127 @@ Expected<int64_t> CounterMappingContext::evaluate(const Counter &C) const {
return LastPoppedValue;
}
+MCDCTVIdxBuilder::MCDCTVIdxBuilder(
+ std::function<NodeIDs(bool TellSize)> Fetcher) {
+ // Build Nodes and set up each InCount
+ int MaxID = -1;
+ Nodes.resize(std::get<0>(Fetcher(true)));
+ while (true) {
----------------
chapuni wrote:
I don't use `Fetcher` since I have introduced `NextIDsBuilder`.
https://github.com/llvm/llvm-project/pull/80676
More information about the llvm-commits
mailing list