Lines Matching refs:PyBlock
261 PyBlock dunderNext() { in dunderNext()
267 PyBlock returnBlock(operation, next); in dunderNext()
307 PyBlock dunderGetItem(intptr_t index) { in dunderGetItem()
316 return PyBlock(operation, block); in dunderGetItem()
324 PyBlock appendBlock(const py::args &pyArgTypes) { in appendBlock()
340 return PyBlock(operation, block); in appendBlock()
1075 PyBlock PyOperation::getBlock() { in getBlock()
1081 return PyBlock{std::move(*parentOperation), block}; in getBlock()
1117 llvm::Optional<std::vector<PyBlock *>> successors, int regions, in create()
1274 llvm::Optional<std::vector<PyBlock *>> successors, in buildGeneric()
1573 PyInsertionPoint::PyInsertionPoint(PyBlock &block) : block(block) {} in PyInsertionPoint()
1605 PyInsertionPoint PyInsertionPoint::atBlockBegin(PyBlock &block) { in atBlockBegin()
1618 PyInsertionPoint PyInsertionPoint::atBlockTerminator(PyBlock &block) { in atBlockTerminator()
1929 return PyBlock(self.getParentOperation(), in bindDerived()
2525 PyBlock returnBlock(moduleOp, mlirModuleGetBody(self.get())); in populateIRCore()
2760 py::class_<PyBlock>(m, "Block", py::module_local()) in populateIRCore()
2763 [](PyBlock &self) { in populateIRCore()
2769 [](PyBlock &self) { in populateIRCore()
2776 [](PyBlock &self) { in populateIRCore()
2782 [](PyBlock &self) { in populateIRCore()
2804 return PyBlock(parent.getParentOperation(), block); in populateIRCore()
2811 [](PyBlock &self, PyRegion ®ion) { in populateIRCore()
2820 [](PyBlock &self, py::args pyArgTypes) { in populateIRCore()
2837 return PyBlock(self.getParentOperation(), block); in populateIRCore()
2843 [](PyBlock &self, py::args pyArgTypes) { in populateIRCore()
2860 return PyBlock(self.getParentOperation(), block); in populateIRCore()
2866 [](PyBlock &self) { in populateIRCore()
2875 [](PyBlock &self, PyBlock &other) { in populateIRCore()
2878 .def("__eq__", [](PyBlock &self, py::object &other) { return false; }) in populateIRCore()
2881 [](PyBlock &self) { in populateIRCore()
2891 [](PyBlock &self, PyOperationBase &operation) { in populateIRCore()
2909 .def(py::init<PyBlock &>(), py::arg("block"), in populateIRCore()