Lines Matching defs:with
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
57 R"(Gets a Location representing a fused location with optional metadata)";
60 R"(Gets a Location representing a named location with optional child location)";
81 False to disable insertion, even with an insertion point set in the
104 multi-threaded access but may not be consistent with how the overall
107 will be run and if it fails, generic form will be printed with a comment
126 R"(Gets the assembly form of the operation with all options available.
149 R"(Gets the assembly form of the operation with default options.
160 R"(Appends a new block, with argument types as positional args.
179 R"(Replace all uses of value with the new value, updating anything in
184 R"("Replace all uses of this value with the 'with' value, except for those
360 /// with a sequence-like container.
844 "or from the surrounding environment. Either pass to the function with "
845 "a 'context=' argument or establish a default using 'with Context():'");
1124 "with a 'loc=' argument or establish a default using 'with loc:'");
1713 /// with the operation whose results these are, and thus extends the lifetime of
1868 " results (it is only valid for operations with a "
1907 // variadic unpacking, or a list of ints with segment sizes, where each
1924 " regions but was built with regions=" + llvm::Twine(*regions))
1932 " regions but was built with regions=" + llvm::Twine(*regions))
2454 /// elements, random access is cheap. The argument list is associated with the
2505 /// with the operation whose operands these are, and thus extends the lifetime
2561 /// associated with the operation whose successors these are, and thus extends
2733 // __init__.py will subclass it with site-specific functionality and set a
3194 // Careful: Lots of arguments must match up with print method.
3207 // Careful: Lots of arguments must match up with get_asm method.
3480 "region (with given argument types and locations).")
3504 "(with given argument types and locations).")
3519 "(with given argument types and locations).")
3922 [](PyValue &self, PyValue &with) {
3923 mlirValueReplaceAllUsesOfWith(self.get(), with.get());
3928 [](MlirValue self, MlirValue with, PyOperation &exception) {
3930 mlirValueReplaceAllUsesExcept(self, with, 1, &exceptedUser);
3932 nb::arg("with"), nb::arg("exceptions"),
3936 [](MlirValue self, MlirValue with, nb::list exceptions) {
3944 self, with, static_cast<intptr_t>(exceptionOps.size()),
3947 nb::arg("with"), nb::arg("exceptions"),
4013 // We can't define exceptions with custom fields through pybind, so instead