Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:OtherVal

2026 /// \param OtherVal The other argument of compare instruction.
2030 Value *OtherVal, InstCombiner &IC) {
2037 assert(I.getOperand(0) == OtherVal || I.getOperand(1) == OtherVal);
2095 if (ZExtInst *Zext = dyn_cast<ZExtInst>(OtherVal))
2108 if (match(OtherVal, m_And(m_Value(ValToMask), m_ConstantInt(CI)))) {
2124 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) {
2136 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) {
2147 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) {
2159 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) {
2191 if (U == &I || U == OtherVal)
2214 if (isa<Instruction>(OtherVal))
2215 IC.Worklist.Add(cast<Instruction>(OtherVal));
3161 Value *OtherVal = A == Op1 ? B : A;
3162 return new ICmpInst(I.getPredicate(), OtherVal,
3187 Value *OtherVal = A == Op0 ? B : A;
3188 return new ICmpInst(I.getPredicate(), OtherVal,