1#ifndef FREE_TENSOR_ALL_DEFS_H
2#define FREE_TENSOR_ALL_DEFS_H
4#include <unordered_set>
14inline std::vector<std::pair<ID, std::string>>
15allDefs(
const Stmt &op,
const std::unordered_set<AccessType> &atypes =
17 std::vector<std::pair<ID, std::string>> ret;
virtual ASTNodeType nodeType() const =0
Ref< U > as() const
Definition: ref.h:83
SubTree< Buffer > buffer_
Definition: stmt.h:86
std::string name_
Definition: stmt.h:85
Definition: allocator.h:9
std::vector< std::pair< ID, std::string > > allDefs(const Stmt &op, const std::unordered_set< AccessType > &atypes=allAccessTypes|ranges::to< std::unordered_set >())
Definition: all_defs.h:15
constexpr auto allAccessTypes
Definition: access_type.h:68
std::vector< Stmt > findAllStmt(const Stmt &ast, const ID &id)
Definition: find_stmt.cc:32