22 Valid = (OffsetVal >= 0 && OffsetVal <= 255);
25 Valid = (OffsetVal >= 0 && OffsetVal <= 510) && ((OffsetVal & 0x1) == 0);
28 Valid = (OffsetVal >= 0 && OffsetVal <= 1020) && ((OffsetVal & 0x3) == 0);
39 switch (
MI.getOpcode()) {
Representation of each machine instruction.
This is an optimization pass for GlobalISel generic memory operations.
bool isValidAddrOffset(int Scale, int64_t OffsetVal)