Lines Matching refs:b

221                                HInstruction* b,  in IsNarrowerOperands()  argument
226 DCHECK(a != nullptr && b != nullptr); in IsNarrowerOperands()
229 if (IsSignExtensionAndGet(a, stype, r) && IsSignExtensionAndGet(b, stype, s)) { in IsNarrowerOperands()
235 if (IsZeroExtensionAndGet(a, utype, r) && IsZeroExtensionAndGet(b, utype, s)) { in IsNarrowerOperands()
274 /*out*/ HInstruction** b, in IsAddConst() argument
281 return IsAddConst(instruction->InputAt(0), a, b, c, depth - 1) && in IsAddConst()
282 IsAddConst(instruction->InputAt(1), a, b, c, depth - 1); in IsAddConst()
286 return IsAddConst(instruction->InputAt(0), a, b, c, depth - 1); in IsAddConst()
296 } else if (*b == nullptr) { in IsAddConst()
297 *b = instruction; in IsAddConst()
307 /*out*/ HInstruction** b, in IsAddConst2() argument
310 if (IsAddOrSub(instruction) && IsAddConst(instruction, a, b, c) && *a != nullptr) { in IsAddConst2()
311 if (*b == nullptr) { in IsAddConst2()
313 *b = graph->GetConstant(instruction->GetType(), (*c)); in IsAddConst2()
325 /*out*/ HInstruction** b) { in IsSubConst2() argument
329 *b = instruction->InputAt(1); in IsSubConst2()
331 } else if (IsAddConst(instruction, a, b, &c) && *a != nullptr && *b == nullptr) { in IsSubConst2()
333 *b = graph->GetConstant(instruction->GetType(), -c); in IsSubConst2()
440 static DataType::Type GetNarrowerType(HInstruction* a, HInstruction* b) { in GetNarrowerType() argument
442 if (DataType::Size(b->GetType()) < DataType::Size(type)) { in GetNarrowerType()
443 type = b->GetType(); in GetNarrowerType()
449 if (b->IsTypeConversion() && in GetNarrowerType()
450 DataType::Size(b->InputAt(0)->GetType()) < DataType::Size(type)) { in GetNarrowerType()
451 type = b->InputAt(0)->GetType(); in GetNarrowerType()
971 HInstruction* b = j->base; in ShouldVectorize() local
974 if (a == b) { in ShouldVectorize()
993 vector_runtime_test_b_ = b; in ShouldVectorize()
994 } else if ((vector_runtime_test_a_ != a || vector_runtime_test_b_ != b) && in ShouldVectorize()
995 (vector_runtime_test_a_ != b || vector_runtime_test_b_ != a)) { in ShouldVectorize()
1976 HInstruction* b = nullptr; in VectorizeHalvingAddIdiom() local
1978 if (IsAddConst2(graph_, instruction->InputAt(0), /*out*/ &a, /*out*/ &b, /*out*/ &c)) { in VectorizeHalvingAddIdiom()
1990 if (!IsNarrowerOperands(a, b, type, &r, &s, &is_unsigned)) { in VectorizeHalvingAddIdiom()
2049 HInstruction* b = nullptr; in VectorizeSADIdiom() local
2052 IsSubConst2(graph_, abs->InputAt(0), /*out*/ &a, /*out*/ &b)) { in VectorizeSADIdiom()
2053 DCHECK(a != nullptr && b != nullptr); in VectorizeSADIdiom()
2061 HInstruction* s = b; in VectorizeSADIdiom()
2063 DataType::Type sub_type = GetNarrowerType(a, b); in VectorizeSADIdiom()
2065 (!IsNarrowerOperands(a, b, sub_type, &r, &s, &is_unsigned) || is_unsigned)) { in VectorizeSADIdiom()