Home
last modified time | relevance | path

Searched refs:splat (Results 1 - 25 of 40) sorted by relevance

12

/third_party/skia/src/core/
H A DSkVM.h444 M(splat) \
697 I32 splat(int n);
698 I32 splat(unsigned u) { return splat((int)u); } in splat() function in skvm::Builder
699 F32 splat(float f) { in splat() function in skvm::Builder
702 return pun_to_F32(splat(bits)); in splat()
716 // You can of course always splat() to override these opinions.
720 F32 add(F32 x, float y) { return add(x, splat(y)); } in add()
721 F32 add(float x, F32 y) { return add(splat(x), y); } in add()
724 F32 sub(F32 x, float y) { return sub(x, splat(
[all...]
H A DSkVM.cpp324 case Op::splat: write(o, V{id}, "=", op, Splat{immA}); break; in write_one_instruction()
444 case Op::splat: write(o, R{d}, "=", op, Splat{immA}); break; in dump()
692 I32 val = b ? this->splat(1) : this->splat(0); in trace_var()
745 I32 Builder::splat(int n) { return {this, push(Op::splat, NA,NA,NA,NA, n) }; } in splat() function in skvm::Builder
763 if (float X,Y; this->allImm(x.id,&X, y.id,&Y)) { return splat(X+Y); } in add()
779 if (float X,Y; this->allImm(x.id,&X, y.id,&Y)) { return splat(X-Y); } in sub()
793 if (float X,Y; this->allImm(x.id,&X, y.id,&Y)) { return splat(X*Y); } in mul()
800 if (this->isImm(x.id, 0.0f) || this->isImm(y.id, 0.0f)) { return splat(0. in fast_mul()
[all...]
H A DSk4px.h28 Sk4u splat(c); in DupPMColor()
31 memcpy((void*)&v, &splat, 16); in DupPMColor()
H A DSkVMBlitter.cpp341 dst.a = p->splat(1.0f); in BuildProgram()
351 cov.r = cov.g = cov.b = cov.a = p->splat(1.0f); in BuildProgram()
409 src.a = p->splat(1.0f); in BuildProgram()
H A DSkRuntimeEffect.cpp660 skvm::Coord zeroCoord = {p.splat(0.0f), p.splat(0.0f)}; in Make()
898 skvm::Coord zeroCoord = { p->splat(0.0f), p->splat(0.0f) };
1171 skvm::Coord zeroCoord = {p->splat(0.0f), p->splat(0.0f)};
H A DSkColorFilter_Matrix.cpp123 skvm::F32 bias = b == 0.0f ? p->splat(0.0f) in onProgram()
/third_party/skia/src/opts/
H A DSk4px_SSE2.h39 __m128i splat = _mm_set_epi8(15,15,15,15, 11,11,11,11, 7,7,7,7, 3,3,3,3); in alphas() local
40 return Sk16b(_mm_shuffle_epi8(this->fVec, splat)); in alphas()
46 __m128i splat = _mm_set_epi8(3,3,3,3, 2,2,2,2, 1,1,1,1, 0,0,0,0); in Load4Alphas() local
47 return Sk16b(_mm_shuffle_epi8(_mm_cvtsi32_si128(as), splat)); in Load4Alphas()
/third_party/rust/crates/memchr/src/memmem/
H A Dvector.rs23 unsafe fn splat(byte: u8) -> Self; in splat() functions
41 unsafe fn splat(byte: u8) -> __m128i { in splat() functions
74 unsafe fn splat(byte: u8) -> __m256i { in splat() functions
107 unsafe fn splat(byte: u8) -> v128 { in splat() functions
H A Dgenericsimd.rs131 let rare1chunk = V::splat(needle[rare1i]);
132 let rare2chunk = V::splat(needle[rare2i]);
/third_party/skia/tests/
H A DSkVMTest.cpp30 b.add(a, b.splat(7)); in DEF_TEST()
45 b.add(b.splat(5.0f), in DEF_TEST()
46 b.splat(4.0f)); in DEF_TEST()
62 b.store32(b.varying<int>(), b.splat(42)); in DEF_TEST()
117 b.add(b.splat(1), in DEF_TEST()
144 b.store32(buf, b.gather32(uniforms,0, b.bit_and(x, b.splat(7)))); in DEF_TEST()
196 b.store32(buf32, b.gather32(uniforms,0, b.bit_and(x, b.splat( 7)))); in DEF_TEST()
197 b.store16(buf16, b.gather16(uniforms,0, b.bit_and(x, b.splat(15)))); in DEF_TEST()
198 b.store8 (buf8 , b.gather8 (uniforms,0, b.bit_and(x, b.splat(31)))); in DEF_TEST()
300 x = b.bit_and (x, b.splat(
[all...]
/third_party/skia/src/sksl/ir/
H A DSkSLConstructorCompoundCast.cpp29 // This is a typecast of a splat containing a constant value, e.g. `half4(7)`. We can in cast_constant_composite()
30 // replace it with a splat of a different type, e.g. `int4(7)`. in cast_constant_composite()
31 ConstructorSplat& splat = constCtor->as<ConstructorSplat>(); in cast_constant_composite() local
35 std::move(splat.argument()))); in cast_constant_composite()
H A DSkSLSwizzle.cpp453 // Replace swizzles with equivalent splat constructors (`scalar.xxx` --> `half3(value)`). in Make()
494 // in a splat constructor holds the same value. in Make()
496 const ConstructorSplat& splat = value->as<ConstructorSplat>(); in Make() local
498 context, splat.fLine, in Make()
499 splat.type().componentType().toCompound(context, components.size(), /*rows=*/1), in Make()
500 splat.argument()->clone()); in Make()
/third_party/skia/src/sksl/codegen/
H A DSkSLVMCodeGenerator.cpp367 fConditionMask = fLoopMask = fBuilder->splat(0xffff'ffff);
409 this->writeToSlot(slot + 2, fBuilder->splat(0.0f).id);
410 this->writeToSlot(slot + 3, fBuilder->splat(1.0f).id);
450 fFunctionStack.push_back({outReturn, /*returned=*/fBuilder->splat(0)});
571 skvm::Val initialValue = fBuilder->splat(0.0f).id;
641 const skvm::F32 zero = fBuilder->splat(0.0f);
866 const skvm::F32 zero = fBuilder->splat(0.0f);
890 dst[dstIndex++] = fBuilder->splat(c == r ? 1.0f : 0.0f);
1332 const skvm::F32 zero = fBuilder->splat(0.0f);
1380 std::vector<skvm::F32> result(nslots, fBuilder->splat(0.
[all...]
/third_party/rust/crates/memchr/src/memmem/prefilter/
H A Dgenericsimd.rs63 let rare1chunk = V::splat(needle[rare1i]);
64 let rare2chunk = V::splat(needle[rare2i]);
/third_party/rust/crates/regex/regex-syntax/src/ast/
H A Dmod.rs392 pub fn splat(pos: Position) -> Span { in splat() functions
1378 let empty_span = || Span::splat(Position::new(0, 0, 0)); in drop()
1439 let empty_span = || Span::splat(Position::new(0, 0, 0)); in drop()
1481 let span = || Span::splat(Position::new(0, 0, 0)); in no_stack_overflow_on_drop()
/third_party/skia/src/shaders/
H A DSkImageShader.cpp809 c.a = p->splat(1.0f); in makeProgram()
814 skvm::I32 mask = p->splat(~0); in makeProgram()
843 const skvm::F32 tmpx[] = { p->splat(1.0f), fx, fx*fx, fx*fx*fx }; in makeProgram()
844 const skvm::F32 tmpy[] = { p->splat(1.0f), fy, fy*fy, fy*fy*fy }; in makeProgram()
859 c.r = c.g = c.b = c.a = p->splat(0.0f); in makeProgram()
909 c.a = p->splat(1.0f); in makeProgram()
929 ? p->splat(1.0f) in makeProgram()
H A DSkShader.cpp224 // This is primarily nice in that we usually have a 1.0f constant splat in program()
227 // of that simple hoistable splat. in program()
237 color.a = p->splat(1.0f); in program()
/third_party/skia/src/shaders/gradients/
H A DSkSweepGradient.cpp85 skvm::F32 t = select(is_NaN(phi), p->splat(0.0f)
H A DSkTwoPointConicalGradient.cpp232 skvm::F32 t = x + sqrt(p->splat(r*r) - y*y); in transformT()
/third_party/node/deps/simdutf/
H A Dsimdutf.cpp300 static simdutf_really_inline simd8<bool> splat(bool _value) { return vmovq_n_u8(uint8_t(-(!!_value))); } in splat() function
306 simdutf_really_inline simd8(bool _value) : simd8(splat(_value)) {} in simd8()
345 static simdutf_really_inline simd8<uint8_t> splat(uint8_t _value) { return vmovq_n_u8(_value); } in splat() function
354 simdutf_really_inline simd8(uint8_t _value) : simd8(splat(_value)) {} in simd8()
455 static simdutf_really_inline simd8<int8_t> splat(int8_t _value) { return vmovq_n_s8(_value); } in splat() function
525 simdutf_really_inline simd8(int8_t _value) : simd8(splat(_value)) {} in simd8()
694 const simd8<T> mask = simd8<T>::splat(m); in eq()
704 const simd8<T> mask = simd8<T>::splat(m); in lteq()
714 const simd8<T> mask_low = simd8<T>::splat(low); in in_range()
715 const simd8<T> mask_high = simd8<T>::splat(hig in in_range()
824 static simdutf_really_inline simd16<bool> splat(bool _value) { return vmovq_n_u16(uint16_t(-(!!_value))); } splat() function
835 static simdutf_really_inline simd16<T> splat(T _value) { return vmovq_n_u16(_value); } splat() function
1743 static simdutf_really_inline simd8<bool> splat(bool _value) { return _mm256_set1_epi8(uint8_t(-(!!_value))); } splat() function
1759 static simdutf_really_inline simd8<T> splat(T _value) { return _mm256_set1_epi8(_value); } splat() function
2094 static simdutf_really_inline simd16<bool> splat(bool _value) { return _mm256_set1_epi16(uint16_t(-(!!_value))); } splat() function
2108 static simdutf_really_inline simd16<T> splat(T _value) { return _mm256_set1_epi16(_value); } splat() function
2649 static simdutf_really_inline simd8<bool> splat(bool _value) { return _mm_set1_epi8(uint8_t(-(!!_value))); } splat() function
2665 static simdutf_really_inline simd8<T> splat(T _value) { return _mm_set1_epi8(_value); } splat() function
2824 static simdutf_really_inline simd8<uint16_t> splat(uint16_t _value) { return _mm_set1_epi16(_value); } splat() function
3043 static simdutf_really_inline simd16<bool> splat(bool _value) { return _mm_set1_epi16(uint16_t(-(!!_value))); } splat() function
3057 static simdutf_really_inline simd16<T> splat(T _value) { return _mm_set1_epi16(_value); } splat() function
3551 static simdutf_really_inline simd8<bool> splat(bool _value) { splat() function
3584 static simdutf_really_inline simd8<T> splat(T value) { splat() function
[all...]
/third_party/ffmpeg/libavcodec/x86/
H A Dvp8dsp_loopfilter.asm195 SPLATB_REG m7, flim, m0 ; splat "flim" into register
338 ; splat function arguments
361 ; splat function arguments
712 ; splat function arguments
747 ; splat function arguments
H A Dac3dsp_downmix.asm99 ; load/splat matrix coeffs
/third_party/jerryscript/tests/jerry/
H A Dregression-test-issue-3114.js42 var id_56 = id_57.splat;
/third_party/skia/modules/particles/src/
H A DSkParticleBinding.cpp186 skvm::F32 zero = builder->splat(0.0f);
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_glsl.cpp5161 bool splat = backend.use_constructor_splatting && c.vector_size() > 1;
5170 if (splat || swizzle_splat)
5177 splat = false;
5184 if (splat || swizzle_splat)
5193 splat = false;
5206 splat = false;
5219 if (splat || swizzle_splat)
5241 if (splat || swizzle_splat)
5263 if (splat || swizzle_splat)
5285 if (splat)
[all...]

Completed in 43 milliseconds

12