From 75ff98e4d65862ff5b36b533b4f6e3ea71ede1d5 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Sat, 17 Sep 2016 03:22:53 +0000 Subject: cmake build --- irtools.hh | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 irtools.hh (limited to 'irtools.hh') diff --git a/irtools.hh b/irtools.hh deleted file mode 100644 index 8dc8e28..0000000 --- a/irtools.hh +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef IRTOOLS_HH -#define IRTOOLS_HH - -#include -#include -#include -#include "ir_code.hh" -#include "dep.hh" - -// IR tree is used to initialize a loop. For a loop node, payload is -// its mapped iteration space dimension. For a simple block node, -// payload is its mapped statement number. Normal if-else is splitted -// into two nodes where the one with odd payload represents then-part and -// the one with even payload represents else-part. -struct ir_tree_node { - IR_Control *content; - ir_tree_node *parent; - std::vector children; - int payload; - - ~ir_tree_node() { - for (int i = 0; i < children.size(); i++) - delete children[i]; - delete content; - } -}; - -std::vector build_ir_tree(IR_Control *control, - ir_tree_node *parent = NULL); -std::vector extract_ir_stmts( - const std::vector &ir_tree); -bool is_dependence_valid(ir_tree_node *src_node, ir_tree_node *dst_node, - const DependenceVector &dv, bool before); -std::pair, std::vector > test_data_dependences( - IR_Code *ir, const omega::CG_outputRepr *repr1, - const omega::Relation &IS1, const omega::CG_outputRepr *repr2, - const omega::Relation &IS2, std::vector &freevar, - std::vector index, int i, int j); - -#endif -- cgit v1.2.3-70-g09d2