/third_party/mesa3d/src/compiler/glsl/ |
H A D | opt_algebraic.cpp | 435 enum ir_expression_operation new_op = ir_unop_logic_not; in handle_expression() local 441 case ir_binop_less: new_op = ir_binop_gequal; break; in handle_expression() 442 case ir_binop_gequal: new_op = ir_binop_less; break; in handle_expression() 443 case ir_binop_equal: new_op = ir_binop_nequal; break; in handle_expression() 444 case ir_binop_nequal: new_op = ir_binop_equal; break; in handle_expression() 445 case ir_binop_all_equal: new_op = ir_binop_any_nequal; break; in handle_expression() 446 case ir_binop_any_nequal: new_op = ir_binop_all_equal; break; in handle_expression() 454 if (new_op != ir_unop_logic_not) { in handle_expression() 455 return new(mem_ctx) ir_expression(new_op, in handle_expression()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_peephole.cpp | 210 auto new_op = pred_from_op(m_pred->opcode(), alu->opcode()); in visit() local 212 if (new_op == op0_nop) in visit() 232 m_pred->set_op(new_op); in visit()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | simplified-lowering.h | 62 static void ChangeOp(Node* node, const Operator* new_op) { UNREACHABLE(); } in ChangeOp() argument 64 void ChangeOp(Node* node, const Operator* new_op);
|
H A D | node-properties.cc | 205 void NodeProperties::ChangeOp(Node* node, const Operator* new_op) { in ChangeOp() argument 206 node->set_op(new_op); in ChangeOp()
|
H A D | node-properties.h | 182 static void ChangeOp(Node* node, const Operator* new_op);
|
H A D | simplified-lowering.cc | 280 static void ChangeOp(Node* node, const Operator* new_op) { UNREACHABLE(); } in ChangeOp() argument 895 void ChangeToPureOp(Node* node, const Operator* new_op) { in ChangeToPureOp() argument 896 DCHECK(new_op->HasProperty(Operator::kPure)); in ChangeToPureOp() 897 DCHECK_EQ(new_op->ValueInputCount(), node->op()->ValueInputCount()); in ChangeToPureOp() 907 node->TrimInputCount(new_op->ValueInputCount()); in ChangeToPureOp() 912 ChangeOp(node, new_op); in ChangeToPureOp() 915 void ChangeUnaryToPureBinaryOp(Node* node, const Operator* new_op, in ChangeUnaryToPureBinaryOp() argument 917 DCHECK(new_op->HasProperty(Operator::kPure)); in ChangeUnaryToPureBinaryOp() 918 DCHECK_EQ(new_op->ValueInputCount(), 2); in ChangeUnaryToPureBinaryOp() 942 ChangeOp(node, new_op); in ChangeUnaryToPureBinaryOp() 4147 ChangeOp(Node* node, const Operator* new_op) ChangeOp() argument 5072 ChangeOp(Node* node, const Operator* new_op) ChangeOp() argument [all...] |
H A D | js-typed-lowering.cc | 2165 const Operator* new_op = in ReduceJSGeneratorRestoreContext() local 2170 DCHECK(!OperatorProperties::HasContextInput(new_op)); in ReduceJSGeneratorRestoreContext() 2173 NodeProperties::ChangeOp(node, new_op); in ReduceJSGeneratorRestoreContext() 2205 const Operator* new_op = simplified()->LoadField(input_or_debug_pos_field); in ReduceJSGeneratorRestoreInputOrDebugPos() local 2209 DCHECK(!OperatorProperties::HasContextInput(new_op)); in ReduceJSGeneratorRestoreInputOrDebugPos() 2212 NodeProperties::ChangeOp(node, new_op); in ReduceJSGeneratorRestoreInputOrDebugPos()
|
H A D | raw-machine-assembler.cc | 850 const Operator* new_op = common()->ResizeMergeOrPhi(op, phi->InputCount()); in AppendPhiInput() local 852 NodeProperties::ChangeOp(phi, new_op); in AppendPhiInput()
|
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_ir.cpp | 756 can_swap_operands(aco_ptr<Instruction>& instr, aco_opcode* new_op) in can_swap_operands() argument 792 case aco_opcode::v_min_u16_e64: *new_op = instr->opcode; return true; in can_swap_operands() 793 case aco_opcode::v_sub_f16: *new_op = aco_opcode::v_subrev_f16; return true; in can_swap_operands() 794 case aco_opcode::v_sub_f32: *new_op = aco_opcode::v_subrev_f32; return true; in can_swap_operands() 795 case aco_opcode::v_sub_co_u32: *new_op = aco_opcode::v_subrev_co_u32; return true; in can_swap_operands() 796 case aco_opcode::v_sub_u16: *new_op = aco_opcode::v_subrev_u16; return true; in can_swap_operands() 797 case aco_opcode::v_sub_u32: *new_op = aco_opcode::v_subrev_u32; return true; in can_swap_operands() 801 *new_op = info.swapped; in can_swap_operands()
|
H A D | aco_optimizer.cpp | 2161 aco_opcode new_op = aco_opcode::num_opcodes; in combine_ordering_test() local 2163 case 16: new_op = is_or ? aco_opcode::v_cmp_u_f16 : aco_opcode::v_cmp_o_f16; break; in combine_ordering_test() 2164 case 32: new_op = is_or ? aco_opcode::v_cmp_u_f32 : aco_opcode::v_cmp_o_f32; break; in combine_ordering_test() 2165 case 64: new_op = is_or ? aco_opcode::v_cmp_u_f64 : aco_opcode::v_cmp_o_f64; break; in combine_ordering_test() 2170 create_instruction<VOP3_instruction>(new_op, asVOP3(Format::VOPC), 2, 1); in combine_ordering_test() 2178 new_instr = create_instruction<VOPC_instruction>(new_op, Format::VOPC, 2, 1); in combine_ordering_test() 2239 aco_opcode new_op = is_or ? get_unordered(cmp->opcode) : get_ordered(cmp->opcode); in combine_comparison_ordering() local 2243 create_instruction<VOP3_instruction>(new_op, asVOP3(Format::VOPC), 2, 1); in combine_comparison_ordering() 2252 new_instr = create_instruction<VOPC_instruction>(new_op, Format::VOPC, 2, 1); in combine_comparison_ordering() 2364 aco_opcode new_op in combine_constant_comparison_ordering() local 2568 combine_three_valu_op(opt_ctx& ctx, aco_ptr<Instruction>& instr, aco_opcode op2, aco_opcode new_op, const char* shuffle, uint8_t ops) combine_three_valu_op() argument 2810 combine_add_sub_b2i(opt_ctx& ctx, aco_ptr<Instruction>& instr, aco_opcode new_op, uint8_t ops) combine_add_sub_b2i() argument 4732 aco_opcode new_op = apply_literals() local [all...] |
H A D | aco_ir.h | 1816 bool can_swap_operands(aco_ptr<Instruction>& instr, aco_opcode* new_op);
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | upgrade_memory_model.cpp | 737 GLSLstd450 new_op = is_modf ? GLSLstd450ModfStruct : GLSLstd450FrexpStruct; in UpgradeExtInst() local 738 ext_inst->SetOperand(3u, {static_cast<uint32_t>(new_op)}); in UpgradeExtInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | upgrade_memory_model.cpp | 737 GLSLstd450 new_op = is_modf ? GLSLstd450ModfStruct : GLSLstd450FrexpStruct; in UpgradeExtInst() local 738 ext_inst->SetOperand(3u, {static_cast<uint32_t>(new_op)}); in UpgradeExtInst()
|
/third_party/spirv-tools/source/opt/ |
H A D | upgrade_memory_model.cpp | 747 GLSLstd450 new_op = is_modf ? GLSLstd450ModfStruct : GLSLstd450FrexpStruct; in UpgradeExtInst() local 748 ext_inst->SetOperand(3u, {static_cast<uint32_t>(new_op)}); in UpgradeExtInst()
|