Lines Matching defs:LHS
264 // PHI translate the LHS.
269 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT);
270 if (LHS == 0) return 0;
272 // If the PHI translated LHS is an add of a constant, fold the immediates.
273 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(LHS))
276 LHS = BOp->getOperand(0);
280 // If the old 'LHS' was an input, add the new 'LHS' as an input.
283 AddAsInput(LHS);
288 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, TD, TLI, DT)) {
289 // If we simplified the operands, the LHS is no longer an input, but Res
291 RemoveInstInputs(LHS, InstInputs);
296 if (LHS == Inst->getOperand(0) && RHS == Inst->getOperand(1))
300 for (Value::use_iterator UI = LHS->use_begin(), E = LHS->use_end();
304 BO->getOperand(0) == LHS && BO->getOperand(1) == RHS &&
427 // PHI translate the LHS.