reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/MC/MCExpr.cpp
  833     case MCBinaryExpr::AShr: Result = LHS >> RHS; break;
  834     case MCBinaryExpr::Add:  Result = LHS + RHS; break;
  835     case MCBinaryExpr::And:  Result = LHS & RHS; break;
  847         Result = LHS / RHS;
  849         Result = LHS % RHS;
  851     case MCBinaryExpr::EQ:   Result = LHS == RHS; break;
  852     case MCBinaryExpr::GT:   Result = LHS > RHS; break;
  853     case MCBinaryExpr::GTE:  Result = LHS >= RHS; break;
  854     case MCBinaryExpr::LAnd: Result = LHS && RHS; break;
  855     case MCBinaryExpr::LOr:  Result = LHS || RHS; break;
  856     case MCBinaryExpr::LShr: Result = uint64_t(LHS) >> uint64_t(RHS); break;
  857     case MCBinaryExpr::LT:   Result = LHS < RHS; break;
  858     case MCBinaryExpr::LTE:  Result = LHS <= RHS; break;
  859     case MCBinaryExpr::Mul:  Result = LHS * RHS; break;
  860     case MCBinaryExpr::NE:   Result = LHS != RHS; break;
  861     case MCBinaryExpr::Or:   Result = LHS | RHS; break;
  862     case MCBinaryExpr::Shl:  Result = uint64_t(LHS) << uint64_t(RHS); break;
  863     case MCBinaryExpr::Sub:  Result = LHS - RHS; break;
  864     case MCBinaryExpr::Xor:  Result = LHS ^ RHS; break;
  869       Res = MCValue::get(Result);
  878       Res = MCValue::get(Result ? -1 : 0);