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

daisytuner / sdfglib / 20147202960

11 Dec 2025 08:57PM UTC coverage: 40.181% (-0.09%) from 40.268%
20147202960

push

github

lukastruemper
removes timing outputs of passes

13596 of 43795 branches covered (31.04%)

Branch coverage included in aggregate %.

11609 of 18933 relevant lines covered (61.32%)

93.45 hits per line

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

0.0
/include/sdfg/passes/code_motion/block_sorting.h
1
#pragma once
2

3
#include <string>
4
#include <utility>
5

6
#include "sdfg/analysis/analysis.h"
7
#include "sdfg/builder/structured_sdfg_builder.h"
8
#include "sdfg/data_flow/library_node.h"
9
#include "sdfg/passes/pass.h"
10
#include "sdfg/structured_control_flow/block.h"
11
#include "sdfg/structured_control_flow/control_flow_node.h"
12
#include "sdfg/visitor/structured_sdfg_visitor.h"
13

14
namespace sdfg {
15
namespace passes {
16

17
class BlockSorting : public visitor::StructuredSDFGVisitor {
18
protected:
19
    virtual bool is_libnode_side_effect_white_listed(data_flow::LibraryNode* libnode);
20

21
    virtual bool can_be_bubbled_up(structured_control_flow::Block& block);
22
    virtual bool can_be_bubbled_down(structured_control_flow::Block& block);
23

24
    virtual std::pair<int, std::string> get_prio_and_order(structured_control_flow::Block* block);
25

26
    bool is_reference_block(structured_control_flow::Block& block);
27

28
    bool is_libnode_block(structured_control_flow::Block& next_block);
29

30
public:
31
    BlockSorting(builder::StructuredSDFGBuilder& builder, analysis::AnalysisManager& analysis_manager);
32

33
    static std::string name() { return "BlockSorting"; }
×
34

35
    virtual bool accept(structured_control_flow::Sequence& sequence_stmt) override;
36
};
37

38
typedef VisitorPass<BlockSorting> BlockSortingPass;
39

40
} // namespace passes
41
} // 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