[syntax tree] fixed broadcast semantics lowering
This commit is contained in:
@@ -25,7 +25,7 @@ public:
|
||||
unsigned get_allocated_size() const { return allocated_size_; }
|
||||
|
||||
// run
|
||||
void run(ir::function &fn);
|
||||
void run();
|
||||
|
||||
private:
|
||||
std::map<ir::value*, unsigned> offsets_;
|
||||
|
@@ -7,7 +7,7 @@
|
||||
namespace tdl {
|
||||
|
||||
namespace ir {
|
||||
class function;
|
||||
class module;
|
||||
class instruction;
|
||||
class value;
|
||||
}
|
||||
@@ -32,7 +32,7 @@ public:
|
||||
shared_view_info get_shared_view(ir::value *v, unsigned idx);
|
||||
|
||||
// run
|
||||
bool run(ir::function &fn);
|
||||
void run(ir::module &mod);
|
||||
|
||||
private:
|
||||
std::map<ir::value*, shared_view_val_t> shared_views_;
|
||||
|
@@ -8,6 +8,7 @@ namespace tdl{
|
||||
namespace ir{
|
||||
class value;
|
||||
class function;
|
||||
class module;
|
||||
}
|
||||
|
||||
namespace codegen{
|
||||
@@ -47,7 +48,7 @@ public:
|
||||
segment get_interval(ir::value* v) const { return intervals_.at(v); }
|
||||
|
||||
// run
|
||||
void run(ir::function *fn);
|
||||
void run(ir::module &mod);
|
||||
|
||||
private:
|
||||
has_storage_map_t has_dedicated_storage_;
|
||||
|
Reference in New Issue
Block a user