/arkcompiler/runtime_core/static_core/compiler/tests/ |
H A D | lowering_test.cpp | 1385 INST(13U, Opcode::Max).type(type).Inputs(4U, 6U); in BuildGraphMultiplyNegate() 1386 INST(14U, Opcode::Max).type(type).Inputs(13U, 8U); in BuildGraphMultiplyNegate() 1387 INST(15U, Opcode::Max).type(type).Inputs(14U, 10U); in BuildGraphMultiplyNegate() 1388 INST(16U, Opcode::Max).type(type).Inputs(15U, 12U); in BuildGraphMultiplyNegate() 1389 INST(17U, Opcode::Max).type(type).Inputs(16U, 9U); in BuildGraphMultiplyNegate() 1390 INST(18U, Opcode::Max).type(type).Inputs(17U, 11U); in BuildGraphMultiplyNegate() 1416 INST(10U, Opcode::Max).type(type).Inputs(3U, 4U); in BuildExpectedMultiplyNegate() 1417 INST(11U, Opcode::Max).type(type).Inputs(10U, 5U); in BuildExpectedMultiplyNegate() 1418 INST(12U, Opcode::Max).type(type).Inputs(11U, 7U); in BuildExpectedMultiplyNegate() 1419 INST(13U, Opcode::Max) in BuildExpectedMultiplyNegate() [all...] |
H A D | cse_test.cpp | 67 INST(16U, Opcode::Max).u64().Inputs(0U, 1U); in SRC_GRAPH() 77 INST(25U, Opcode::Max).u64().Inputs(0U, 1U); in SRC_GRAPH() 114 INST(16U, Opcode::Max).u64().Inputs(0U, 1U); in OUT_GRAPH() 381 INST(11U, Opcode::Max).u64().Inputs(0U, 1U); in SRC_GRAPH() 387 INST(16U, Opcode::Max).u64().Inputs(1U, 0U); in SRC_GRAPH() 417 INST(11U, Opcode::Max).u64().Inputs(0U, 1U); in OUT_GRAPH() 458 INST(7U, Opcode::Max).s32().Inputs(1U, 0U); in SRC_GRAPH() 474 INST(14U, Opcode::Max).s32().Inputs(0U, 1U); in SRC_GRAPH() 502 INST(7U, Opcode::Max).s32().Inputs(1U, 0U); in OUT_GRAPH() 562 INST(11U, Opcode::Max) in SRC_GRAPH() [all...] |
H A D | inst_generator_test.cpp | 199 case Opcode::Max: { in FixParams() 590 case Opcode::Max: in DoLogic() 902 OneTest(statGen, Opcode::Max); in RandomTestsPart1() 903 OneTestFP(statGen, Opcode::Max); in RandomTestsPart1()
|
H A D | const_folding_test.cpp | 276 opc == Opcode::Sub || opc == Opcode::Min || opc == Opcode::Max); in CheckNanBinaryMathManyCases() 338 case Opcode::Max: in GetConstFoldingFunc() 911 CheckNanBinaryMathManyCases(Opcode::Max); in TEST_F() 1463 INST(2U, Opcode::Max).u64().Inputs(0U, 1U); in TEST_F() 1483 INST(2U, Opcode::Max).f32().Inputs(0U, 1U); in TEST_F() 1503 INST(2U, Opcode::Max).f32().Inputs(0U, 1U); in TEST_F() 1504 INST(3U, Opcode::Max).f32().Inputs(1U, 0U); in TEST_F() 1526 INST(2U, Opcode::Max).f32().Inputs(0U, 1U); in TEST_F() 1527 INST(3U, Opcode::Max).f32().Inputs(1U, 0U); in TEST_F() 1550 INST(2U, Opcode::Max) in TEST_F() [all...] |
H A D | inst_generator.h | 207 {Opcode::Max, numericTypes_},
|
H A D | vn_test.cpp | 773 INST(8U, Opcode::Max).u64().Inputs(0U, 1U); in SRC_GRAPH() 780 INST(15U, Opcode::Max).u64().Inputs(1U, 0U); in SRC_GRAPH() 805 INST(8U, Opcode::Max).u64().Inputs(0U, 1U); in OUT_GRAPH() 842 INST(7U, Opcode::Max).f64().Inputs(0U, 1U); in SRC_GRAPH() 847 INST(12U, Opcode::Max).f64().Inputs(1U, 0U); in SRC_GRAPH() 870 INST(7U, Opcode::Max).f64().Inputs(0U, 1U); in OUT_GRAPH() 875 INST(12U, Opcode::Max).f64().Inputs(1U, 0U); in OUT_GRAPH()
|
H A D | inst_generator.cpp | 83 case Opcode::Max: in GenerateGraph() 1143 case Opcode::Max: in Generate()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | lcr_circuit_builder.cpp | 275 GateRef Max = Double(INT32_MAX); in DoubleCheckINFInRangeInt32() local 284 result = ChangeFloat64ToInt32(Max); in DoubleCheckINFInRangeInt32() 309 GateRef Max = Double(INT32_MAX); in DoubleInRangeInt32() local 311 Branch(DoubleGreaterThan(x, Max), &overflow, &checkUnderflow); in DoubleInRangeInt32() 314 result = ChangeFloat64ToInt32(Max); in DoubleInRangeInt32()
|
H A D | lcr_opcodes.h | 40 V(Max, MAX, GateFlags::NO_WRITE, 0, 0, 2) \
|
H A D | ir_builder.h | 109 V(Max, (GateRef gate, GateRef e1, GateRef e2)) \
|
H A D | circuit_builder.h | 99 V(Int32Max, Max, MachineType::I32) \ 100 V(DoubleMax, Max, MachineType::F64)
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | cse.h | 183 case Opcode::Max: in IsLegalExp() 202 case Opcode::Max: in IsCommutative()
|
H A D | const_folding.cpp | 594 ASSERT(inst->GetOpcode() == Opcode::Max); in ConstFoldingMax() 609 ark::helpers::math::Max(cnst0->GetFloatValue(), cnst1->GetFloatValue())); in ConstFoldingMax() 613 ark::helpers::math::Max(cnst0->GetDoubleValue(), cnst1->GetDoubleValue())); in ConstFoldingMax()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_math.h | 60 V("max", Max, 2, MathMax) /* Math.max ( ...args ) */ \ 139 static JSTaggedValue Max(EcmaRuntimeCallInfo *argv);
|
H A D | builtins_math.cpp | 507 JSTaggedValue BuiltinsMath::Max(EcmaRuntimeCallInfo *argv) in Max() function in panda::ecmascript::builtins::BuiltinsMath 510 BUILTINS_API_TRACE(argv->GetThread(), Math, Max); in Max()
|
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | math_helpers.h | 130 T Max(T a, T b)
|
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | intrinsics.cpp | 145 return ark::helpers::math::Max(a, b); in MaxF32() 150 return ark::helpers::math::Max(a, b); in MaxF64()
|
/arkcompiler/runtime_core/compiler/tests/ |
H A D | vn_test.cpp | 702 INST(8, Opcode::Max).u64().Inputs(0, 1); in TEST_F() 709 INST(15, Opcode::Max).u64().Inputs(1, 0); in TEST_F() 729 INST(8, Opcode::Max).u64().Inputs(0, 1); in TEST_F() 757 INST(7, Opcode::Max).f64().Inputs(0, 1); in TEST_F() 762 INST(12, Opcode::Max).f64().Inputs(1, 0); in TEST_F() 782 INST(7, Opcode::Max).f64().Inputs(0, 1); in TEST_F() 787 INST(12, Opcode::Max).f64().Inputs(1, 0); in TEST_F()
|
H A D | inst_generator.h | 162 {Opcode::Max, numeric_types_},
|
H A D | ir_builder_test.cpp | 643 INST(2, Opcode::Max).s32().Inputs(0, 1); in TEST_F() 669 INST(2, Opcode::Max).s64().Inputs(0, 1); in TEST_F() 695 INST(2, Opcode::Max).f64().Inputs(0, 1); in TEST_F() 721 INST(4, Opcode::Max).f32().Inputs(0, 1); in TEST_F()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
H A D | mpl_int_val.h | 523 inline IntVal Max(const IntVal &a, const IntVal &b) 530 inline IntVal Max(const IntVal &a, const IntVal &b, PrimType newType)
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/litecg/ |
H A D | lmir_builder.h | 417 Expr Max(Type *type, Expr src1, Expr src2);
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | encode_visitor.h | 126 DEF(Max); \
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/ |
H A D | lmir_builder.cpp | 661 Expr LMIRBuilder::Max(Type *type, Expr src1, Expr src2) in Max() function in maple::litecg::LMIRBuilder
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/ |
H A D | inst_builder-inl.h | 312 BinaryOperation *CreateBinaryOperation<Opcode::Max>(Graph *graph, DataType::Type returnType, size_t pc) in CreateBinaryOperation() 623 Builder()->template BuildBinaryOperationIntrinsic<Opcode::Max>(bcInst_, ACC_READ); in BuildStaticCallIntrinsic()
|