1 | #pragma once |
---|---|
2 | |
3 | #include "taichi/ir/pass.h" |
4 | |
5 | namespace taichi::lang { |
6 | |
7 | class GatherUniquelyAccessedBitStructsPass : public Pass { |
8 | public: |
9 | static const PassID id; |
10 | |
11 | struct Result { |
12 | std::unordered_map<OffloadedStmt *, |
13 | std::unordered_map<const SNode *, GlobalPtrStmt *>> |
14 | uniquely_accessed_bit_structs; |
15 | }; |
16 | }; |
17 | |
18 | } // namespace taichi::lang |
19 |