Lines Matching refs:input_cst
1276 HConstant* input_cst = instruction->GetConstantRight(); in VisitAdd() local
1279 if ((input_cst != nullptr) && input_cst->IsArithmeticZero()) { in VisitAdd()
1363 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd() local
1366 if (input_cst != nullptr) { in VisitAnd()
1367 int64_t value = Int64FromConstant(input_cst); in VisitAnd()
1657 HConstant* input_cst = instruction->GetConstantRight(); in VisitDiv() local
1661 if ((input_cst != nullptr) && input_cst->IsOne()) { in VisitDiv()
1672 if ((input_cst != nullptr) && input_cst->IsMinusOne()) { in VisitDiv()
1683 if ((input_cst != nullptr) && DataType::IsFloatingPointType(type)) { in VisitDiv()
1690 double value = input_cst->AsDoubleConstant()->GetValue(); in VisitDiv()
1696 float value = input_cst->AsFloatConstant()->GetValue(); in VisitDiv()
1712 HConstant* input_cst = instruction->GetConstantRight(); in VisitMul() local
1718 if (input_cst == nullptr) { in VisitMul()
1722 if (input_cst->IsOne()) { in VisitMul()
1733 if (input_cst->IsMinusOne() && in VisitMul()
1746 ((input_cst->IsFloatConstant() && input_cst->AsFloatConstant()->GetValue() == 2.0f) || in VisitMul()
1747 (input_cst->IsDoubleConstant() && input_cst->AsDoubleConstant()->GetValue() == 2.0))) { in VisitMul()
1760 int64_t factor = Int64FromConstant(input_cst); in VisitMul()
1768 instruction->ReplaceWith(input_cst); in VisitMul()
1887 HConstant* input_cst = instruction->GetConstantRight(); in VisitOr() local
1890 if ((input_cst != nullptr) && input_cst->IsZeroBitPattern()) { in VisitOr()
1935 HConstant* input_cst = instruction->GetConstantRight(); in VisitSub() local
1943 if ((input_cst != nullptr) && input_cst->IsArithmeticZero()) { in VisitSub()
2050 HConstant* input_cst = instruction->GetConstantRight(); in VisitXor() local
2053 if ((input_cst != nullptr) && input_cst->IsZeroBitPattern()) { in VisitXor()
2064 if ((input_cst != nullptr) && input_cst->IsOne() in VisitXor()
2076 if ((input_cst != nullptr) && AreAllBitsSet(input_cst)) { in VisitXor()