Home
last modified time | relevance | path

Searched refs:input_cst (Results 1 – 4 of 4) sorted by relevance

/art/compiler/optimizing/
Dconstant_folding.cc220 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd() local
221 if ((input_cst != nullptr) && input_cst->IsZeroBitPattern()) { in VisitAnd()
226 instruction->ReplaceWith(input_cst); in VisitAnd()
232 HConstant* input_cst = instruction->GetConstantRight(); in VisitCompare() local
233 if (input_cst != nullptr) { in VisitCompare()
236 ((input_cst->IsFloatConstant() && input_cst->AsFloatConstant()->IsNaN()) || in VisitCompare()
237 (input_cst->IsDoubleConstant() && input_cst->AsDoubleConstant()->IsNaN()))) { in VisitCompare()
252 HConstant* input_cst = instruction->GetConstantRight(); in VisitMul() local
255 (input_cst != nullptr) && input_cst->IsArithmeticZero()) { in VisitMul()
263 instruction->ReplaceWith(input_cst); in VisitMul()
[all …]
Dinstruction_simplifier.cc1276 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()
[all …]
Dcode_generator_arm_vixl.h294 bool CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode);
Dcode_generator_arm_vixl.cc5556 bool LocationsBuilderARMVIXL::CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode) { in CanEncodeConstantAsImmediate() argument
5557 uint64_t value = static_cast<uint64_t>(Int64FromConstant(input_cst)); in CanEncodeConstantAsImmediate()
5558 if (DataType::Is64BitType(input_cst->GetType())) { in CanEncodeConstantAsImmediate()