Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:OtherVal

2682 /// \param OtherVal The other argument of compare instruction.
2686 Value *OtherVal, InstCombiner &IC) {
2693 assert(I.getOperand(0) == OtherVal || I.getOperand(1) == OtherVal);
2753 if (ZExtInst *Zext = dyn_cast<ZExtInst>(OtherVal))
2766 if (match(OtherVal, m_And(m_Value(ValToMask), m_ConstantInt(CI)))) {
2782 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) {
2794 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) {
2805 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) {
2817 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) {
2848 if (U == &I || U == OtherVal)
2871 if (isa<Instruction>(OtherVal))
2872 IC.Worklist.Add(cast<Instruction>(OtherVal));
4137 Value *OtherVal = A == Op1 ? B : A;
4138 return new ICmpInst(I.getPredicate(), OtherVal,
4163 Value *OtherVal = A == Op0 ? B : A;
4164 return new ICmpInst(I.getPredicate(), OtherVal,