Home
last modified time | relevance | path

Searched full:commutative (Results 1 – 22 of 22) sorted by relevance

/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dlowering.h74 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>;
Dbalance_expressions.h27 // For current realization, any binary commutative and associative operator suits;
Dlowering.cpp1007 constexpr auto FLAGS = IS_COMMUTATIVE ? Flags::COMMUTATIVE : Flags::NONE; in LowerBinaryOperationWithShiftedOperand()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_compiler_intrinsics.yaml165 set_flags: [ commutative ]
177 set_flags: [ commutative ]
/arkcompiler/runtime_core/static_core/compiler/docs/
Dpeephole_doc.md24 * Putting constant input on second place for commutative instructions (ex. Add, Mul, ...)
Dbalance_expressions_doc.md5 …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/
Dinstructions.yaml89 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.)
Dinst.h1078 // Returns true if the instruction is a commutative
1081 return GetFlag(inst_flags::COMMUTATIVE); in IsCommutative()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dinstructions.yaml262 commutative: Instruction is commutative(Add, OR, And e.t.c.)
Dinst.h883 // 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/
Dets_equals.ets79 return id(x) == id(y) && id(y) == id(x); // commutative
Dets_strict_equals.ets81 return id(x) === id(y) && id(y) === id(x); // commutative
/arkcompiler/runtime_core/static_core/docs/
Dirtoc.md20 flags: [commutative, acc_write, acc_read, ifcvt]
/arkcompiler/runtime_core/docs/
Dirtoc.md20 flags: [commutative, acc_write, acc_read, ifcvt]
/arkcompiler/runtime_core/libabckit/src/
Dabckit_compiler_intrinsics.yaml588 set_flags: ["commutative"]
608 set_flags: ["commutative"]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dgate_matchers.h285 // if they appear on the left hand side of a commutative operation.
/arkcompiler/runtime_core/static_core/compiler/tests/
Dcse_test.cpp432 // 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()
Dvn_test.cpp817 // 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()
Dlowering_test.cpp2271 // Not applied, sub isn't commutative inst
/arkcompiler/runtime_core/compiler/tests/
Dvn_test.cpp688 // 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/
D7_expressions.rst3996 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/
Daarch64_cgfunc.cpp1335 SelectAdd(resOpnd, opnd1, opnd0, primType); /* commutative */ in SelectAdd()