Home
last modified time | relevance | path

Searched refs:is_mul (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate_shaders.c181 bool is_mul) in check_tmu_write() argument
184 uint32_t waddr = (is_mul ? in check_tmu_write()
206 if (is_mul || in check_tmu_write()
305 bool is_mul) in validate_uniform_address_write() argument
334 if (is_mul || QPU_GET_FIELD(inst, QPU_OP_ADD) != QPU_A_ADD) { in validate_uniform_address_write()
378 bool is_mul) in check_reg_write() argument
381 uint32_t waddr = (is_mul ? in check_reg_write()
386 bool is_b = is_mul ^ ws; in check_reg_write()
395 ((is_mul && cond_mul == QPU_COND_ALWAYS) || in check_reg_write()
396 (!is_mul && cond_add == QPU_COND_ALWAYS))) { in check_reg_write()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qpu_disasm.c296 print_alu_dst(uint64_t inst, bool is_mul) in print_alu_dst() argument
298 bool is_a = is_mul == ((inst & QPU_WS) != 0); in print_alu_dst()
299 uint32_t waddr = (is_mul ? in print_alu_dst()
312 if (is_mul && (inst & QPU_PM)) { in print_alu_dst()
320 print_alu_src(uint64_t inst, uint32_t mux, bool is_mul) in print_alu_src() argument
333 if (has_si && is_mul && si >= QPU_SMALL_IMM_MUL_ROT + 1) in print_alu_src()
/external/tensorflow/tensorflow/python/ops/
Dsparse_grad.py210 def _SparseDenseCwiseMulOrDivGrad(op, grad, is_mul): argument
229 if is_mul:
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc2922 const bool is_mul = IsAnyMul(*node) || IsLogicalAnd(*node); in SimplifyArithmeticOperations() local
2929 (is_mul || is_matmul || is_add || is_sub || is_any_div) && in SimplifyArithmeticOperations()
2954 if ((is_mul && x_is_one) || (is_add && x_is_zero)) { in SimplifyArithmeticOperations()
2983 if (((is_mul || is_any_div) && y_is_one) || in SimplifyArithmeticOperations()
3009 (is_mul || is_matmul || optimize_zeros_divided_by_y)) { in SimplifyArithmeticOperations()
3023 if ((is_mul || is_any_div) && x_is_zero) { in SimplifyArithmeticOperations()
3031 } else if (is_mul && y_is_zero) { in SimplifyArithmeticOperations()
3311 const bool is_mul = IsMul(*node); in ConstantPushDown() local
3314 if (!(is_add || is_sub || is_mul || is_div)) return false; in ConstantPushDown()
3315 const bool is_symmetric = is_add || is_mul; in ConstantPushDown()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Doptimize.cc703 bool is_mul = llvm::isa<MulOp>(binary_op); in matchAndRewrite() local
706 return (is_mul ? it * cst_value : it / cst_value).bitcastToAPInt(); in matchAndRewrite()
/external/mesa3d/src/amd/compiler/
Daco_optimizer.cpp298 bool is_mul() in is_mul() function
2672 if (!ctx.info[val.id()].is_mul()) in combine_instruction()
2731 … if (op0_info && op0_info->is_mul() && (!need_fma || !op0_info->instr->definitions[0].isPrecise())) in combine_instruction()
2733 … if (op1_info && op1_info->is_mul() && (!need_fma || !op1_info->instr->definitions[0].isPrecise())) in combine_instruction()