Lines Matching defs:input

407 bool InstructionSimplifierVisitor::CanEnsureNotNullAt(HInstruction* input, HInstruction* at) const {
408 if (!input->CanBeNull()) {
412 for (const HUseListNode<HInstruction*>& use : input->GetUses()) {
650 HInstruction* input = bool_not->InputAt(0);
653 if (input->IsIntConstant()) {
655 if (input->AsIntConstant()->IsTrue()) {
658 DCHECK(input->AsIntConstant()->IsFalse()) << input->AsIntConstant()->GetValue();
661 } else if (input->IsBooleanNot()) {
663 replace_with = input->InputAt(0);
664 } else if (input->IsCondition() &&
667 !Primitive::IsFloatingPointType(input->InputAt(0)->GetType())) {
669 replace_with = GetGraph()->InsertOppositeCondition(input->AsCondition(), bool_not);
727 // Swap successors if input is negated.
735 HInstruction* input = instruction->InputAt(0);
738 if (input->IsNewArray()) {
739 input = input->InputAt(0);
740 if (input->IsIntConstant()) {
741 instruction->ReplaceWith(input);
818 HInstruction* input = instruction->GetInput();
819 Primitive::Type input_type = input->GetType();
823 instruction->ReplaceWith(input);
829 if (input->IsTypeConversion()) {
830 HTypeConversion* input_conversion = input->AsTypeConversion();
868 } else if (input->IsAnd() && Primitive::IsIntegralType(result_type)) {
870 HAnd* input_and = input->AsAnd();
884 } else if (input->HasOnlyOneNonEnvironmentUse()) {
931 // We do not perform the optimization if the input negation has environment
1066 // condition with a long, float or double comparison as input.
1260 HInstruction* input = instruction->GetInput();
1261 if (input->IsNeg()) {
1267 HNeg* previous_neg = input->AsNeg();
1270 // We perform the optimization even if the input negation has environment
1272 // the input negation only if it is does not have any uses left.
1280 if (input->IsSub() && input->HasOnlyOneNonEnvironmentUse() &&
1281 !Primitive::IsFloatingPointType(input->GetType())) {
1287 // We do not perform the optimization if the input subtraction has
1293 HSub* sub = input->AsSub();
1305 HInstruction* input = instruction->GetInput();
1306 if (input->IsNot()) {
1312 // We perform the optimization even if the input negation has environment
1314 // the input negation only if it is does not have any uses left.
1315 HNot* previous_not = input->AsNot();
1534 // value for their distance input.