Lines Matching refs:Arg1
490 Value *Arg1 = II->getArgOperand(1); in visitCallInst() local
493 if (Arg0 == Arg1) in visitCallInst()
497 const ConstantFP *C1 = dyn_cast<ConstantFP>(Arg1); in visitCallInst()
501 II->setArgOperand(0, Arg1); in visitCallInst()
515 return ReplaceInstUsesWith(CI, Arg1); in visitCallInst()
518 if (isa<UndefValue>(Arg1)) in visitCallInst()
526 if (match(Arg1, m_FMin(m_Value(X), m_Value(Y)))) { in visitCallInst()
528 return ReplaceInstUsesWith(CI, Arg1); in visitCallInst()
534 if (Arg1 == X || Arg1 == Y) in visitCallInst()
543 return ReplaceInstUsesWith(CI, Arg1); in visitCallInst()
549 if (match(Arg1, m_FMax(m_Value(X), m_Value(Y)))) { in visitCallInst()
551 return ReplaceInstUsesWith(CI, Arg1); in visitCallInst()
557 if (Arg1 == X || Arg1 == Y) in visitCallInst()
566 return ReplaceInstUsesWith(CI, Arg1); in visitCallInst()
1037 Value *Arg1 = II->getArgOperand(1); in visitCallInst() local
1040 if (isa<ConstantAggregateZero>(Arg0) || isa<ConstantAggregateZero>(Arg1)) { in visitCallInst()
1049 if (Constant *CV1 = dyn_cast<Constant>(Arg1)) { in visitCallInst()
1057 std::swap(Arg0, Arg1); in visitCallInst()
1061 if (Constant *CV1 = dyn_cast<Constant>(Arg1)) in visitCallInst()