• 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

46.43
/src/data_flow/memlet.cpp
1
#include <sdfg/data_flow/memlet.h>
2

3
#include "sdfg/symbolic/symbolic.h"
4

5
namespace sdfg {
6
namespace data_flow {
7

8
Memlet::Memlet(const DebugInfo& debug_info, const graph::Edge& edge, const DataFlowGraph& parent,
45✔
9
               DataFlowNode& src, const std::string& src_conn, DataFlowNode& dst,
10
               const std::string& dst_conn, const Subset& subset)
11
    : Element(debug_info),
45✔
12
      edge_(edge),
45✔
13
      parent_(&parent),
45✔
14
      src_(src),
45✔
15
      dst_(dst),
45✔
16
      src_conn_(src_conn),
45✔
17
      dst_conn_(dst_conn),
45✔
18
      subset_(subset) {
90✔
19

20
      };
45✔
21

UNCOV
22
const graph::Edge Memlet::edge() const { return this->edge_; };
×
23

24
const DataFlowGraph& Memlet::get_parent() const { return *this->parent_; };
×
25

UNCOV
26
const DataFlowNode& Memlet::src() const { return this->src_; };
×
27

UNCOV
28
DataFlowNode& Memlet::src() { return this->src_; };
×
29

UNCOV
30
const DataFlowNode& Memlet::dst() const { return this->dst_; };
×
31

UNCOV
32
DataFlowNode& Memlet::dst() { return this->dst_; };
×
33

34
const std::string& Memlet::src_conn() const { return this->src_conn_; };
45✔
35

36
const std::string& Memlet::dst_conn() const { return this->dst_conn_; };
45✔
37

UNCOV
38
const Subset Memlet::subset() const { return this->subset_; };
×
39

40
Subset& Memlet::subset() { return this->subset_; };
119✔
41

UNCOV
42
std::unique_ptr<Memlet> Memlet::clone(const graph::Edge& edge, const DataFlowGraph& parent,
×
43
                                      DataFlowNode& src, DataFlowNode& dst) const {
UNCOV
44
    return std::unique_ptr<Memlet>(new Memlet(this->debug_info_, edge, parent, src, this->src_conn_,
×
UNCOV
45
                                              dst, this->dst_conn_, this->subset_));
×
46
};
×
47

UNCOV
48
void Memlet::replace(const symbolic::Expression& old_expression,
×
49
                     const symbolic::Expression& new_expression) {
UNCOV
50
    for (auto& dim : this->subset_) {
×
UNCOV
51
        dim = symbolic::subs(dim, old_expression, new_expression);
×
52
    }
UNCOV
53
};
×
54

55
}  // namespace data_flow
56
}  // 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