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

daisytuner / sdfglib / 15973046991

30 Jun 2025 12:34PM UTC coverage: 64.64% (-0.2%) from 64.86%
15973046991

push

github

web-flow
Merge pull request #123 from daisytuner/simplify-tiling-transformation

Avoid deep copy in loop tiling

31 of 32 new or added lines in 2 files covered. (96.88%)

27 existing lines in 6 files now uncovered.

8643 of 13371 relevant lines covered (64.64%)

171.55 hits per line

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

78.95
/src/data_flow/access_node.cpp
1
#include "sdfg/data_flow/access_node.h"
2

3
namespace sdfg {
4
namespace data_flow {
5

6
AccessNode::AccessNode(size_t element_id, const DebugInfo& debug_info, const graph::Vertex vertex,
601✔
7
                       DataFlowGraph& parent, const std::string& data)
8
    : DataFlowNode(element_id, debug_info, vertex, parent), data_(data) {
601✔
9

10
      };
601✔
11

12
const std::string& AccessNode::data() const { return this->data_; };
878✔
13

14
std::string& AccessNode::data() { return this->data_; };
1,578✔
15

UNCOV
16
std::unique_ptr<DataFlowNode> AccessNode::clone(size_t element_id, const graph::Vertex vertex,
×
17
                                                DataFlowGraph& parent) const {
UNCOV
18
    return std::unique_ptr<AccessNode>(
×
UNCOV
19
        new AccessNode(element_id, this->debug_info_, vertex, parent, this->data_));
×
20
};
×
21

22
void AccessNode::replace(const symbolic::Expression& old_expression,
7✔
23
                         const symbolic::Expression& new_expression) {
24
    if (SymEngine::is_a<SymEngine::Symbol>(*old_expression) &&
7✔
25
        SymEngine::is_a<SymEngine::Symbol>(*new_expression)) {
7✔
26
        auto old_symbol = SymEngine::rcp_static_cast<const SymEngine::Symbol>(old_expression);
7✔
27
        if (this->data_ == old_symbol->get_name()) {
7✔
28
            auto new_symbol = SymEngine::rcp_static_cast<const SymEngine::Symbol>(new_expression);
5✔
29
            this->data_ = new_symbol->get_name();
5✔
30
        }
5✔
31
    }
7✔
32
};
7✔
33

34
}  // namespace data_flow
35
}  // 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

© 2025 Coveralls, Inc