Home
last modified time | relevance | path

Searched refs:mul (Results 1 – 25 of 38) sorted by relevance

12

/art/compiler/optimizing/
Dinstruction_simplifier_shared.cc25 bool TrySimpleMultiplyAccumulatePatterns(HMul* mul, in TrySimpleMultiplyAccumulatePatterns() argument
28 DCHECK(DataType::IsIntOrLongType(mul->GetType())); in TrySimpleMultiplyAccumulatePatterns()
78 ArenaAllocator* allocator = mul->GetBlock()->GetGraph()->GetAllocator(); in TrySimpleMultiplyAccumulatePatterns()
80 mul->GetType(), op_kind, input_a, input_a, input_b, mul->GetDexPc()); in TrySimpleMultiplyAccumulatePatterns()
82 mul->GetBlock()->ReplaceAndRemoveInstructionWith(mul, mulacc); in TrySimpleMultiplyAccumulatePatterns()
90 bool TryCombineMultiplyAccumulate(HMul* mul, InstructionSet isa) { in TryCombineMultiplyAccumulate() argument
91 DataType::Type type = mul->GetType(); in TryCombineMultiplyAccumulate()
108 ArenaAllocator* allocator = mul->GetBlock()->GetGraph()->GetAllocator(); in TryCombineMultiplyAccumulate()
110 if (mul->HasOnlyOneNonEnvironmentUse()) { in TryCombineMultiplyAccumulate()
111 HInstruction* use = mul->GetUses().front().GetUser(); in TryCombineMultiplyAccumulate()
[all …]
Dinduction_var_analysis_test.cc288 HInstruction* mul = InsertInstruction( in TEST_F() local
298 EXPECT_STREQ("((100) * i + (0)):Int32", GetInductionInfo(mul, 0).c_str()); in TEST_F()
436 HInstruction* mul = InsertInstruction( in TEST_F() local
439 new (GetAllocator()) HAdd(DataType::Type::kInt32, constant100_, mul), 0); in TEST_F()
473 HInstruction* mul = InsertInstruction( in TEST_F() local
492 GetInductionInfo(mul, 0).c_str()); in TEST_F()
540 HInstruction* mul = InsertInstruction( in TEST_F() local
542 k_header->AddInput(mul); in TEST_F()
546 EXPECT_STREQ("geo((100) * 100 ^ i + (0)):Int32", GetInductionInfo(mul, 0).c_str()); in TEST_F()
575 HInstruction* mul = InsertInstruction( in TEST_F() local
[all …]
Dscheduler_test.cc103 HInstruction* mul = new (GetAllocator()) HMul(DataType::Type::kInt32, add1, add2); in TestBuildDependencyGraphAndSchedule() local
121 mul, in TestBuildDependencyGraphAndSchedule()
140 environment->SetRawEnvAt(1, mul); in TestBuildDependencyGraphAndSchedule()
141 mul->AddEnvUseAt(div_check->GetEnvironment(), 1); in TestBuildDependencyGraphAndSchedule()
171 ASSERT_TRUE(scheduling_graph.HasImmediateOtherDependency(div_check, mul)); in TestBuildDependencyGraphAndSchedule()
172 ASSERT_FALSE(scheduling_graph.HasImmediateOtherDependency(mul, div_check)); in TestBuildDependencyGraphAndSchedule()
Dinstruction_simplifier_shared.h61 bool TryCombineMultiplyAccumulate(HMul* mul, InstructionSet isa);
Dpc_relative_fixups_x86.cc52 void VisitMul(HMul* mul) override { in VisitMul() argument
53 BinaryFP(mul); in VisitMul()
Dinstruction_simplifier.cc70 bool TryCombineVecMultiplyAccumulate(HVecMul* mul);
274 bool InstructionSimplifierVisitor::TryCombineVecMultiplyAccumulate(HVecMul* mul) { in TryCombineVecMultiplyAccumulate() argument
275 DataType::Type type = mul->GetPackedType(); in TryCombineVecMultiplyAccumulate()
291 ArenaAllocator* allocator = mul->GetBlock()->GetGraph()->GetAllocator(); in TryCombineVecMultiplyAccumulate()
292 if (!mul->HasOnlyOneNonEnvironmentUse()) { in TryCombineVecMultiplyAccumulate()
295 HInstruction* binop = mul->GetUses().front().GetUser(); in TryCombineVecMultiplyAccumulate()
317 if (binop_right == mul) { in TryCombineVecMultiplyAccumulate()
320 DCHECK_EQ(binop_left, mul); in TryCombineVecMultiplyAccumulate()
333 if (predicated_simd && !HVecOperation::HaveSamePredicate(vec_binop, mul)) { in TryCombineVecMultiplyAccumulate()
341 mul->GetLeft(), in TryCombineVecMultiplyAccumulate()
[all …]
Dloop_optimization.cc2229 HInstruction* const mul = instruction->InputAt(1); in VectorizeDotProdIdiom() local
2230 if (!mul->IsMul() || mul->GetType() != reduction_type) { in VectorizeDotProdIdiom()
2234 HInstruction* const mul_left = mul->InputAt(0); in VectorizeDotProdIdiom()
2235 HInstruction* const mul_right = mul->InputAt(1); in VectorizeDotProdIdiom()
2278 if (vector_map_->find(mul) == vector_map_->end()) { in VectorizeDotProdIdiom()
2279 GenerateVecOp(mul, vector_map_->Get(r), vector_map_->Get(s), reduction_type); in VectorizeDotProdIdiom()
2281 GenerateVecOp(instruction, vector_map_->Get(acc), vector_map_->Get(mul), reduction_type); in VectorizeDotProdIdiom()
Dbounds_check_elimination.cc1037 if (HMul* mul = instruction->GetRight()->AsMul()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor() local
1038 if (!mul->GetLeft()->IsDiv() || !mul->GetRight()->IsConstant()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1041 div = mul->GetLeft()->AsDiv(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1042 const_divisor = Int64FromConstant(mul->GetRight()->AsConstant()); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
/art/test/475-simplify-mul-zero/
DAndroid.bp3 // Build rules for ART run-test `475-simplify-mul-zero`.
16 name: "art-run-test-475-simplify-mul-zero",
21 ":art-run-test-475-simplify-mul-zero-expected-stdout",
22 ":art-run-test-475-simplify-mul-zero-expected-stderr",
28 name: "art-run-test-475-simplify-mul-zero-expected-stdout",
29 out: ["art-run-test-475-simplify-mul-zero-expected-stdout.txt"],
36 name: "art-run-test-475-simplify-mul-zero-expected-stderr",
37 out: ["art-run-test-475-simplify-mul-zero-expected-stderr.txt"],
/art/test/640-checker-simd/src/
DSimdDouble.java63 static void mul(double x) { in mul() method in SimdDouble
149 mul(2.0); in main()
DSimdFloat.java63 static void mul(float x) { in mul() method in SimdFloat
148 mul(2.0f); in main()
DSimdChar.java62 static void mul(int x) { in mul() method in SimdChar
197 mul(2); in main()
DSimdInt.java62 static void mul(int x) { in mul() method in SimdInt
275 mul(2); in main()
DSimdLong.java72 static void mul(long x) { in mul() method in SimdLong
285 mul(2L); in main()
DSimdShort.java62 static void mul(int x) { in mul() method in SimdShort
198 mul(2); in main()
DSimdByte.java62 static void mul(int x) { in mul() method in SimdByte
201 mul(2); in main()
/art/test/800-smali/smali/
DBadCaseInOpRegRegReg.smali11 mul-int v0, v1, v0
DFloatIntConstPassing.smali15 mul-float/2addr v0, p0
/art/cmdline/
Dcmdline_types.h161 size_t mul;
163 mul = 1;
165 mul = KB;
167 mul = MB;
169 mul = GB;
175 if (val <= std::numeric_limits<size_t>::max() / mul) {
176 val *= mul;
/art/test/dexdump/
Dall.txt163 0004a8: 9200 0102 |0004: mul-int v0, v1, v2
174 0004d4: 9d00 0102 |001a: mul-long v0, v1, v2
185 000500: a800 0102 |0030: mul-float v0, v1, v2
190 000514: ad00 0102 |003a: mul-double v0, v1, v2
211 000538: b210 |0002: mul-int/2addr v0, v1
222 00054e: bd10 |000d: mul-long/2addr v0, v1
233 000564: c810 |0018: mul-float/2addr v0, v1
238 00056e: cd10 |001d: mul-double/2addr v0, v1
259 000590: d210 3412 |0004: mul-int/lit16 v0, v1, #int 4660 // #1234
283 0005c4: da00 0112 |0004: mul-int/lit8 v0, v1, #int 18 // #12
Dbytecodes.txt697 000d46: c8a2 |0051: mul-float/2addr v2, v10
710 000d74: cd84 |0068: mul-double/2addr v4, v8
864 000f3e: c832 |004f: mul-float/2addr v2, v3
879 000f72: cd64 |0069: mul-double/2addr v4, v6
921 000fae: bd64 |0009: mul-long/2addr v4, v6
940 000fec: cd42 |0028: mul-double/2addr v2, v4
947 001004: cd64 |0034: mul-double/2addr v4, v6
1310 001410: a813 1516 |00c2: mul-float v19, v21, v22
1335 001474: ad0c 1618 |00f4: mul-double v12, v22, v24
1345 00149a: a816 1213 |0107: mul-float v22, v18, v19
[all …]
Dcheckers.txt1091 001ff4: da00 0002 |0004: mul-int/lit8 v0, v0, #int 2 // #02
1097 00200c: da02 0202 |0010: mul-int/lit8 v2, v2, #int 2 // #02
1111 00203a: b2b1 |0027: mul-int/2addr v1, v11
1114 002040: b2b2 |002a: mul-int/2addr v2, v11
1117 002046: b2b3 |002d: mul-int/2addr v3, v11
1120 00204c: b2b0 |0030: mul-int/2addr v0, v11
1866 00299c: 9203 0702 |0036: mul-int v3, v7, v2
1868 0029a4: b272 |003a: mul-int/2addr v2, v7
1890 0029e4: 9203 0704 |005a: mul-int v3, v7, v4
1891 0029e8: 9202 0706 |005c: mul-int v2, v7, v6
[all …]
/art/test/594-checker-irreducible-linorder/smali/
DIrreducibleLoop.smali49 mul-int/2addr p3, p3
103 mul-int/2addr p3, p3
/art/test/571-irreducible-loop/smali/
DIrreducibleLoop.smali35 mul-float v2, v2, v1
/art/test/596-checker-dead-phi/smali/
DIrreducibleLoop.smali54 mul-int/2addr p0, p0

12