Home
last modified time | relevance | path

Searched refs:scratch1 (Results 1 – 25 of 67) sorted by relevance

123

/external/tensorflow/tensorflow/core/kernels/
Dbatch_norm_op.h83 typename TTypes<T>::Vec dg, typename TTypes<T>::Vec scratch1, in operator()
117 scratch1.device(d) = (var + var.constant(variance_epsilon)).rsqrt(); in operator()
127 out_backprop.reshape(rest_by_depth) * ((scratch1 * gamma) in operator()
131 dm.device(d) = -db * (scratch1 * gamma).eval(); in operator()
132 dg.device(d) = scratch2 * scratch1; in operator()
136 scratch1.reshape(one_by_depth).broadcast(rest_by_one); in operator()
137 dm.device(d) = -db * scratch1; in operator()
142 scratch1.device(d) = scratch1 * scratch1.constant(static_cast<T>(-0.5f)) / in operator()
146 dv.device(d) = scratch2 * (scratch1 * gamma).eval(); in operator()
148 dv.device(d) = scratch2 * scratch1; in operator()
Dbatch_norm_op.cc142 Tensor scratch1; in Compute() local
145 TensorShape({input.dim_size(3)}), &scratch1)); in Compute()
159 scratch1.vec<T>(), scratch2.vec<T>()); in Compute()
247 typename TTypes<T>::Vec scratch1, typename TTypes<T>::Vec scratch2); \
/external/libaom/libaom/aom_dsp/mips/
Dconvolve2_vert_dspr2.c33 uint32_t scratch1; in convolve_bi_vert_4_dspr2() local
100 [p2] "=&r"(p2), [scratch1] "=&r"(scratch1), [Temp1] "=&r"(Temp1), in convolve_bi_vert_4_dspr2()
123 uint32_t scratch1; in convolve_bi_vert_64_dspr2() local
190 [p2] "=&r"(p2), [scratch1] "=&r"(scratch1), [Temp1] "=&r"(Temp1), in convolve_bi_vert_64_dspr2()
Dconvolve8_vert_dspr2.c35 uint32_t scratch1, scratch2; in convolve_vert_4_dspr2() local
156 [n1] "=&r"(n1), [n2] "=&r"(n2), [scratch1] "=&r"(scratch1), in convolve_vert_4_dspr2()
183 uint32_t scratch1, scratch2; in convolve_vert_64_dspr2() local
305 [n1] "=&r"(n1), [n2] "=&r"(n2), [scratch1] "=&r"(scratch1), in convolve_vert_64_dspr2()
/external/libvpx/libvpx/vpx_dsp/mips/
Dconvolve2_vert_dspr2.c32 uint32_t scratch1; in convolve_bi_vert_4_dspr2() local
99 [p2] "=&r"(p2), [scratch1] "=&r"(scratch1), [Temp1] "=&r"(Temp1), in convolve_bi_vert_4_dspr2()
122 uint32_t scratch1; in convolve_bi_vert_64_dspr2() local
189 [p2] "=&r"(p2), [scratch1] "=&r"(scratch1), [Temp1] "=&r"(Temp1), in convolve_bi_vert_64_dspr2()
Dconvolve2_avg_dspr2.c32 uint32_t scratch1, scratch2; in convolve_bi_avg_vert_4_dspr2() local
106 [p2] "=&r"(p2), [scratch1] "=&r"(scratch1), in convolve_bi_avg_vert_4_dspr2()
131 uint32_t scratch1, scratch2; in convolve_bi_avg_vert_64_dspr2() local
206 [p2] "=&r"(p2), [scratch1] "=&r"(scratch1), in convolve_bi_avg_vert_64_dspr2()
Dconvolve8_vert_dspr2.c33 uint32_t scratch1, scratch2; in convolve_vert_4_dspr2() local
154 [n1] "=&r"(n1), [n2] "=&r"(n2), [scratch1] "=&r"(scratch1), in convolve_vert_4_dspr2()
181 uint32_t scratch1, scratch2; in convolve_vert_64_dspr2() local
303 [n1] "=&r"(n1), [n2] "=&r"(n2), [scratch1] "=&r"(scratch1), in convolve_vert_64_dspr2()
Dconvolve8_avg_dspr2.c34 uint32_t scratch1, scratch2; in convolve_avg_vert_4_dspr2() local
163 [n1] "=&r"(n1), [n2] "=&r"(n2), [scratch1] "=&r"(scratch1), in convolve_avg_vert_4_dspr2()
190 uint32_t scratch1, scratch2; in convolve_avg_vert_64_dspr2() local
320 [n1] "=&r"(n1), [n2] "=&r"(n2), [scratch1] "=&r"(scratch1), in convolve_avg_vert_64_dspr2()
/external/libvpx/libvpx/vp8/common/x86/
Dloopfilter_block_sse2_x86_64.asm18 movdqa scratch1, %2 ; v2
20 psubusb scratch1, %1 ; v2 - v1
22 por %1, scratch1 ; abs(v2 - v1)
72 movdqa scratch1, %1
73 psubsb scratch1, %4 ; signed_char_clamp(ps1 - qs1)
74 pandn scratch2, scratch1 ; vp8_filter &= hev
78 movdqa scratch1, %3
79 psubsb scratch1, %2 ; qs0 - ps0
80 paddsb scratch2, scratch1 ; vp8_filter += (qs0 - ps0)
81 paddsb scratch2, scratch1 ; vp8_filter += (qs0 - ps0)
[all …]
/external/u-boot/arch/arm/mach-omap2/am33xx/
Dboard.c367 writel(magic, &rtc->scratch1); in update_rtc_magic()
446 u32 scratch1, sdrc; in rtc_only() local
449 scratch1 = readl(&rtc->scratch1); in rtc_only()
458 if ((scratch1 & 0xffff) != RTC_MAGIC_VAL) in rtc_only()
464 writel(0, &rtc->scratch1); in rtc_only()
471 rtc_only_update_board_type(scratch1 >> RTC_BOARD_TYPE_SHIFT); in rtc_only()
/external/llvm/test/CodeGen/AMDGPU/
Dscratch-buffer.ll20 %scratch1 = alloca [8192 x i32]
25 %scratchptr1 = getelementptr [8192 x i32], [8192 x i32]* %scratch1, i32 0, i32 0
37 %else_ptr = getelementptr [8192 x i32], [8192 x i32]* %scratch1, i32 0, i32 %else_offset
58 %scratch1 = alloca [8192 x i32]
66 %scratchptr1 = getelementptr [8192 x i32], [8192 x i32]* %scratch1, i32 0, i32 %offset1
78 %else_ptr = getelementptr [8192 x i32], [8192 x i32]* %scratch1, i32 0, i32 %else_offset
/external/protobuf/src/google/protobuf/util/
Dfield_comparator.cc94 std::string scratch1; in Compare() local
99 message_1, field, index_1, &scratch1), in Compare()
105 std::string scratch1; in Compare() local
109 reflection_1->GetStringReference(message_1, field, &scratch1), in Compare()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dscratch-buffer.ll19 %scratch1 = alloca [8192 x i32], addrspace(5)
24 %scratchptr1 = getelementptr [8192 x i32], [8192 x i32] addrspace(5)* %scratch1, i32 0, i32 0
36 …%else_ptr = getelementptr [8192 x i32], [8192 x i32] addrspace(5)* %scratch1, i32 0, i32 %else_off…
59 %scratch1 = alloca [8192 x i32], addrspace(5)
67 …%scratchptr1 = getelementptr [8192 x i32], [8192 x i32] addrspace(5)* %scratch1, i32 0, i32 %offse…
79 …%else_ptr = getelementptr [8192 x i32], [8192 x i32] addrspace(5)* %scratch1, i32 0, i32 %else_off…
Dmemory-legalizer-multiple-mem-operands-nontemporal-2.mir11 %scratch1 = alloca [8192 x i32], addrspace(5)
14 %scratchptr12 = bitcast [8192 x i32] addrspace(5)* %scratch1 to i32 addrspace(5)*
25 …%else_ptr = getelementptr [8192 x i32], [8192 x i32] addrspace(5)* %scratch1, i32 0, i32 %else_off…
107 - { id: 1, name: scratch1, type: default, offset: 32772, size: 32768,
Dmemory-legalizer-multiple-mem-operands-nontemporal-1.mir11 %scratch1 = alloca [8192 x i32], addrspace(5)
14 %scratchptr12 = bitcast [8192 x i32] addrspace(5)* %scratch1 to i32 addrspace(5)*
25 …%else_ptr = getelementptr [8192 x i32], [8192 x i32] addrspace(5)* %scratch1, i32 0, i32 %else_off…
107 - { id: 1, name: scratch1, type: default, offset: 32772, size: 32768,
/external/v8/src/wasm/baseline/mips64/
Dliftoff-assembler-mips64.h1822 MSARegister scratch1 = kSimd128ScratchReg; in emit_i8x16_bitmask() local
1824 srli_h(scratch1, scratch0, 7); in emit_i8x16_bitmask()
1825 or_v(scratch0, scratch0, scratch1); in emit_i8x16_bitmask()
1826 srli_w(scratch1, scratch0, 14); in emit_i8x16_bitmask()
1827 or_v(scratch0, scratch0, scratch1); in emit_i8x16_bitmask()
1828 srli_d(scratch1, scratch0, 28); in emit_i8x16_bitmask()
1829 or_v(scratch0, scratch0, scratch1); in emit_i8x16_bitmask()
1830 shf_w(scratch1, scratch0, 0x0E); in emit_i8x16_bitmask()
1831 ilvev_b(scratch0, scratch1, scratch0); in emit_i8x16_bitmask()
1952 MSARegister scratch1 = kSimd128ScratchReg; in emit_i16x8_bitmask() local
[all …]
/external/libopus/celt/
Dkiss_fft.c120 kiss_fft_cpx scratch0, scratch1; in kf_bfly4() local
124 C_ADD( scratch1 , Fout[1] , Fout[3] ); in kf_bfly4()
125 C_SUB( Fout[2], *Fout, scratch1 ); in kf_bfly4()
126 C_ADDTO( *Fout , scratch1 ); in kf_bfly4()
127 C_SUB( scratch1 , Fout[1] , Fout[3] ); in kf_bfly4()
129 Fout[1].r = ADD32_ovflw(scratch0.r, scratch1.i); in kf_bfly4()
130 Fout[1].i = SUB32_ovflw(scratch0.i, scratch1.r); in kf_bfly4()
131 Fout[3].r = SUB32_ovflw(scratch0.r, scratch1.i); in kf_bfly4()
132 Fout[3].i = ADD32_ovflw(scratch0.i, scratch1.r); in kf_bfly4()
/external/v8/src/codegen/mips/
Dmacro-assembler-mips.cc1464 Register scratch1, Register scratch2) { in AddPair() argument
1467 Addu(scratch1, left_low, right_low); in AddPair()
1468 Sltu(scratch3, scratch1, left_low); in AddPair()
1471 Move(dst_low, scratch1); in AddPair()
1476 Register scratch1, Register scratch2) { in AddPair() argument
1481 Addu(scratch1, left_low, dst_low); in AddPair()
1482 Sltu(scratch3, scratch1, left_low); in AddPair()
1485 Move(dst_low, scratch1); in AddPair()
1491 Register scratch1, Register scratch2) { in SubPair() argument
1495 Subu(scratch1, left_low, right_low); in SubPair()
[all …]
Dmacro-assembler-mips.h463 Register scratch1);
544 Register scratch1, Register scratch2);
547 Register left_high, int32_t imm, Register scratch1,
552 Register scratch1, Register scratch2);
565 Register scratch1, Register scratch2);
568 Register src_high, Register shift, Register scratch1,
575 Register src_high, Register shift, Register scratch1,
582 Register src_high, Register shift, Register scratch1,
1093 void IncrementCounter(StatsCounter* counter, int value, Register scratch1,
1095 void DecrementCounter(StatsCounter* counter, int value, Register scratch1,
[all …]
/external/v8/src/compiler/backend/mips64/
Dcode-generator-mips64.cc146 Register value, Register scratch0, Register scratch1, in OutOfLineRecordWrite() argument
153 scratch1_(scratch1), in OutOfLineRecordWrite()
513 Register scratch1, in AssemblePopArgumentsAdaptorFrame() argument
516 DCHECK(!AreAliased(args_reg, scratch1, scratch2, scratch3)); in AssemblePopArgumentsAdaptorFrame()
526 Register caller_args_count_reg = scratch1; in AssemblePopArgumentsAdaptorFrame()
883 Register scratch1 = i.TempRegister(1); in AssembleArchInstruction() local
885 scratch0, scratch1, mode, in AssembleArchInstruction()
2213 Simd128Register scratch1 = kSimd128ScratchReg; in AssembleArchInstruction() local
2219 __ or_v(scratch1, scratch0, src1); in AssembleArchInstruction()
2222 __ bsel_v(scratch0, src0, scratch1); in AssembleArchInstruction()
[all …]
/external/v8/src/builtins/ia32/
Dbuiltins-ia32.cc464 const Register scratch1 = edx; in Generate_JSEntryTrampolineHelper() local
470 __ mov(esi, __ ExternalReferenceAsOperand(context_address, scratch1)); in Generate_JSEntryTrampolineHelper()
473 __ mov(scratch1, Operand(ebp, 0)); in Generate_JSEntryTrampolineHelper()
476 __ push(Operand(scratch1, EntryFrameConstants::kFunctionArgOffset)); in Generate_JSEntryTrampolineHelper()
479 __ mov(eax, Operand(scratch1, EntryFrameConstants::kArgcOffset)); in Generate_JSEntryTrampolineHelper()
480 __ mov(scratch1, Operand(scratch1, EntryFrameConstants::kArgvOffset)); in Generate_JSEntryTrampolineHelper()
501 __ mov(scratch2, Operand(scratch1, ecx, times_system_pointer_size, 0)); in Generate_JSEntryTrampolineHelper()
549 Register scratch1) { in GetSharedFunctionInfoBytecode() argument
552 __ CmpObjectType(sfi_data, INTERPRETER_DATA_TYPE, scratch1); in GetSharedFunctionInfoBytecode()
699 Register scratch1, in ReplaceClosureCodeWithOptimizedCode() argument
[all …]
/external/v8/src/codegen/mips64/
Dmacro-assembler-mips64.cc2087 Register scratch1 = t8; in Neg_s() local
2096 mfc1(scratch1, fs); in Neg_s()
2098 Xor(scratch1, scratch1, scratch2); in Neg_s()
2099 mtc1(scratch1, fd); in Neg_s()
2112 Register scratch1 = t8; in Neg_d() local
2121 dmfc1(scratch1, fs); in Neg_d()
2123 Xor(scratch1, scratch1, scratch2); in Neg_d()
2124 dmtc1(scratch1, fd); in Neg_d()
2262 Register scratch1 = temps.Acquire(); in Trunc_l_ud() local
2263 li(scratch1, 0x7FFFFFFFFFFFFFFF); in Trunc_l_ud()
[all …]
/external/v8/src/builtins/arm64/
Dbuiltins-arm64.cc412 Register scratch1) { in GetSharedFunctionInfoBytecode() argument
414 __ CompareObjectType(sfi_data, scratch1, scratch1, INTERPRETER_DATA_TYPE); in GetSharedFunctionInfoBytecode()
944 static void LeaveInterpreterFrame(MacroAssembler* masm, Register scratch1, in LeaveInterpreterFrame() argument
946 Register params_size = scratch1; in LeaveInterpreterFrame()
1081 Register bytecode, Register scratch1, in AdvanceBytecodeOffsetOrReturn() argument
1083 Register bytecode_size_table = scratch1; in AdvanceBytecodeOffsetOrReturn()
1143 __ Ldr(scratch1.W(), MemOperand(bytecode_size_table, bytecode, LSL, 2)); in AdvanceBytecodeOffsetOrReturn()
1144 __ Add(bytecode_offset, bytecode_offset, scratch1); in AdvanceBytecodeOffsetOrReturn()
2820 Register scratch1 = x15; in Generate_ArgumentsAdaptorTrampoline() local
2825 __ Add(scratch1, argc_expected, 1); in Generate_ArgumentsAdaptorTrampoline()
[all …]
/external/u-boot/arch/arm/include/asm/
Ddavinci_rtc.h40 unsigned int scratch1; member
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dbatch_norm_op.cc298 auto scratch1 = xla::Rsqrt(xla::Add(var, epsilon)); in Compile() local
310 xla::Mul(grad_backprop, xla::Mul(scratch1, scale), {feature_index}); in Compile()
311 scale_backprop = xla::Mul(scratch1, scratch2); in Compile()

123