Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:OtherVal

3473       Value *OtherVal = A == Op1 ? B : A;
3474 return new ICmpInst(Pred, OtherVal, Constant::getNullValue(A->getType()));
3501 Value *OtherVal = A == Op0 ? B : A;
3502 return new ICmpInst(Pred, OtherVal, Constant::getNullValue(A->getType()));
3850 /// \param OtherVal The other argument of compare instruction.
3854 Value *OtherVal, InstCombiner &IC) {
3861 assert(I.getOperand(0) == OtherVal || I.getOperand(1) == OtherVal);
3926 if (ZExtInst *Zext = dyn_cast<ZExtInst>(OtherVal))
3939 if (match(OtherVal, m_And(m_Value(ValToMask), m_ConstantInt(CI)))) {
3955 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) {
3967 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) {
3978 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) {
3990 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) {
4022 if (U == &I || U == OtherVal)
4045 if (isa<Instruction>(OtherVal))
4046 IC.Worklist.Add(cast<Instruction>(OtherVal));