• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

daisytuner / sdfglib / 20146754559

11 Dec 2025 08:39PM UTC coverage: 40.268% (-0.08%) from 40.351%
20146754559

push

github

web-flow
Merge pull request #390 from daisytuner/block-hoisting-fix

checks false dependencies in block hoisting

13624 of 43811 branches covered (31.1%)

Branch coverage included in aggregate %.

7 of 11 new or added lines in 2 files covered. (63.64%)

17 existing lines in 2 files now uncovered.

11645 of 18941 relevant lines covered (61.48%)

93.48 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

58.33
/src/passes/pass.cpp
1
#include "sdfg/passes/pass.h"
2

3
namespace sdfg {
4
namespace passes {
5

6
bool Pass::run(builder::SDFGBuilder& builder, bool create_report) {
×
7
    bool applied = this->run_pass(builder);
×
8

9
#ifndef NDEBUG
10
    builder.subject().validate();
×
11
#endif
12

13
    return applied;
×
14
};
15

16
bool Pass::run(builder::StructuredSDFGBuilder& builder, analysis::AnalysisManager& analysis_manager, bool create_report) {
154✔
17
    auto start = std::chrono::high_resolution_clock::now();
154✔
18
    std::cout << "Running pass: " << this->name() << std::endl;
154!
19

20
    bool applied = this->run_pass(builder, analysis_manager);
154✔
21
    this->invalidates(analysis_manager, applied);
154✔
22

23
    auto end = std::chrono::high_resolution_clock::now();
154✔
24
    if (applied) {
154✔
25
        auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count();
104✔
26
        std::cout << "Pass " << this->name() << " applied in " << duration << " ms." << std::endl;
104!
27
    }
104✔
28

29
#ifndef NDEBUG
30
    builder.subject().validate();
154✔
31
#endif
32

33
    return applied;
154✔
UNCOV
34
};
×
35

36
bool Pass::run_pass(builder::SDFGBuilder& builder) { throw std::logic_error("Not implemented"); };
×
37

38
bool Pass::run_pass(builder::StructuredSDFGBuilder& builder, analysis::AnalysisManager& analysis_manager) {
×
39
    throw std::logic_error("Not implemented");
×
40
};
×
41

42
void Pass::invalidates(analysis::AnalysisManager& analysis_manager, bool applied) {
154✔
43
    if (applied) {
154✔
44
        analysis_manager.invalidate_all();
104✔
45
    }
104✔
46
};
154✔
47

48
} // namespace passes
49
} // namespace sdfg
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc