/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | x86.hpp | 23 RValue<Int> cvtss2si(RValue<Float> val); 24 RValue<Int4> cvtps2dq(RValue<Float4> val); 26 RValue<Float> rcpss(RValue<Float> val); 27 RValue<Float> sqrtss(RValue<Float> val); 28 RValue<Float> rsqrtss(RValue<Floa [all...] |
H A D | Reactor.hpp | 124 class RValue; 191 RValue<Pointer<T>> operator&(); 193 RValue<T> load() const in load() 195 return RValue<T>(this->loadValue()); in load() 198 RValue<T> store(RValue<T> rvalue) const in store() 219 RValue<T> operator=(RValue<T> rhs) const; 220 RValue<T> operator=(const Reference<T> &ref) const; 222 RValue< 285 class RValue global() class 2749 RValue<T>::RValue(const RValue<T> &rvalue) RValue() function in rr::RValue 2756 RValue<T>::RValue(Value *value) RValue() function in rr::RValue 2764 RValue<T>::RValue(const T &lvalue) RValue() function in rr::RValue 2771 RValue<T>::RValue(typename BoolLiteral<T>::type i) RValue() function in rr::RValue 2778 RValue<T>::RValue(typename IntLiteral<T>::type i) RValue() function in rr::RValue 2785 RValue<T>::RValue(typename FloatLiteral<T>::type f) RValue() function in rr::RValue 2792 RValue<T>::RValue(const Reference<T> &ref) RValue() function in rr::RValue [all...] |
H A D | Reactor.cpp | 279 Bool::Bool(RValue<Bool> rhs) in Bool() 294 RValue<Bool> Bool::operator=(RValue<Bool> rhs) in operator =() 299 RValue<Bool> Bool::operator=(const Bool &rhs) in operator =() 304 RValue<Bool> Bool::operator=(const Reference<Bool> &rhs) in operator =() 309 RValue<Bool> operator!(RValue<Bool> val) in operator !() 311 return RValue<Bool>(Nucleus::createNot(val.value())); in operator !() 314 RValue<Bool> operator&&(RValue<Boo [all...] |
H A D | EmulatedIntrinsics.hpp | 27 RValue<Float4> Gather(RValue<Pointer<Float>> base, RValue<Int4> offsets, RValue<Int4> mask, unsigned int alignment, bool zeroMaskedLanes = false); 28 RValue<Int4> Gather(RValue<Pointer<Int>> base, RValue<Int4> offsets, RValue<Int4> mask, unsigned int alignment, bool zeroMaskedLanes = false); 29 void Scatter(RValue<Pointer<Float>> base, RValue<Float [all...] |
H A D | EmulatedIntrinsics.cpp | 29 using Type = typename decltype(rr::Extract(std::declval<RValue<T>>(), 0))::rvalue_underlying_type; 37 RValue<T> call4(Func func, const RValue<T> &x) in call4() 49 RValue<T> call4(Func func, const RValue<T> &x, const RValue<T> &y) in call4() 60 void gather(T &out, RValue<Pointer<EL>> base, RValue<Int4> offsets, RValue<Int4> mask, unsigned int alignment, bool zeroMaskedLanes) in gather() 84 void scatter(RValue<Pointe [all...] |
H A D | OptimalIntrinsics.hpp | 24 Float4 Sin(RValue<Float4> x); 25 Float4 Cos(RValue<Float4> x); 26 Float4 Tan(RValue<Float4> x); 27 Float4 Asin_4_terms(RValue<Float4> x); 28 Float4 Asin_8_terms(RValue<Float4> x); 29 Float4 Acos_4_terms(RValue<Float4> x); 30 Float4 Acos_8_terms(RValue<Float4> x); 31 Float4 Atan(RValue<Float4> x); 32 Float4 Atan2(RValue<Float4> y, RValue<Float [all...] |
H A D | LLVMReactor.cpp | 832 RValue<Float4> operator%(RValue<Float4> lhs, RValue<Float4> rhs) in operator %() 834 return RValue<Float4>(Nucleus::createFRem(lhs.value(), rhs.value())); in operator %() 1183 If(RValue<Bool>(elementMask)) in createGather() function 1198 RValue<Float4> Gather(RValue<Pointer<Float>> base, RValue<Int4> offsets, RValue<Int4> mask, unsigned int alignment, bool zeroMaskedLanes /* = false */) in Gather() 1203 RValue<Int [all...] |
H A D | SubzeroReactor.cpp | 1304 RValue<Float4> operator%(RValue<Float4> lhs, RValue<Float4> rhs) 1409 auto pointer = RValue<Pointer<Byte>>(ptr); 1422 auto pointer = RValue<Pointer<Byte>>(ptr); 1484 RValue<Int4> v(V(vector)); 1486 auto pointer = RValue<Pointer<Byte>>(ptr); 1497 RValue<Int4> v(V(vector)); 1499 auto pointer = RValue<Pointer<Byte>>(ptr); 2245 RValue<Byt [all...] |
H A D | Print.hpp | 228 static std::string fmt(const RValue<Bool> &v) { return "%s"; } in fmt() 229 static std::vector<Value *> val(const RValue<Bool> &v); 234 static std::string fmt(const RValue<Byte> &v) { return "%d"; } in fmt() 235 static std::vector<Value *> val(const RValue<Byte> &v); 240 static std::string fmt(const RValue<Byte4> &v) { return "[%d, %d, %d, %d]"; } in fmt() 241 static std::vector<Value *> val(const RValue<Byte4> &v); 246 static std::string fmt(const RValue<Int> &v) { return "%d"; } in fmt() 247 static std::vector<Value *> val(const RValue<Int> &v); 252 static std::string fmt(const RValue<Int2> &v) { return "[%d, %d]"; } in fmt() 253 static std::vector<Value *> val(const RValue<Int in fmt() [all...] |
H A D | OptimalIntrinsics.cpp | 19 Float4 Reciprocal(RValue<Float4> x, bool pp = false, bool finite = false, bool exactAtPow2 = false) in Reciprocal() 37 Float4 SinOrCos(RValue<Float4> x, bool sin) in SinOrCos() 84 Float4 Sin(RValue<Float4> x) in Sin() 89 Float4 Cos(RValue<Float4> x) in Cos() 94 Float4 Tan(RValue<Float4> x) in Tan() 99 Float4 Asin_4_terms(RValue<Float4> x) in Asin_4_terms() 113 Float4 Asin_8_terms(RValue<Float4> x) in Asin_8_terms() 131 Float4 Acos_4_terms(RValue<Float4> x) in Acos_4_terms() 137 Float4 Acos_8_terms(RValue<Float4> x) in Acos_8_terms() 143 Float4 Atan(RValue<Float [all...] |
H A D | Traits.hpp | 44 class RValue; 210 // IsRValue::value is true if T is of type RValue<X>, where X is any type. 242 // T can be a C-type, RValue or LValue.
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | ShaderCore.hpp | 148 inline void Store(RValue<T> val, OutOfBoundsBehavior robustness, Int mask, bool atomic = false, std::memory_order order = std::memory_order_relaxed); 186 Float4 exponential2(RValue<Float4> x, bool pp = false); 187 Float4 logarithm2(RValue<Float4> x, bool pp = false); 188 Float4 exponential(RValue<Float4> x, bool pp = false); 189 Float4 logarithm(RValue<Float4> x, bool pp = false); 190 Float4 power(RValue<Float4> x, RValue<Float4> y, bool pp = false); 191 Float4 reciprocal(RValue<Float4> x, bool pp = false, bool finite = false, bool exactAtPow2 = false); 192 Float4 reciprocalSquareRoot(RValue<Float4> x, bool abs, bool pp = false); 193 Float4 modulo(RValue<Float [all...] |
H A D | ShaderCore.cpp | 153 Float4 exponential2(RValue<Float4> x, bool pp) in exponential2() 181 Float4 logarithm2(RValue<Float4> x, bool pp) in logarithm2() 206 Float4 exponential(RValue<Float4> x, bool pp) in exponential() 212 Float4 logarithm(RValue<Float4> x, bool pp) in logarithm() 218 Float4 power(RValue<Float4> x, RValue<Float4> y, bool pp) in power() 225 Float4 reciprocal(RValue<Float4> x, bool pp, bool finite, bool exactAtPow2) in reciprocal() 230 Float4 reciprocalSquareRoot(RValue<Float4> x, bool absolute, bool pp) in reciprocalSquareRoot() 242 Float4 modulo(RValue<Float4> x, RValue<Float [all...] |
H A D | SpirvShader.hpp | 98 void move(uint32_t i, RValue<SIMD::Float> &&scalar) { emplace(i, scalar.value(), TypeHint::Float); } in move() 99 void move(uint32_t i, RValue<SIMD::Int> &&scalar) { emplace(i, scalar.value(), TypeHint::Int); } in move() 100 void move(uint32_t i, RValue<SIMD::UInt> &&scalar) { emplace(i, scalar.value(), TypeHint::UInt); } in move() 102 void move(uint32_t i, const RValue<SIMD::Float> &scalar) { emplace(i, scalar.value(), TypeHint::Float); } in move() 103 void move(uint32_t i, const RValue<SIMD::Int> &scalar) { emplace(i, scalar.value(), TypeHint::Int); } in move() 104 void move(uint32_t i, const RValue<SIMD::UInt> &scalar) { emplace(i, scalar.value(), TypeHint::UInt); } in move() 107 RValue<SIMD::Float> Float(uint32_t i) const in Float() 111 return As<SIMD::Float>(scalar[i]); // TODO(b/128539387): RValue<SIMD::Float>(scalar) in Float() 114 RValue<SIMD::Int> Int(uint32_t i) const 118 return As<SIMD::Int>(scalar[i]); // TODO(b/128539387): RValue<SIM [all...] |
H A D | SpirvShaderControlFlow.cpp | 198 void SpirvShader::EmitState::addOutputActiveLaneMaskEdge(Block::ID to, RValue<SIMD::Int> mask) in addOutputActiveLaneMaskEdge() 203 void SpirvShader::EmitState::addActiveLaneMaskEdge(Block::ID from, Block::ID to, RValue<SIMD::Int> mask) in addActiveLaneMaskEdge() 219 RValue<SIMD::Int> SpirvShader::GetActiveLaneMaskEdge(EmitState *state, Block::ID from, Block::ID to) const in GetActiveLaneMaskEdge() 543 std::vector<RValue<SIMD::Int>> caseLabelMatches; in EmitSwitch() 727 rr::Yield(RValue<Int>(int(res))); in Yield() 730 void SpirvShader::SetActiveLaneMask(RValue<SIMD::Int> mask, EmitState *state) const in SetActiveLaneMask()
|
H A D | SpirvShaderDebugger.cpp | 166 void store(const rr::RValue<rr::Pointer<rr::Byte>> &ptr, const rr::RValue<T> &val) 173 void store(const rr::RValue<rr::Pointer<rr::Byte>> &ptr, const T &val) 188 void store(const rr::RValue<rr::Pointer<rr::Byte>> &ptr, const std::array<T, N> &val) 2747 void SpirvShader::dbgUpdateActiveLaneMask(RValue<SIMD::Int> mask, EmitState *state) const 2821 void SpirvShader::dbgUpdateActiveLaneMask(RValue<SIMD::Int> mask, EmitState *state) const {}
|
H A D | SpirvShader.cpp | 1671 void SpirvShader::emit(SpirvRoutine *routine, RValue<SIMD::Int> const &activeLaneMask, RValue<SIMD::Int> const &storesAndAtomicsMask, const vk::DescriptorSet::Bindings &descriptorSets, unsigned int multiSampleCount) const in emit() 2197 dst.move(i, RValue<SIMD::Float>(0.0f)); in EmitVectorShuffle() 2319 auto value = (insn.wordCount() == 7) ? Operand(this, state, insn.word(6)).UInt(0) : RValue<SIMD::UInt>(1); in EmitAtomicOp()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | ShaderCore.hpp | 59 Float4 exponential2(RValue<Float4> x, bool pp = false); 60 Float4 logarithm2(RValue<Float4> x, bool abs, bool pp = false); 61 Float4 exponential(RValue<Float4> x, bool pp = false); 62 Float4 logarithm(RValue<Float4> x, bool abs, bool pp = false); 63 Float4 power(RValue<Float4> x, RValue<Float4> y, bool pp = false); 64 Float4 reciprocal(RValue<Float4> x, bool pp = false, bool finite = false, bool exactAtPow2 = false); 65 Float4 reciprocalSquareRoot(RValue<Float4> x, bool abs, bool pp = false); 66 Float4 modulo(RValue<Float4> x, RValue<Float [all...] |
H A D | ShaderCore.cpp | 115 Float4 exponential2(RValue<Float4> x, bool pp) in exponential2() 143 Float4 logarithm2(RValue<Float4> x, bool absolute, bool pp) in logarithm2() 168 Float4 exponential(RValue<Float4> x, bool pp) in exponential() 174 Float4 logarithm(RValue<Float4> x, bool absolute, bool pp) in logarithm() 180 Float4 power(RValue<Float4> x, RValue<Float4> y, bool pp) in power() 187 Float4 reciprocal(RValue<Float4> x, bool pp, bool finite, bool exactAtPow2) in reciprocal() 214 Float4 reciprocalSquareRoot(RValue<Float4> x, bool absolute, bool pp) in reciprocalSquareRoot() 244 Float4 modulo(RValue<Float4> x, RValue<Float [all...] |
H A D | PixelProgram.hpp | 76 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index); 77 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index, Int& offset);
|
H A D | VertexProgram.hpp | 74 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index); 75 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index, Int &offset);
|
H A D | PixelPipeline.hpp | 65 Short4 convertFixed12(RValue<Float4> cf);
|
/third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/ |
H A D | ReactorUnitTests.cpp | 2338 RValue<ReactorType> c = RValue<ReactorType>(CType{}); 2684 using IntrinsicTestParams_Float = IntrinsicTestParams<RValue<Float>(RValue<Float>), float(float), float>; 2685 using IntrinsicTestParams_Float4 = IntrinsicTestParams<RValue<Float4>(RValue<Float4>), float(float), float>; 2686 using IntrinsicTestParams_Float4_Float4 = IntrinsicTestParams<RValue<Float4>(RValue<Float4>, RValue<Float4>), float(float, float), std::pair<float, float>>; 2844 IntrinsicTestParams_Float4{ [](RValue<Float [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Blitter.cpp | 1245 Float y = state.clearOperation ? RValue<Float>(y0) : y0 + Float(j) * h; in generate() 1246 Pointer<Byte> destLine = dest + (dstQuadLayout ? j & Int(~1) : RValue<Int>(j)) * dPitchB; in generate() 1250 Float x = state.clearOperation ? RValue<Float>(x0) : x0 + Float(i) * w; in generate() 1251 Pointer<Byte> d = destLine + (dstQuadLayout ? (((j & Int(1)) << 1) + (i * 2) - (i & Int(1))) : RValue<Int>(i)) * dstBytes; in generate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/ |
H A D | ItaniumDemangle.cpp | 124 case ReferenceKind::RValue: in print() 125 return printStr("ReferenceKind::RValue"); in print()
|