Searched refs:is_mul (Results 1 – 6 of 6) sorted by relevance
181 bool is_mul) in check_tmu_write() argument184 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() argument334 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() argument381 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 …]
296 print_alu_dst(uint64_t inst, bool is_mul) in print_alu_dst() argument298 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() argument333 if (has_si && is_mul && si >= QPU_SMALL_IMM_MUL_ROT + 1) in print_alu_src()
210 def _SparseDenseCwiseMulOrDivGrad(op, grad, is_mul): argument229 if is_mul:
2922 const bool is_mul = IsAnyMul(*node) || IsLogicalAnd(*node); in SimplifyArithmeticOperations() local2929 (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() local3314 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 …]
703 bool is_mul = llvm::isa<MulOp>(binary_op); in matchAndRewrite() local706 return (is_mul ? it * cst_value : it / cst_value).bitcastToAPInt(); in matchAndRewrite()
298 bool is_mul() in is_mul() function2672 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()