Lines Matching refs:LogicalReduction
198 enum class LogicalReduction { All, Any, Parity }; enum
200 template <LogicalReduction REDUCTION> class LogicalAccumulator {
204 void Reinitialize() { result_ = REDUCTION == LogicalReduction::All; } in Reinitialize()
207 if constexpr (REDUCTION == LogicalReduction::Parity) { in Accumulate()
209 } else if (x != (REDUCTION == LogicalReduction::All)) { in Accumulate()
222 bool result_{REDUCTION == LogicalReduction::All};
260 template <LogicalReduction REDUCTION> struct LogicalReduceHelper {
280 template <LogicalReduction REDUCTION>
330 LogicalAccumulator<LogicalReduction::All>{x}, "ALL"); in RTNAME()
335 DoReduceLogicalDimension<LogicalReduction::All>( in RTNAME()
341 LogicalAccumulator<LogicalReduction::Any>{x}, "ANY"); in RTNAME()
346 DoReduceLogicalDimension<LogicalReduction::Any>( in RTNAME()
366 LogicalAccumulator<LogicalReduction::Parity>{x}, "PARITY"); in RTNAME()
371 DoReduceLogicalDimension<LogicalReduction::Parity>( in RTNAME()