Lines Matching refs:WhichLocation
261 enum class WhichLocation { Findloc, Maxloc, Minloc }; enum
262 template <WhichLocation WHICH> class LocationHelper {
268 using Types = std::conditional_t<WHICH == WhichLocation::Findloc,
275 CHECK(arg_.size() == (WHICH == WhichLocation::Findloc ? 6 : 5)); in Test()
282 if constexpr (WHICH == WhichLocation::Findloc) { in Test()
306 const RelationalOperator relation{WHICH == WhichLocation::Findloc in Test()
308 : WHICH == WhichLocation::Maxloc in Test()
341 if constexpr (WHICH == WhichLocation::Maxloc || in Test()
342 WHICH == WhichLocation::Minloc) { in Test()
350 if constexpr (WHICH == WhichLocation::Findloc) { in Test()
377 if constexpr (WHICH == WhichLocation::Findloc) { in Test()
403 static_assert(WHICH == WhichLocation::Findloc); in IsHit()
416 if constexpr (WHICH == WhichLocation::Maxloc || in IsHit()
417 WHICH == WhichLocation::Minloc) { in IsHit()
425 static constexpr int dimArg{WHICH == WhichLocation::Findloc ? 2 : 1};
434 template <WhichLocation which>
439 if constexpr (which == WhichLocation::Findloc) { in FoldLocationCall()
457 template <WhichLocation which, typename T>
579 return FoldLocation<WhichLocation::Findloc, T>(context, std::move(funcRef)); in FoldIntrinsicFunction()
852 return FoldLocation<WhichLocation::Maxloc, T>(context, std::move(funcRef)); in FoldIntrinsicFunction()
875 return FoldLocation<WhichLocation::Minloc, T>(context, std::move(funcRef)); in FoldIntrinsicFunction()