Lines Matching refs:PyValue
871 std::string name, llvm::Optional<std::vector<PyValue *>> operands, in create()
888 for (PyValue *operand : *operands) { in create()
1169 class PyConcreteValue : public PyValue {
1175 using ClassTy = py::class_<DerivedTy, PyValue>;
1180 : PyValue(operationRef, value) {} in PyConcreteValue()
1181 PyConcreteValue(PyValue &orig) in PyConcreteValue()
1186 static MlirValue castFrom(PyValue &orig) { in castFrom()
1199 cls.def(py::init<PyValue &>(), py::keep_alive<0, 1>()); in bind()
1270 PyValue value(operation, mlirBlockGetArgument(block, index)); in dunderGetItem()
1290 class PyOpOperandList : public Sliceable<PyOpOperandList, PyValue> {
1307 PyValue getElement(intptr_t pos) { in getElement()
1308 return PyValue(operation, mlirOperationGetOperand(operation->get(), pos)); in getElement()
1341 PyValue value(operation, mlirOperationGetResult(operation->get(), index)); in getElement()
3172 py::class_<PyValue>(m, "Value") in populateIRSubmodule()
3175 [](PyValue &self) { return self.getParentOperation()->getContext(); }, in populateIRSubmodule()
3178 "dump", [](PyValue &self) { mlirValueDump(self.get()); }, in populateIRSubmodule()
3181 [](PyValue &self, PyValue &other) { in populateIRSubmodule()
3184 .def("__eq__", [](PyValue &self, py::object other) { return false; }) in populateIRSubmodule()
3187 [](PyValue &self) { in populateIRSubmodule()
3196 .def_property_readonly("type", [](PyValue &self) { in populateIRSubmodule()