Lines Matching refs:CmpLHS
1536 Value *CmpLHS = CmpI->getOperand(0);
1543 if (isa<Constant>(CmpLHS) && !isa<Constant>(CmpRHS))
1544 std::swap(CmpLHS, CmpRHS);
1545 if (!isa<Instruction>(CmpLHS) && isa<Instruction>(CmpRHS))
1546 std::swap(CmpLHS, CmpRHS);
1547 if ((isa<Argument>(CmpLHS) && isa<Argument>(CmpRHS)) ||
1548 (isa<Instruction>(CmpLHS) && isa<Instruction>(CmpRHS))) {
1551 uint32_t LVN = VN.lookupOrAdd(CmpLHS);
1554 std::swap(CmpLHS, CmpRHS);
1559 if (isa<Constant>(CmpLHS) && isa<Constant>(CmpRHS))
1563 << *CmpLHS << " with "
1569 if (hasUsersIn(CmpLHS, IntrinsicI->getParent()))
1570 ReplaceOperandsWithMap[CmpLHS] = CmpRHS;