| 333 | |
| 334 | namespace { |
| 335 | std::optional<compute::NullHandling::type> GetNullHandling(const Expression::Call& call) { |
| 336 | DCHECK_NE(call.function, nullptr); |
| 337 | if (call.function->kind() == compute::Function::SCALAR) { |
| 338 | return static_cast<const compute::ScalarKernel*>(call.kernel)->null_handling; |
| 339 | } |
| 340 | return std::nullopt; |
| 341 | } |
| 342 | } // namespace |
| 343 | |
| 344 | bool Expression::IsSatisfiable() const { |