• Home
  • Raw
  • Download

Lines Matching refs:MinOffset

1222   int64_t MinOffset;  member in __anonad7cfa9b0711::LSRUse
1251 : Kind(K), AccessTy(AT), MinOffset(INT64_MAX), MaxOffset(INT64_MIN), in LSRUse()
1425 int64_t MinOffset, int64_t MaxOffset, in isAMCompletelyFolded() argument
1430 if (((int64_t)((uint64_t)BaseOffset + MinOffset) > BaseOffset) != in isAMCompletelyFolded()
1431 (MinOffset > 0)) in isAMCompletelyFolded()
1433 MinOffset = (uint64_t)BaseOffset + MinOffset; in isAMCompletelyFolded()
1439 return isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, MinOffset, in isAMCompletelyFolded()
1446 int64_t MinOffset, int64_t MaxOffset, in isAMCompletelyFolded() argument
1457 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, in isAMCompletelyFolded()
1462 static bool isLegalUse(const TargetTransformInfo &TTI, int64_t MinOffset, in isLegalUse() argument
1467 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, BaseGV, in isLegalUse()
1472 isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, in isLegalUse()
1476 static bool isLegalUse(const TargetTransformInfo &TTI, int64_t MinOffset, in isLegalUse() argument
1479 return isLegalUse(TTI, MinOffset, MaxOffset, Kind, AccessTy, F.BaseGV, in isLegalUse()
1485 return isAMCompletelyFolded(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, in isAMCompletelyFolded()
1497 if (!isAMCompletelyFolded(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, in getScalingFactorCost()
1505 LU.AccessTy.MemTy, F.BaseGV, F.BaseOffset + LU.MinOffset, F.HasBaseReg, in getScalingFactorCost()
1549 ScalarEvolution &SE, int64_t MinOffset, in isAlwaysFoldable() argument
1571 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, BaseGV, in isAlwaysFoldable()
2225 int64_t NewMinOffset = LU.MinOffset; in reconcileNewOffset()
2244 if (NewOffset < LU.MinOffset) { in reconcileNewOffset()
2251 NewOffset - LU.MinOffset, HasBaseReg)) in reconcileNewOffset()
2257 LU.MinOffset = NewMinOffset; in reconcileNewOffset()
2303 LU.MinOffset = Offset; in getUse()
3071 assert(isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, F) && in InsertFormula()
3259 if (isAlwaysFoldable(TTI, SE, LU.MinOffset, LU.MaxOffset, LU.Kind, in GenerateReassociationsImpl()
3272 isAlwaysFoldable(TTI, SE, LU.MinOffset, LU.MaxOffset, LU.Kind, in GenerateReassociationsImpl()
3377 if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, F)) in GenerateSymbolicOffsetsImpl()
3407 if (isLegalUse(TTI, LU.MinOffset - Offset, LU.MaxOffset - Offset, LU.Kind, in GenerateConstantOffsetsImpl()
3433 if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, F)) in GenerateConstantOffsetsImpl()
3448 Worklist.push_back(LU.MinOffset); in GenerateConstantOffsets()
3449 if (LU.MaxOffset != LU.MinOffset) in GenerateConstantOffsets()
3471 if (LU.MinOffset != LU.MaxOffset) return; in GenerateICmpZeroScales()
3489 int64_t Offset = LU.MinOffset; in GenerateICmpZeroScales()
3493 if (Offset / Factor != LU.MinOffset) in GenerateICmpZeroScales()
3508 F.BaseOffset = (uint64_t)F.BaseOffset + Offset - LU.MinOffset; in GenerateICmpZeroScales()
3564 if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, in GenerateScales()
3569 isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LSRUse::Special, in GenerateScales()
3767 if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, in GenerateCrossUseConstantOffsets()
3792 if (!isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, in GenerateCrossUseConstantOffsets()
4085 if (Fixup.Offset < LUThatHas->MinOffset) in NarrowSearchSpaceByCollapsingUnrolledCode()
4086 LUThatHas->MinOffset = Fixup.Offset; in NarrowSearchSpaceByCollapsingUnrolledCode()
4098 if (!isLegalUse(TTI, LUThatHas->MinOffset, LUThatHas->MaxOffset, in NarrowSearchSpaceByCollapsingUnrolledCode()
4870 assert(isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, in LSRInstance()