Home | History | Annotate | Download | only in Analysis

Lines Matching defs:LHS

257     // PHI translate the LHS.
262 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT);
263 if (!LHS) return nullptr;
265 // If the PHI translated LHS is an add of a constant, fold the immediates.
266 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(LHS))
269 LHS = BOp->getOperand(0);
273 // If the old 'LHS' was an input, add the new 'LHS' as an input.
277 AddAsInput(LHS);
282 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, DL, TLI, DT, AC)) {
283 // If we simplified the operands, the LHS is no longer an input, but Res
285 RemoveInstInputs(LHS, InstInputs);
290 if (LHS == Inst->getOperand(0) && RHS == Inst->getOperand(1))
294 for (User *U : LHS->users()) {
297 BO->getOperand(0) == LHS && BO->getOperand(1) == RHS &&
426 // PHI translate the LHS.