| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
| D | lowering.h | 74 COMMUTATIVE = 1, // binary operation is commutative enumerator 75 C = COMMUTATIVE, 215 … if (IsSet(FLAGS, Flags::COMMUTATIVE) && L::Capture(inst->GetInput(1).GetInst(), args, insts) && in Capture() 295 using ADD = BinaryOp<Opcode::Add, L, R, F | Flags::COMMUTATIVE>; 299 using MUL = BinaryOp<Opcode::Mul, L, R, F | Flags::COMMUTATIVE>;
|
| D | balance_expressions.h | 27 // For current realization, any binary commutative and associative operator suits;
|
| D | lowering.cpp | 1007 constexpr auto FLAGS = IS_COMMUTATIVE ? Flags::COMMUTATIVE : Flags::NONE; in LowerBinaryOperationWithShiftedOperand()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| D | ets_compiler_intrinsics.yaml | 165 set_flags: [ commutative ] 177 set_flags: [ commutative ]
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | peephole_doc.md | 24 * Putting constant input on second place for commutative instructions (ex. Add, Mul, ...)
|
| D | balance_expressions_doc.md | 5 …essions of the form of a long chain of the same binary associative and commutative operator, such …
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | instructions.yaml | 89 flags: [commutative, acc_write, acc_read, ifcvt] 105 flags: [commutative, acc_write, acc_read, ifcvt] 136 flags: [commutative, ifcvt] 143 flags: [commutative, ifcvt] 174 flags: [commutative, acc_write, acc_read, ifcvt] 182 flags: [commutative, acc_write, acc_read, ifcvt] 190 flags: [commutative, acc_write, acc_read, ifcvt] 1388 commutative: Instruction is commutative(Add, OR, And e.t.c.)
|
| D | inst.h | 1078 // Returns true if the instruction is a commutative 1081 return GetFlag(inst_flags::COMMUTATIVE); in IsCommutative()
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | instructions.yaml | 262 commutative: Instruction is commutative(Add, OR, And e.t.c.)
|
| D | inst.h | 883 // Returns true if the instruction is a commutative 886 return GetFlag(inst_flags::COMMUTATIVE); in IsCommutative()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/ |
| D | ets_equals.ets | 79 return id(x) == id(y) && id(y) == id(x); // commutative
|
| D | ets_strict_equals.ets | 81 return id(x) === id(y) && id(y) === id(x); // commutative
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | irtoc.md | 20 flags: [commutative, acc_write, acc_read, ifcvt]
|
| /arkcompiler/runtime_core/docs/ |
| D | irtoc.md | 20 flags: [commutative, acc_write, acc_read, ifcvt]
|
| /arkcompiler/runtime_core/libabckit/src/ |
| D | abckit_compiler_intrinsics.yaml | 588 set_flags: ["commutative"] 608 set_flags: ["commutative"]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | gate_matchers.h | 285 // if they appear on the left hand side of a commutative operation.
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | cse_test.cpp | 432 // Remove duplicate arithmetic instructions in one basicblock (commutative) in TEST_F() 530 // Remove duplicate arithmetic instructions along dominator tree(commutative) in TEST_F() 648 … replace the arithmetic instruction which has appeared in the two preds of its block (commutative). in TEST_F()
|
| D | vn_test.cpp | 817 // Remove commutative arithmetic instructions(See 2516) in TEST_F() 886 … // We don't remove float commutative arithmetic instructions and not commutative instruction(sub) in TEST_F()
|
| D | lowering_test.cpp | 2271 // Not applied, sub isn't commutative inst
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | vn_test.cpp | 688 // Remove commutative arithmetic instructions(See 2516) in TEST_F() 744 … // We don't remove float commutative arithmetic instructions and not commutative instruction(sub) in TEST_F()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/ |
| D | 7_expressions.rst | 3996 Multiplication is a commutative operation if operand expressions have no 4021 commutative operation 4500 If operand expressions have no side effects, then addition is a commutative 4522 commutative operation 4973 Equality operators are commutative if operand expressions cause no side 5691 Operators group left-to-right. Each operator is commutative if the 5708 commutative operator
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
| D | aarch64_cgfunc.cpp | 1335 SelectAdd(resOpnd, opnd1, opnd0, primType); /* commutative */ in SelectAdd()
|