Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dconstant_folding.cc811 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd() local
812 if ((input_cst != nullptr) && input_cst->IsZeroBitPattern()) { in VisitAnd()
817 instruction->ReplaceWith(input_cst); in VisitAnd()
842 HConstant* input_cst = instruction->GetConstantRight(); in VisitCompare() local
843 if (input_cst != nullptr) { in VisitCompare()
846 ((input_cst->IsFloatConstant() && input_cst->AsFloatConstant()->IsNaN()) || in VisitCompare()
847 (input_cst->IsDoubleConstant() && input_cst->AsDoubleConstant()->IsNaN()))) { in VisitCompare()
862 HConstant* input_cst = instruction->GetConstantRight(); in VisitMul() local
865 (input_cst != nullptr) && input_cst->IsArithmeticZero()) { in VisitMul()
873 instruction->ReplaceWith(input_cst); in VisitMul()
[all …]
Dinstruction_simplifier.cc1501 HConstant* input_cst = instruction->GetConstantRight(); in VisitAdd() local
1504 if ((input_cst != nullptr) && input_cst->IsArithmeticZero()) { in VisitAdd()
1590 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd() local
1593 if (input_cst != nullptr) { in VisitAnd()
1594 int64_t value = Int64FromConstant(input_cst); in VisitAnd()
1884 HConstant* input_cst = instruction->GetConstantRight(); in VisitDiv() local
1888 if ((input_cst != nullptr) && input_cst->IsOne()) { in VisitDiv()
1899 if ((input_cst != nullptr) && input_cst->IsMinusOne()) { in VisitDiv()
1910 if ((input_cst != nullptr) && DataType::IsFloatingPointType(type)) { in VisitDiv()
1917 double value = input_cst->AsDoubleConstant()->GetValue(); in VisitDiv()
[all …]
Dcode_generator_arm_vixl.h396 bool CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode);
Dcode_generator_arm_vixl.cc6204 bool LocationsBuilderARMVIXL::CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode) { in CanEncodeConstantAsImmediate() argument
6205 uint64_t value = static_cast<uint64_t>(Int64FromConstant(input_cst)); in CanEncodeConstantAsImmediate()
6206 if (DataType::Is64BitType(input_cst->GetType())) { in CanEncodeConstantAsImmediate()