Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dconstant_folding.cc221 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd() local
222 if ((input_cst != nullptr) && input_cst->IsZeroBitPattern()) { in VisitAnd()
227 instruction->ReplaceWith(input_cst); in VisitAnd()
252 HConstant* input_cst = instruction->GetConstantRight(); in VisitCompare() local
253 if (input_cst != nullptr) { in VisitCompare()
256 ((input_cst->IsFloatConstant() && input_cst->AsFloatConstant()->IsNaN()) || in VisitCompare()
257 (input_cst->IsDoubleConstant() && input_cst->AsDoubleConstant()->IsNaN()))) { in VisitCompare()
272 HConstant* input_cst = instruction->GetConstantRight(); in VisitMul() local
275 (input_cst != nullptr) && input_cst->IsArithmeticZero()) { in VisitMul()
283 instruction->ReplaceWith(input_cst); in VisitMul()
[all …]
Dinstruction_simplifier.cc1364 HConstant* input_cst = instruction->GetConstantRight(); in VisitAdd() local
1367 if ((input_cst != nullptr) && input_cst->IsArithmeticZero()) { in VisitAdd()
1451 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd() local
1454 if (input_cst != nullptr) { in VisitAnd()
1455 int64_t value = Int64FromConstant(input_cst); in VisitAnd()
1745 HConstant* input_cst = instruction->GetConstantRight(); in VisitDiv() local
1749 if ((input_cst != nullptr) && input_cst->IsOne()) { in VisitDiv()
1760 if ((input_cst != nullptr) && input_cst->IsMinusOne()) { in VisitDiv()
1771 if ((input_cst != nullptr) && DataType::IsFloatingPointType(type)) { in VisitDiv()
1778 double value = input_cst->AsDoubleConstant()->GetValue(); in VisitDiv()
[all …]
Dcode_generator_arm_vixl.h317 bool CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode);
Dcode_generator_arm_vixl.cc5979 bool LocationsBuilderARMVIXL::CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode) { in CanEncodeConstantAsImmediate() argument
5980 uint64_t value = static_cast<uint64_t>(Int64FromConstant(input_cst)); in CanEncodeConstantAsImmediate()
5981 if (DataType::Is64BitType(input_cst->GetType())) { in CanEncodeConstantAsImmediate()