Lines Matching refs:PySymbolTable
1718 PySymbolTable::PySymbolTable(PyOperationBase &operation) in PySymbolTable() function in PySymbolTable
1726 py::object PySymbolTable::dunderGetItem(const std::string &name) { in dunderGetItem()
1738 void PySymbolTable::erase(PyOperationBase &symbol) { in erase()
1748 void PySymbolTable::dunderDel(const std::string &name) { in dunderDel()
1753 PyAttribute PySymbolTable::insert(PyOperationBase &symbol) { in insert()
1765 PyAttribute PySymbolTable::getSymbolName(PyOperationBase &symbol) { in getSymbolName()
1777 void PySymbolTable::setSymbolName(PyOperationBase &symbol, in setSymbolName()
1792 PyAttribute PySymbolTable::getVisibility(PyOperationBase &symbol) { in getVisibility()
1803 void PySymbolTable::setVisibility(PyOperationBase &symbol, in setVisibility()
1821 void PySymbolTable::replaceAllSymbolUses(const std::string &oldSymbol, in replaceAllSymbolUses()
1833 void PySymbolTable::walkSymbolTables(PyOperationBase &from, in walkSymbolTables()
3157 py::class_<PySymbolTable>(m, "SymbolTable", py::module_local()) in populateIRCore()
3159 .def("__getitem__", &PySymbolTable::dunderGetItem) in populateIRCore()
3160 .def("insert", &PySymbolTable::insert, py::arg("operation")) in populateIRCore()
3161 .def("erase", &PySymbolTable::erase, py::arg("operation")) in populateIRCore()
3162 .def("__delitem__", &PySymbolTable::dunderDel) in populateIRCore()
3164 [](PySymbolTable &table, const std::string &name) { in populateIRCore()
3169 .def_static("set_symbol_name", &PySymbolTable::setSymbolName, in populateIRCore()
3171 .def_static("get_symbol_name", &PySymbolTable::getSymbolName, in populateIRCore()
3173 .def_static("get_visibility", &PySymbolTable::getVisibility, in populateIRCore()
3175 .def_static("set_visibility", &PySymbolTable::setVisibility, in populateIRCore()
3178 &PySymbolTable::replaceAllSymbolUses, py::arg("old_symbol"), in populateIRCore()
3180 .def_static("walk_symbol_tables", &PySymbolTable::walkSymbolTables, in populateIRCore()