Searched refs:RHSI (Results 1 – 2 of 2) sorted by relevance
147 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; in isEqual() local150 return LHSI == RHSI; in isEqual()152 if (LHSI->getOpcode() != RHSI->getOpcode()) in isEqual()154 if (LHSI->isIdenticalTo(RHSI)) in isEqual()162 assert(isa<BinaryOperator>(RHSI) && in isEqual()164 BinaryOperator *RHSBinOp = cast<BinaryOperator>(RHSI); in isEqual()180 assert(isa<CmpInst>(RHSI) && in isEqual()182 CmpInst *RHSCmp = cast<CmpInst>(RHSI); in isEqual()246 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; in isEqual() local248 return LHSI == RHSI; in isEqual()[all …]
2200 if (ConstantInt *RHSI = dyn_cast<ConstantInt>(RHS)) { in OptimizeOverflowCheck() local2202 if (RHSI->isZero()) in OptimizeOverflowCheck()2207 if (RHSI->equalsInt(1)) in OptimizeOverflowCheck()