Home
last modified time | relevance | path

Searched refs:MinOffset (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp122 MinOffset = std::numeric_limits<int>::max(); in compressJumpTable()
129 if (BlockOffset <= MinOffset) { in compressJumpTable()
130 MinOffset = BlockOffset; in compressJumpTable()
138 if (!isInt<21>(MinOffset - Offset)) { in compressJumpTable()
143 int Span = MaxOffset - MinOffset; in compressJumpTable()
H A DAArch64MachineFunctionInfo.h271 int64_t MinOffset = std::numeric_limits<int64_t>::max(); in getCalleeSavedStackSize() local
279 MinOffset = std::min<int64_t>(Offset, MinOffset); in getCalleeSavedStackSize()
286 MinOffset = std::min<int64_t>(Offset, MinOffset); in getCalleeSavedStackSize()
290 unsigned Size = alignTo(MaxOffset - MinOffset, 16); in getCalleeSavedStackSize()
H A DAArch64LoadStoreOptimizer.cpp601 MinOffset = -64; in getPrePostIndexedMemOpInfo()
604 MinOffset = -256; in getPrePostIndexedMemOpInfo()
1623 int MinOffset = Offset < MIOffset ? Offset : MIOffset; in findMatchingInsn() local
1629 if ((!IsUnscaled && alignTo(MinOffset, 2) != MinOffset) || in findMatchingInsn()
1641 if (!inBoundsForPair(IsUnscaled, MinOffset, OffsetStride)) { in findMatchingInsn()
1650 if (IsUnscaled && (alignTo(MinOffset, OffsetStride) != MinOffset)) { in findMatchingInsn()
1803 int Scale, MinOffset, MaxOffset; in mergeUpdateInsn() local
1804 getPrePostIndexedMemOpInfo(*I, Scale, MinOffset, MaxOffset); in mergeUpdateInsn()
1880 int Scale, MinOffset, MaxOffset; in isMatchingUpdateInsn() local
1881 getPrePostIndexedMemOpInfo(MemMI, Scale, MinOffset, MaxOffset); in isMatchingUpdateInsn()
[all …]
H A DAArch64InstrInfo.cpp2714 MinOffset = 0; in getMemOpInfo()
2737 MinOffset = 0; in getMemOpInfo()
2744 MinOffset = 0; in getMemOpInfo()
2767 MinOffset = 0; in getMemOpInfo()
2778 MinOffset = 0; in getMemOpInfo()
2789 MinOffset = 0; in getMemOpInfo()
2827 MinOffset = 0; in getMemOpInfo()
3020 MinOffset = 0; in getMemOpInfo()
3030 MinOffset = 0; in getMemOpInfo()
3038 MinOffset = 0; in getMemOpInfo()
[all …]
H A DAArch64InstrInfo.h164 int64_t &MinOffset, int64_t &MaxOffset);
H A DAArch64FrameLowering.cpp1176 int64_t MinOffset, MaxOffset; in convertCalleeSaveRestoreToSPPrePostIncDec() local
1178 NewOpc, Scale, Width, MinOffset, MaxOffset); in convertCalleeSaveRestoreToSPPrePostIncDec()
1186 CSStackSizeInc < MinOffset || CSStackSizeInc > MaxOffset) { in convertCalleeSaveRestoreToSPPrePostIncDec()
H A DAArch64ISelLowering.cpp18839 uint64_t MinOffset = -1ull; in performGlobalAddressCombine() local
18848 MinOffset = std::min(MinOffset, C->getZExtValue()); in performGlobalAddressCombine()
18850 uint64_t Offset = MinOffset + GN->getOffset(); in performGlobalAddressCombine()
18879 DAG.getConstant(MinOffset, DL, MVT::i64)); in performGlobalAddressCombine()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64PreLegalizerCombiner.cpp146 uint64_t MinOffset = -1ull; in matchFoldGlobalOffset() local
154 MinOffset = std::min(MinOffset, Cst->Value.getZExtValue()); in matchFoldGlobalOffset()
160 uint64_t NewOffset = MinOffset + CurrOffset; in matchFoldGlobalOffset()
180 MatchInfo = std::make_pair(NewOffset, MinOffset); in matchFoldGlobalOffset()
208 uint64_t Offset, MinOffset; in applyFoldGlobalOffset() local
209 std::tie(Offset, MinOffset) = MatchInfo; in applyFoldGlobalOffset()
221 B.buildConstant(LLT::scalar(64), -static_cast<int64_t>(MinOffset))); in applyFoldGlobalOffset()
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_x86_64.cpp120 static constexpr int64_t MinOffset{std::numeric_limits<int32_t>::min()}; variable
150 if (TrampolineOffset < MinOffset || TrampolineOffset > MaxOffset) { in patchFunctionEntry()
197 if (TrampolineOffset < MinOffset || TrampolineOffset > MaxOffset) { in patchFunctionExit()
227 if (TrampolineOffset < MinOffset || TrampolineOffset > MaxOffset) { in patchFunctionTailExit()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DDFAPacketizer.cpp288 int64_t MinOffset = std::min(Op1.getOffset(), Op2.getOffset()); in alias() local
289 int64_t Overlapa = Op1.getSize() + Op1.getOffset() - MinOffset; in alias()
290 int64_t Overlapb = Op2.getSize() + Op2.getOffset() - MinOffset; in alias()
H A DMachineInstr.cpp1232 int64_t MinOffset = std::min(OffsetA, OffsetB); in MemOperandsHaveAlias() local
1257 int64_t LowWidth = (MinOffset == OffsetA) ? WidthA : WidthB; in MemOperandsHaveAlias()
1258 return (MinOffset + LowWidth > MaxOffset); in MemOperandsHaveAlias()
1271 KnownWidthA ? WidthA + OffsetA - MinOffset : MemoryLocation::UnknownSize; in MemOperandsHaveAlias()
1273 KnownWidthB ? WidthB + OffsetB - MinOffset : MemoryLocation::UnknownSize; in MemOperandsHaveAlias()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp1226 if (f.Offset < MinOffset) in pushFixup()
1227 MinOffset = f.Offset; in pushFixup()
1722 (MinOffset > 0)) in isAMCompletelyFolded()
1724 MinOffset = (uint64_t)BaseOffset + MinOffset; in isAMCompletelyFolded()
2561 int64_t NewMinOffset = LU.MinOffset; in reconcileNewOffset()
2582 if (NewOffset < LU.MinOffset) { in reconcileNewOffset()
2595 LU.MinOffset = NewMinOffset; in reconcileNewOffset()
2634 LU.MinOffset = Offset; in getUse()
3943 Worklist.push_back(LU.MinOffset); in GenerateConstantOffsets()
3944 if (LU.MaxOffset != LU.MinOffset) in GenerateConstantOffsets()
[all …]
H A DGuardWidening.cpp685 const ConstantInt *MinOffset = CurrentChecks.front().getOffset(); in combineRangeChecks() local
689 if ((MaxOffset->getValue() - MinOffset->getValue()) in combineRangeChecks()
693 APInt MaxDiff = MaxOffset->getValue() - MinOffset->getValue(); in combineRangeChecks()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp269 int64_t MinOffset = std::min(SrcValOffset0, SrcValOffset1); in instMayAlias() local
270 int64_t Overlap0 = Size0 + SrcValOffset0 - MinOffset; in instMayAlias()
271 int64_t Overlap1 = Size1 + SrcValOffset1 - MinOffset; in instMayAlias()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86AvoidStoreForwardingBlocks.cpp523 int64_t MinOffset = std::min(Op1.getOffset(), Op2.getOffset()); in alias() local
524 int64_t Overlapa = Op1.getSize() + Op1.getOffset() - MinOffset; in alias()
525 int64_t Overlapb = Op2.getSize() + Op2.getOffset() - MinOffset; in alias()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.cpp1698 int MinOffset = 0; // CS offsets are negative. in assignCalleeSavedSpillSlots() local
1705 MinOffset = std::min(MinOffset, S->Offset); in assignCalleeSavedSpillSlots()
1717 int Off = MinOffset - Size; in assignCalleeSavedSpillSlots()
1721 MinOffset = std::min(MinOffset, Off); in assignCalleeSavedSpillSlots()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp24696 int64_t MinOffset = std::min(SrcValOffset0, SrcValOffset1); in mayAlias() local
24697 int64_t Overlap0 = *Size0 + SrcValOffset0 - MinOffset; in mayAlias()
24698 int64_t Overlap1 = *Size1 + SrcValOffset1 - MinOffset; in mayAlias()