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

daisytuner / sdfglib / 13825247958

13 Mar 2025 01:47AM UTC coverage: 61.656%. First build
13825247958

push

github

web-flow
Merge pull request #1 from daisytuner/initial

Adds the initial version

7601 of 12328 new or added lines in 110 files covered. (61.66%)

7601 of 12328 relevant lines covered (61.66%)

533.1 hits per line

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

88.24
/src/passes/normalization/loop_slicing.cpp
1
#include "sdfg/passes/normalization/loop_slicing.h"
2

3
namespace sdfg {
4
namespace passes {
5

6
LoopSlicing::LoopSlicing(builder::StructuredSDFGBuilder& builder,
1✔
7
                         analysis::AnalysisManager& analysis_manager)
1✔
8
    : visitor::StructuredSDFGVisitor(builder, analysis_manager) {}
1✔
9

10
bool LoopSlicing::can_be_applied(structured_control_flow::Sequence& parent,
1✔
11
                                 structured_control_flow::For& loop) {
12
    transformations::LoopSlicing loop_slicing(parent, loop);
1✔
13
    if (!loop_slicing.can_be_applied(builder_, analysis_manager_)) {
1✔
NEW
14
        return false;
×
15
    }
16

17
    return true;
1✔
18
};
19

20
void LoopSlicing::apply(structured_control_flow::Sequence& parent,
1✔
21
                        structured_control_flow::For& loop) {
22
    transformations::LoopSlicing loop_slicing(parent, loop);
1✔
23
    loop_slicing.apply(builder_, analysis_manager_);
1✔
24
};
1✔
25

26
bool LoopSlicing::accept(structured_control_flow::Sequence& parent,
1✔
27
                         structured_control_flow::For& loop) {
28
    if (this->can_be_applied(parent, loop)) {
1✔
29
        this->apply(parent, loop);
1✔
30
        return true;
1✔
31
    }
NEW
32
    return false;
×
33
};
34

35
}  // namespace passes
36
}  // 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