Searched refs:IsAddConst (Results 1 – 1 of 1) sorted by relevance
/art/compiler/optimizing/ |
D | loop_optimization.cc | 272 static bool IsAddConst(HInstruction* instruction, in IsAddConst() function 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() 310 if (IsAddOrSub(instruction) && IsAddConst(instruction, a, b, c) && *a != nullptr) { in IsAddConst2() 331 } else if (IsAddConst(instruction, a, b, &c) && *a != nullptr && *b == nullptr) { in IsSubConst2()
|