Lines Matching refs:rr
28 using namespace rr;
95 using Float = rr::Float4;
96 using Int = rr::Int4;
97 using UInt = rr::UInt4;
101 Pointer(rr::Pointer<Byte> base, rr::Int limit);
102 Pointer(rr::Pointer<Byte> base, unsigned int limit);
103 Pointer(rr::Pointer<Byte> base, rr::Int limit, SIMD::Int offset);
104 Pointer(rr::Pointer<Byte> base, unsigned int limit, SIMD::Int offset);
124 rr::Int limit() const;
128 rr::Bool hasSequentialOffsets(unsigned int step) const;
135 rr::Bool hasEqualOffsets() const;
151 rr::Pointer<rr::Byte> base;
154 rr::Int dynamicLimit; // If hasDynamicLimit is false, dynamicLimit is zero.
171 using type = rr::Float;
176 using type = rr::Int;
181 using type = rr::UInt;
258 inline rr::RValue<T> AndAll(rr::RValue<T> const &mask);
261 inline rr::RValue<T> OrAll(rr::RValue<T> const &mask);
263 rr::RValue<sw::SIMD::Float> Sign(rr::RValue<sw::SIMD::Float> const &val);
267 std::pair<rr::RValue<sw::SIMD::Float>, rr::RValue<sw::SIMD::Float>>
268 Modf(rr::RValue<sw::SIMD::Float> const &val);
271 sw::SIMD::UInt CountBits(rr::RValue<sw::SIMD::UInt> const &bits);
275 rr::RValue<sw::SIMD::UInt> NthBit32(rr::RValue<sw::SIMD::UInt> const &bits);
278 rr::RValue<sw::SIMD::UInt> Bitmask32(rr::RValue<sw::SIMD::UInt> const &bitCount);
281 rr::RValue<sw::SIMD::Float> FMA(
282 rr::RValue<sw::SIMD::Float> const &a,
283 rr::RValue<sw::SIMD::Float> const &b,
284 rr::RValue<sw::SIMD::Float> const &c);
288 rr::RValue<sw::SIMD::Int> Exponent(rr::RValue<sw::SIMD::Float> f);
293 rr::RValue<sw::SIMD::Float> NMin(rr::RValue<sw::SIMD::Float> const &x, rr::RValue<sw::SIMD::Float> …
298 rr::RValue<sw::SIMD::Float> NMax(rr::RValue<sw::SIMD::Float> const &x, rr::RValue<sw::SIMD::Float> …
301 rr::RValue<sw::SIMD::Float> Determinant(
302 rr::RValue<sw::SIMD::Float> const &a, rr::RValue<sw::SIMD::Float> const &b,
303 rr::RValue<sw::SIMD::Float> const &c, rr::RValue<sw::SIMD::Float> const &d);
306 rr::RValue<sw::SIMD::Float> Determinant(
307 …rr::RValue<sw::SIMD::Float> const &a, rr::RValue<sw::SIMD::Float> const &b, rr::RValue<sw::SIMD::F…
308 …rr::RValue<sw::SIMD::Float> const &d, rr::RValue<sw::SIMD::Float> const &e, rr::RValue<sw::SIMD::F…
309 …rr::RValue<sw::SIMD::Float> const &g, rr::RValue<sw::SIMD::Float> const &h, rr::RValue<sw::SIMD::F…
312 rr::RValue<sw::SIMD::Float> Determinant(
313 …rr::RValue<sw::SIMD::Float> const &a, rr::RValue<sw::SIMD::Float> const &b, rr::RValue<sw::SIMD::F…
314 …rr::RValue<sw::SIMD::Float> const &e, rr::RValue<sw::SIMD::Float> const &f, rr::RValue<sw::SIMD::F…
315 …rr::RValue<sw::SIMD::Float> const &i, rr::RValue<sw::SIMD::Float> const &j, rr::RValue<sw::SIMD::F…
316 …rr::RValue<sw::SIMD::Float> const &m, rr::RValue<sw::SIMD::Float> const &n, rr::RValue<sw::SIMD::F…
319 std::array<rr::RValue<sw::SIMD::Float>, 4> MatrixInverse(
320 rr::RValue<sw::SIMD::Float> const &a, rr::RValue<sw::SIMD::Float> const &b,
321 rr::RValue<sw::SIMD::Float> const &c, rr::RValue<sw::SIMD::Float> const &d);
324 std::array<rr::RValue<sw::SIMD::Float>, 9> MatrixInverse(
325 …rr::RValue<sw::SIMD::Float> const &a, rr::RValue<sw::SIMD::Float> const &b, rr::RValue<sw::SIMD::F…
326 …rr::RValue<sw::SIMD::Float> const &d, rr::RValue<sw::SIMD::Float> const &e, rr::RValue<sw::SIMD::F…
327 …rr::RValue<sw::SIMD::Float> const &g, rr::RValue<sw::SIMD::Float> const &h, rr::RValue<sw::SIMD::F…
330 std::array<rr::RValue<sw::SIMD::Float>, 16> MatrixInverse(
331 …rr::RValue<sw::SIMD::Float> const &a, rr::RValue<sw::SIMD::Float> const &b, rr::RValue<sw::SIMD::F…
332 …rr::RValue<sw::SIMD::Float> const &e, rr::RValue<sw::SIMD::Float> const &f, rr::RValue<sw::SIMD::F…
333 …rr::RValue<sw::SIMD::Float> const &i, rr::RValue<sw::SIMD::Float> const &j, rr::RValue<sw::SIMD::F…
334 …rr::RValue<sw::SIMD::Float> const &m, rr::RValue<sw::SIMD::Float> const &n, rr::RValue<sw::SIMD::F…
353 return rr::Load(rr::Pointer<T>(base + staticOffsets[0]), alignment, atomic, order); in Load()
359 return T(*rr::Pointer<EL>(base + staticOffsets[0], alignment)); in Load()
389 EL el = *rr::Pointer<EL>(base + staticOffsets[0], alignment); in Load()
410 return rr::Gather(rr::Pointer<EL>(base), offs, mask, alignment, zeroMaskedLanes); in Load()
420 out = T(rr::Load(rr::Pointer<EL>(&base[offset]), alignment, atomic, order)); in Load()
426 out = rr::Load(rr::Pointer<T>(&base[offset]), alignment, atomic, order); in Load()
437 auto el = rr::Load(rr::Pointer<EL>(&base[offset]), alignment, atomic, order); in Load()
479 *rr::Pointer<EL>(base + staticOffsets[0], alignment) = As<EL>(scalarVal); in Store()
488 auto p = rr::Pointer<SIMD::Int>(base + staticOffsets[0], alignment); in Store()
494 rr::Scatter(rr::Pointer<EL>(base), val, offs, mask, alignment); in Store()
504 rr::Store(val, rr::Pointer<T>(&base[offset]), alignment, atomic, order); in Store()
514 rr::Store(Extract(val, i), rr::Pointer<EL>(&base[offset]), alignment, atomic, order); in Store()
528 inline rr::RValue<T> AndAll(rr::RValue<T> const &mask) in AndAll()
536 inline rr::RValue<T> OrAll(rr::RValue<T> const &mask) in OrAll()
546 namespace rr { namespace
558 static std::vector<rr::Value *> val(const sw::Vector4f &v) in val()
574 static std::vector<rr::Value *> val(const sw::Vector4s &v) in val()
587 static std::vector<rr::Value *> val(const sw::SIMD::Pointer &v) in val()