Lines Matching refs:LHS

409   const MCExpr *LHS, *RHS;
412 : MCExpr(MCExpr::Binary), Op(_Op), LHS(_LHS), RHS(_RHS) {}
418 static const MCBinaryExpr *Create(Opcode Op, const MCExpr *LHS,
420 static const MCBinaryExpr *CreateAdd(const MCExpr *LHS, const MCExpr *RHS,
422 return Create(Add, LHS, RHS, Ctx);
424 static const MCBinaryExpr *CreateAnd(const MCExpr *LHS, const MCExpr *RHS,
426 return Create(And, LHS, RHS, Ctx);
428 static const MCBinaryExpr *CreateDiv(const MCExpr *LHS, const MCExpr *RHS,
430 return Create(Div, LHS, RHS, Ctx);
432 static const MCBinaryExpr *CreateEQ(const MCExpr *LHS, const MCExpr *RHS,
434 return Create(EQ, LHS, RHS, Ctx);
436 static const MCBinaryExpr *CreateGT(const MCExpr *LHS, const MCExpr *RHS,
438 return Create(GT, LHS, RHS, Ctx);
440 static const MCBinaryExpr *CreateGTE(const MCExpr *LHS, const MCExpr *RHS,
442 return Create(GTE, LHS, RHS, Ctx);
444 static const MCBinaryExpr *CreateLAnd(const MCExpr *LHS, const MCExpr *RHS,
446 return Create(LAnd, LHS, RHS, Ctx);
448 static const MCBinaryExpr *CreateLOr(const MCExpr *LHS, const MCExpr *RHS,
450 return Create(LOr, LHS, RHS, Ctx);
452 static const MCBinaryExpr *CreateLT(const MCExpr *LHS, const MCExpr *RHS,
454 return Create(LT, LHS, RHS, Ctx);
456 static const MCBinaryExpr *CreateLTE(const MCExpr *LHS, const MCExpr *RHS,
458 return Create(LTE, LHS, RHS, Ctx);
460 static const MCBinaryExpr *CreateMod(const MCExpr *LHS, const MCExpr *RHS,
462 return Create(Mod, LHS, RHS, Ctx);
464 static const MCBinaryExpr *CreateMul(const MCExpr *LHS, const MCExpr *RHS,
466 return Create(Mul, LHS, RHS, Ctx);
468 static const MCBinaryExpr *CreateNE(const MCExpr *LHS, const MCExpr *RHS,
470 return Create(NE, LHS, RHS, Ctx);
472 static const MCBinaryExpr *CreateOr(const MCExpr *LHS, const MCExpr *RHS,
474 return Create(Or, LHS, RHS, Ctx);
476 static const MCBinaryExpr *CreateShl(const MCExpr *LHS, const MCExpr *RHS,
478 return Create(Shl, LHS, RHS, Ctx);
480 static const MCBinaryExpr *CreateShr(const MCExpr *LHS, const MCExpr *RHS,
482 return Create(Shr, LHS, RHS, Ctx);
484 static const MCBinaryExpr *CreateSub(const MCExpr *LHS, const MCExpr *RHS,
486 return Create(Sub, LHS, RHS, Ctx);
488 static const MCBinaryExpr *CreateXor(const MCExpr *LHS, const MCExpr *RHS,
490 return Create(Xor, LHS, RHS, Ctx);
501 const MCExpr *getLHS() const { return LHS; }