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

daisytuner / sdfglib / 15656007340

14 Jun 2025 08:51PM UTC coverage: 13.234% (-49.9%) from 63.144%
15656007340

Pull #76

github

web-flow
Merge 9586c8161 into 413c53212
Pull Request #76: New Loop Dependency Analysis

361 of 465 new or added lines in 7 files covered. (77.63%)

6215 existing lines in 110 files now uncovered.

1612 of 12181 relevant lines covered (13.23%)

13.64 hits per line

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

20.0
/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(const DebugInfo& debug_info, const graph::Vertex vertex,
45✔
7
                       DataFlowGraph& parent, const std::string& data)
8
    : DataFlowNode(debug_info, vertex, parent), data_(data) {
45✔
9

10
      };
45✔
11

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

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

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

UNCOV
22
void AccessNode::replace(const symbolic::Expression& old_expression,
×
23
                         const symbolic::Expression& new_expression) {
UNCOV
24
    if (SymEngine::is_a<SymEngine::Symbol>(*old_expression)) {
×
UNCOV
25
        auto old_symbol = SymEngine::rcp_static_cast<const SymEngine::Symbol>(old_expression);
×
UNCOV
26
        if (this->data_ == old_symbol->get_name()) {
×
UNCOV
27
            if (!SymEngine::is_a<SymEngine::Symbol>(*new_expression)) {
×
28
                throw InvalidSDFGException("Access Nodes do not support complex expressions");
×
29
            }
UNCOV
30
            auto new_symbol = SymEngine::rcp_static_cast<const SymEngine::Symbol>(new_expression);
×
UNCOV
31
            this->data_ = new_symbol->get_name();
×
UNCOV
32
        }
×
UNCOV
33
    }
×
UNCOV
34
};
×
35

36
}  // namespace data_flow
37
}  // 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