Lines Matching defs:ImmOff
1312 static bool isPreferredADD(int64_t ImmOff) {
1314 if ((ImmOff & 0xfffffffffffff000LL) == 0x0LL)
1317 if ((ImmOff & 0xffffffffff000fffLL) == 0x0LL)
1319 return (ImmOff & 0xffffffffff00ffffLL) != 0x0LL &&
1320 (ImmOff & 0xffffffffffff0fffLL) != 0x0LL;
1355 int64_t ImmOff = (int64_t)RHS->getAsZExtVal();
1358 // checked by using -ImmOff).
1359 if (isValidAsScaledImmediate(ImmOff, 0x1000, Size) ||
1360 isPreferredADD(ImmOff) || isPreferredADD(-ImmOff))
7429 int64_t ImmOff = C->getSExtValue();
7434 if (ImmOff % Size)
7439 Offset = CurDAG->getTargetConstant(ImmOff >> Scale, DL, MVT::i64);
7479 int64_t ImmOff = C->getSExtValue();
7480 if ((ImmOff > 0 && ImmOff <= MaxSize && (ImmOff % Scale == 0))) {
7482 Offset = CurDAG->getTargetConstant(ImmOff / Scale, SDLoc(N), MVT::i64);