/third_party/mindspore/tests/ut/cpp/utils/ |
D | lenet_specialize.txt | 3 %para1 : Array(F32)[1, 1, 32, 32] # %para1@3 4 , %para2 : Array(F32)[6, 1, 5, 5] # %para2@4 5 , %para3 : Array(F32)[16, 6, 5, 5] # %para3@5 6 , %para4 : Array(F32)[120, 400] # %para4@6 7 , %para5 : Array(F32)[120] # %para5@7 8 , %para6 : Array(F32)[84, 120] # %para6@8 9 , %para7 : Array(F32)[84] # %para7@9 10 , %para8 : Array(F32)[10, 84] # %para8@10 11 , %para9 : Array(F32)[10] # %para9@11 12 , %para10 : Array(F32)[6, 1, 5, 5] # %para10@12 [all …]
|
/third_party/skia/src/core/ |
D | SkVM.h | 508 struct F32 { struct 516 F32 r,g,b,a; argument 522 F32 h,s,l,a; 528 F32 x,y; 631 void assert_true(I32 cond, F32 debug) { assert_true(cond, pun_to_I32(debug)); } in assert_true() 637 void trace_var(I32 mask, int slot, F32 val); 646 void storeF (Ptr ptr, F32 val) { store32(ptr, pun_to_I32(val)); } in storeF() 657 F32 loadF (Ptr ptr) { return pun_to_F32(load32(ptr)); } in loadF() 663 F32 uniformF (UPtr ptr, int offset) { return pun_to_F32(uniform32(ptr,offset)); } in uniformF() 668 F32 arrayF (UPtr ptr, int offset, int index) { in arrayF() [all …]
|
D | SkColorSpacePriv.h | 104 skvm::F32 sk_program_transfer_fn( 105 skvm::F32 v, TFKind, 106 skvm::F32 G, skvm::F32 A, skvm::F32 B, skvm::F32 C, skvm::F32 D, skvm::F32 E, skvm::F32 F);
|
D | SkColorSpaceXformSteps.cpp | 140 skvm::F32 sk_program_transfer_fn( in sk_program_transfer_fn() 141 skvm::F32 v, TFKind tf_kind, in sk_program_transfer_fn() 142 skvm::F32 G, skvm::F32 A, skvm::F32 B, skvm::F32 C, skvm::F32 D, skvm::F32 E, skvm::F32 F) in sk_program_transfer_fn() 158 skvm::F32 vC = approx_powf(v, C); in sk_program_transfer_fn() 163 skvm::F32 vA = v*A, in sk_program_transfer_fn() 170 skvm::F32 K = F + 1.0f; in sk_program_transfer_fn() 183 skvm::F32 G = p->uniformF(uniforms->pushF(tf.g)), in sk_program_transfer_fn()
|
/third_party/skia/tests/sksl/runtime/ |
D | PrecisionQualifiers.skvm | 160 19 trace_var r9 $0 = r1 (F32) 161 20 trace_var r9 $1 = r2 (F32) 162 21 trace_var r9 $2 = r3 (F32) 163 22 trace_var r9 $3 = r4 (F32) 164 23 trace_var r9 $4 = r5 (F32) 165 24 trace_var r9 $5 = r6 (F32) 166 25 trace_var r9 $6 = r7 (F32) 167 26 trace_var r9 $7 = r8 (F32) 169 28 trace_var r9 $8 = r18 (F32) 170 29 trace_var r9 $9 = r0 (F32) [all …]
|
D | ArrayIndexing.skvm | 92 52 trace_var r30 $0 = r1 (F32) 93 53 trace_var r30 $1 = r2 (F32) 94 54 trace_var r30 $2 = r3 (F32) 95 55 trace_var r30 $3 = r4 (F32) 96 56 trace_var r30 $4 = r5 (F32) 97 57 trace_var r30 $5 = r6 (F32) 98 58 trace_var r30 $6 = r7 (F32) 99 59 trace_var r30 $7 = r8 (F32) 100 60 trace_var r30 $8 = r9 (F32) 101 61 trace_var r30 $9 = r10 (F32) [all …]
|
D | LoopFloat.skvm | 90 32 trace_var r10 $0 = r1 (F32) 91 33 trace_var r10 $1 = r2 (F32) 92 34 trace_var r10 $2 = r3 (F32) 93 35 trace_var r10 $3 = r4 (F32) 94 36 trace_var r10 $4 = r5 (F32) 95 37 trace_var r10 $5 = r6 (F32) 96 38 trace_var r10 $6 = r7 (F32) 97 39 trace_var r10 $7 = r8 (F32) 98 40 trace_var r10 $9 = r11 (F32) 100 42 trace_var r10 $10 = r31 (F32) [all …]
|
/third_party/skia/third_party/externals/tint/src/sem/ |
D | f32_type.cc | 19 TINT_INSTANTIATE_TYPEINFO(tint::sem::F32); 24 F32::F32() = default; 26 F32::F32(F32&&) = default; 28 F32::~F32() = default; 30 std::string F32::type_name() const { in type_name() 34 std::string F32::FriendlyName(const SymbolTable&) const { in FriendlyName() 38 bool F32::IsConstructible() const { in IsConstructible() 42 uint32_t F32::Size() const { in Size() 46 uint32_t F32::Align() const { in Align()
|
D | f32_type.h | 26 class F32 : public Castable<F32, Type> { 29 F32(); 31 F32(F32&&); 32 ~F32() override;
|
D | sampled_texture_type_test.cc | 29 F32 f32; in TEST_F() 39 F32 f32; in TEST_F() 45 F32 f32; in TEST_F() 51 F32 f32; in TEST_F() 57 F32 f32; in TEST_F()
|
D | multisampled_texture_type_test.cc | 30 F32 f32; in TEST_F() 41 F32 f32; in TEST_F() 47 F32 f32; in TEST_F() 53 F32 f32; in TEST_F() 59 F32 f32; in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/ast/ |
D | f32.cc | 19 TINT_INSTANTIATE_TYPEINFO(tint::ast::F32); 24 F32::F32(ProgramID pid, const Source& src) : Base(pid, src) {} in F32() function in tint::ast::F32 26 F32::F32(F32&&) = default; 28 F32::~F32() = default; 30 std::string F32::FriendlyName(const SymbolTable&) const { in FriendlyName() 34 const F32* F32::Clone(CloneContext* ctx) const { in Clone() 36 return ctx->dst->create<F32>(src); in Clone()
|
D | f32.h | 26 class F32 : public Castable<F32, Type> { 31 F32(ProgramID pid, const Source& src); 33 F32(F32&&); 34 ~F32() override; 44 const F32* Clone(CloneContext* ctx) const override;
|
D | sampled_texture_test.cc | 27 auto* f32 = create<F32>(); in TEST_F() 35 auto* f32 = create<F32>(); in TEST_F() 41 auto* f32 = create<F32>(); in TEST_F() 47 auto* f32 = create<F32>(); in TEST_F()
|
D | multisampled_texture_test.cc | 42 auto* f32 = create<F32>(); in TEST_F() 51 auto* f32 = create<F32>(); in TEST_F() 57 auto* f32 = create<F32>(); in TEST_F() 63 auto* f32 = create<F32>(); in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyInstrConv.td | 58 defm I32_TRUNC_S_SAT_F32 : I<(outs I32:$dst), (ins F32:$src), (outs), (ins), 59 [(set I32:$dst, (fp_to_sint F32:$src))], 63 defm I32_TRUNC_U_SAT_F32 : I<(outs I32:$dst), (ins F32:$src), (outs), (ins), 64 [(set I32:$dst, (fp_to_uint F32:$src))], 68 defm I64_TRUNC_S_SAT_F32 : I<(outs I64:$dst), (ins F32:$src), (outs), (ins), 69 [(set I64:$dst, (fp_to_sint F32:$src))], 73 defm I64_TRUNC_U_SAT_F32 : I<(outs I64:$dst), (ins F32:$src), (outs), (ins), 74 [(set I64:$dst, (fp_to_uint F32:$src))], 100 def : Pat<(int_wasm_trunc_saturate_signed F32:$src), 101 (I32_TRUNC_S_SAT_F32 F32:$src)>; [all …]
|
D | WebAssemblyInstrFloat.td | 16 defm _F32 : I<(outs F32:$dst), (ins F32:$src), (outs), (ins), 17 [(set F32:$dst, (node F32:$src))], 27 defm _F32 : I<(outs F32:$dst), (ins F32:$lhs, F32:$rhs), (outs), (ins), 28 [(set F32:$dst, (node F32:$lhs, F32:$rhs))], 37 defm _F32 : I<(outs I32:$dst), (ins F32:$lhs, F32:$rhs), (outs), (ins), 38 [(set I32:$dst, (setcc F32:$lhs, F32:$rhs, cond))], 70 def : Pat<(fcopysign F64:$lhs, F32:$rhs), 71 (COPYSIGN_F64 F64:$lhs, (F64_PROMOTE_F32 F32:$rhs))>; 72 def : Pat<(fcopysign F32:$lhs, F64:$rhs), 73 (COPYSIGN_F32 F32:$lhs, (F32_DEMOTE_F64 F64:$rhs))>; [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkVM.h | 277 struct F32 { Val id; }; argument 335 F32 splat(float f); 338 F32 add(F32 x, F32 y); 339 F32 sub(F32 x, F32 y); 340 F32 mul(F32 x, F32 y); 341 F32 div(F32 x, F32 y); 342 F32 mad(F32 x, F32 y, F32 z); // x*y+z, often an FMA 344 I32 eq (F32 x, F32 y); 345 I32 neq(F32 x, F32 y); 346 I32 lt (F32 x, F32 y); [all …]
|
/third_party/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/ |
D | nv_control.h | 109 #ifndef F32 110 # define F32 macro 398 FLOAT32 row1_col1 F32; member 399 FLOAT32 row1_col2 F32; member 400 FLOAT32 row1_col3 F32; member 401 FLOAT32 row1_col4 F32; member 402 FLOAT32 row2_col1 F32; member 403 FLOAT32 row2_col2 F32; member 404 FLOAT32 row2_col3 F32; member 405 FLOAT32 row2_col4 F32; member [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/ |
D | nv_control.h | 109 #ifndef F32 110 # define F32 macro 398 FLOAT32 row1_col1 F32; member 399 FLOAT32 row1_col2 F32; member 400 FLOAT32 row1_col3 F32; member 401 FLOAT32 row1_col4 F32; member 402 FLOAT32 row2_col1 F32; member 403 FLOAT32 row2_col2 F32; member 404 FLOAT32 row2_col3 F32; member 405 FLOAT32 row2_col4 F32; member [all …]
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLVMCodeGenerator.cpp | 56 struct FastF32 { skvm::F32 val; }; 57 static FastF32 operator*(skvm::F32 y) { return {y}; } in operator *() 58 static skvm::F32 operator*(skvm::F32 x, FastF32 y) { return fast_mul(x, y.val); } in operator *() 59 static skvm::F32 operator*(float x, FastF32 y) { return fast_mul(x, y.val); } in operator *() 72 Value(skvm::F32 x) : fVals({ x.id }) {} in Value() 86 ValRef& operator=(skvm::F32 v) { fVal = v.id; return *this; } in operator =() 179 skvm::F32 f32(skvm::Val id) { SkASSERT(id != skvm::NA); return {fBuilder, id}; } in f32() 183 skvm::F32 f32(const Value& v) { SkASSERT(v.slots() == 1); return f32(v[0]); } in f32() 641 const skvm::F32 zero = fBuilder->splat(0.0f); in writeBinaryExpression() 644 skvm::F32 sum = zero; in writeBinaryExpression() [all …]
|
/third_party/skia/third_party/externals/tint/src/transform/ |
D | transform_test.cc | 49 return b.create<sem::F32>(); in TEST_F() 50 })->Is<ast::F32>()); in TEST_F() 61 auto* column_type = b.create<sem::Vector>(b.create<sem::F32>(), 2u); in TEST_F() 65 ASSERT_TRUE(mat->As<ast::Matrix>()->type->Is<ast::F32>()); in TEST_F() 72 return b.create<sem::Vector>(b.create<sem::F32>(), 2); in TEST_F() 75 ASSERT_TRUE(vec->As<ast::Vector>()->type->Is<ast::F32>()); in TEST_F() 81 return b.create<sem::Array>(b.create<sem::F32>(), 2, 4, 4, 32u, 32u); in TEST_F() 84 ASSERT_TRUE(arr->As<ast::Array>()->type->Is<ast::F32>()); in TEST_F() 94 return b.create<sem::Array>(b.create<sem::F32>(), 2, 4, 4, 64u, 32u); in TEST_F() 97 ASSERT_TRUE(arr->As<ast::Array>()->type->Is<ast::F32>()); in TEST_F()
|
/third_party/flutter/skia/bench/ |
D | SkVMBench.cpp | 15 enum Mode {Opts, RP, F32, I32_Naive, I32, I32_SWAR}; enumerator 37 if (fMode == F32 ) { fProgram = SrcoverBuilder_F32 {}.done(); } in onDelayedSetup() 98 DEF_BENCH(return (new SkVMBench{ 1, F32});) 99 DEF_BENCH(return (new SkVMBench{ 4, F32});) 100 DEF_BENCH(return (new SkVMBench{ 15, F32});) 101 DEF_BENCH(return (new SkVMBench{ 63, F32});) 102 DEF_BENCH(return (new SkVMBench{ 256, F32});) 103 DEF_BENCH(return (new SkVMBench{1024, F32});) 104 DEF_BENCH(return (new SkVMBench{4096, F32});)
|
/third_party/flutter/skia/tools/ |
D | SkVMBuilders.cpp | 17 skvm::F32 _1_255 = splat(1/255.0f); in SrcoverBuilder_F32() 21 auto load = [&](Fmt fmt, skvm::F32* r, skvm::F32* g, skvm::F32* b, skvm::F32* a) { in SrcoverBuilder_F32() 48 skvm::F32 r,g,b,a; in SrcoverBuilder_F32() 51 skvm::F32 dr,dg,db,da; in SrcoverBuilder_F32() 54 skvm::F32 invA = sub(splat(1.0f), a); in SrcoverBuilder_F32() 60 auto f32_to_byte = [&](skvm::F32 f32) { in SrcoverBuilder_F32() 61 skvm::F32 _255 = splat(255.0f), in SrcoverBuilder_F32() 71 skvm::F32 _2126 = splat(0.2126f), in SrcoverBuilder_F32()
|
/third_party/skia/third_party/externals/tint/src/ |
D | intrinsic_table_test.cc | 43 auto* f32 = create<sem::F32>(); in TEST_F() 61 auto* f32 = create<sem::F32>(); in TEST_F() 75 auto* f32 = create<sem::F32>(); in TEST_F() 83 auto* f32 = create<sem::F32>(); in TEST_F() 103 auto* f32 = create<sem::F32>(); in TEST_F() 134 auto* f32 = create<sem::F32>(); in TEST_F() 169 auto* f32 = create<sem::F32>(); in TEST_F() 191 auto* f32 = create<sem::F32>(); in TEST_F() 206 auto* f32 = create<sem::F32>(); in TEST_F() 253 auto* f32 = create<sem::F32>(); in TEST_F() [all …]
|