Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp123 MinOffset = std::numeric_limits<int>::max(); in compressJumpTable()
130 if (BlockOffset <= MinOffset) { in compressJumpTable()
131 MinOffset = BlockOffset; in compressJumpTable()
139 if (!isInt<21>(MinOffset - Offset)) { in compressJumpTable()
144 int Span = MaxOffset - MinOffset; in compressJumpTable()
H A DAArch64MachineFunctionInfo.h336 int64_t MinOffset = std::numeric_limits<int64_t>::max(); in getCalleeSavedStackSize() local
344 MinOffset = std::min<int64_t>(Offset, MinOffset); in getCalleeSavedStackSize()
351 MinOffset = std::min<int64_t>(Offset, MinOffset); in getCalleeSavedStackSize()
358 MinOffset = std::min<int64_t>(Offset, MinOffset); in getCalleeSavedStackSize()
362 unsigned Size = alignTo(MaxOffset - MinOffset, 16); in getCalleeSavedStackSize()
H A DAArch64LoadStoreOptimizer.cpp600 int &MinOffset, int &MaxOffset) { in getPrePostIndexedMemOpInfo() argument
609 MinOffset = -64; in getPrePostIndexedMemOpInfo()
612 MinOffset = -256; in getPrePostIndexedMemOpInfo()
1799 int MinOffset = Offset < MIOffset ? Offset : MIOffset; in findMatchingInsn() local
1805 if ((!IsUnscaled && alignTo(MinOffset, 2) != MinOffset) || in findMatchingInsn()
1817 if (!inBoundsForPair(IsUnscaled, MinOffset, OffsetStride)) { in findMatchingInsn()
1828 if (IsUnscaled && (alignTo(MinOffset, OffsetStride) != MinOffset)) { in findMatchingInsn()
2004 int Scale, MinOffset, MaxOffset; in mergeUpdateInsn() local
2005 getPrePostIndexedMemOpInfo(*I, Scale, MinOffset, MaxOffset); in mergeUpdateInsn()
2081 int Scale, MinOffset, MaxOffset; in isMatchingUpdateInsn() local
[all …]
H A DAArch64InstrInfo.cpp2926 int64_t MinOffset, MaxOffset; in canFoldIntoAddrMode() local
2931 MinOffset = -256; in canFoldIntoAddrMode()
2935 MinOffset = -512; in canFoldIntoAddrMode()
2939 MinOffset = -1024; in canFoldIntoAddrMode()
2943 return OldOffset < MinOffset || OldOffset > MaxOffset || in canFoldIntoAddrMode()
2944 (NewOffset >= MinOffset && NewOffset <= MaxOffset); in canFoldIntoAddrMode()
3547 TypeSize &Width, int64_t &MinOffset, in getMemOpInfo() argument
3554 MinOffset = MaxOffset = 0; in getMemOpInfo()
3561 MinOffset = 0; in getMemOpInfo()
3571 MinOffset = 0; in getMemOpInfo()
[all …]
H A DAArch64LowerHomogeneousPrologEpilog.cpp225 int64_t MinOffset, MaxOffset; in emitStore() local
227 AArch64InstrInfo::getMemOpInfo(Opc, Scale, Width, MinOffset, MaxOffset); in emitStore()
266 int64_t MinOffset, MaxOffset; in emitLoad() local
268 AArch64InstrInfo::getMemOpInfo(Opc, Scale, Width, MinOffset, MaxOffset); in emitLoad()
H A DAArch64InstrInfo.h322 int64_t &MinOffset, int64_t &MaxOffset);
H A DAArch64ISelLowering.h733 int64_t getPreferredLargeGEPBaseOffset(int64_t MinOffset,
H A DAArch64FrameLowering.cpp1497 int64_t MinOffset, MaxOffset; in convertCalleeSaveRestoreToSPPrePostIncDec() local
1499 NewOpc, Scale, Width, MinOffset, MaxOffset); in convertCalleeSaveRestoreToSPPrePostIncDec()
1506 CSStackSizeInc < MinOffset || CSStackSizeInc > MaxOffset) { in convertCalleeSaveRestoreToSPPrePostIncDec()
H A DAArch64ISelLowering.cpp17419 AArch64TargetLowering::getPreferredLargeGEPBaseOffset(int64_t MinOffset, in getPreferredLargeGEPBaseOffset() argument
17421 int64_t HighPart = MinOffset & ~0xfffULL; in getPreferredLargeGEPBaseOffset()
17422 if (MinOffset >> 12 == MaxOffset >> 12 && isLegalAddImmediate(HighPart)) { in getPreferredLargeGEPBaseOffset()
24401 uint64_t MinOffset = -1ull; in performGlobalAddressCombine() local
24410 MinOffset = std::min(MinOffset, C->getZExtValue()); in performGlobalAddressCombine()
24412 uint64_t Offset = MinOffset + GN->getOffset(); in performGlobalAddressCombine()
24441 DAG.getConstant(MinOffset, DL, MVT::i64)); in performGlobalAddressCombine()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DDFAPacketizer.cpp259 int64_t MinOffset = std::min(Op1.getOffset(), Op2.getOffset()); in alias() local
260 int64_t Overlapa = Op1.getSize().getValue() + Op1.getOffset() - MinOffset; in alias()
261 int64_t Overlapb = Op2.getSize().getValue() + Op2.getOffset() - MinOffset; in alias()
H A DMachineInstr.cpp1344 int64_t MinOffset = std::min(OffsetA, OffsetB); in MemOperandsHaveAlias() local
1370 int64_t LowWidth = (MinOffset == OffsetA) in MemOperandsHaveAlias()
1373 return (MinOffset + LowWidth > MaxOffset); in MemOperandsHaveAlias()
1392 KnownWidthA ? WidthA.getValue().getKnownMinValue() + OffsetA - MinOffset in MemOperandsHaveAlias()
1395 KnownWidthB ? WidthB.getValue().getKnownMinValue() + OffsetB - MinOffset in MemOperandsHaveAlias()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PreLegalizerCombiner.cpp155 uint64_t MinOffset = -1ull; in matchFoldGlobalOffset() local
163 MinOffset = std::min(MinOffset, Cst->Value.getZExtValue()); in matchFoldGlobalOffset()
169 uint64_t NewOffset = MinOffset + CurrOffset; in matchFoldGlobalOffset()
189 MatchInfo = std::make_pair(NewOffset, MinOffset); in matchFoldGlobalOffset()
216 uint64_t Offset, MinOffset; in applyFoldGlobalOffset() local
217 std::tie(Offset, MinOffset) = MatchInfo; in applyFoldGlobalOffset()
229 B.buildConstant(LLT::scalar(64), -static_cast<int64_t>(MinOffset))); in applyFoldGlobalOffset()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp1336 Immediate MinOffset = Immediate::getFixedMax(); member in __anonc21373340811::LSRUse
1375 if (Immediate::isKnownLT(f.Offset, MinOffset)) in pushFixup()
1376 MinOffset = f.Offset; in pushFixup()
1880 Immediate MinOffset, Immediate MaxOffset, in isAMCompletelyFolded() argument
1885 (BaseOffset.isScalable() != MinOffset.isScalable() || in isAMCompletelyFolded()
1890 int64_t Min = MinOffset.getKnownMinValue(); in isAMCompletelyFolded()
1894 MinOffset = Immediate::get((uint64_t)Base + Min, MinOffset.isScalable()); in isAMCompletelyFolded()
1899 return isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, MinOffset, in isAMCompletelyFolded()
1906 Immediate MinOffset, Immediate MaxOffset, in isAMCompletelyFolded() argument
1917 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, in isAMCompletelyFolded()
[all …]
H A DGuardWidening.cpp903 const ConstantInt *MinOffset = CurrentChecks.front().getOffset(); in combineRangeChecks() local
907 if ((MaxOffset->getValue() - MinOffset->getValue()) in combineRangeChecks()
911 APInt MaxDiff = MaxOffset->getValue() - MinOffset->getValue(); in combineRangeChecks()
/freebsd/contrib/llvm-project/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().getValue() + Op1.getOffset() - MinOffset; in alias()
525 int64_t Overlapb = Op2.getSize().getValue() + Op2.getOffset() - MinOffset; in alias()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp279 int64_t MinOffset = std::min(SrcValOffset0, SrcValOffset1); in instMayAlias() local
281 Size0.getValue().getKnownMinValue() + SrcValOffset0 - MinOffset; in instMayAlias()
283 Size1.getValue().getKnownMinValue() + SrcValOffset1 - MinOffset; in instMayAlias()
/freebsd/contrib/ntp/scripts/monitoring/
H A Dloopwatch.config.SAMPLE75 MinOffset=none
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.cpp1662 int64_t MinOffset = 0; // CS offsets are negative. in assignCalleeSavedSpillSlots() local
1669 MinOffset = std::min(MinOffset, S->Offset); in assignCalleeSavedSpillSlots()
1681 int64_t Off = MinOffset - Size; in assignCalleeSavedSpillSlots()
1685 MinOffset = std::min(MinOffset, Off); in assignCalleeSavedSpillSlots()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp385 uint32_t MinOffset = Ptr.getDeclDesc()->getMetadataSize(); in CheckDowncast() local
390 if (Offset < PtrOffset && (PtrOffset - Offset) >= MinOffset) in CheckDowncast()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h353 int64_t getPreferredLargeGEPBaseOffset(int64_t MinOffset, int64_t MaxOffset) { in getPreferredLargeGEPBaseOffset() argument
354 return getTLI()->getPreferredLargeGEPBaseOffset(MinOffset, MaxOffset); in getPreferredLargeGEPBaseOffset()
H A DTargetLowering.h2820 virtual int64_t getPreferredLargeGEPBaseOffset(int64_t MinOffset, in getPreferredLargeGEPBaseOffset() argument
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp28386 int64_t MinOffset = std::min(SrcValOffset0, SrcValOffset1); in mayAlias() local
28388 Size0.getValue().getKnownMinValue() + SrcValOffset0 - MinOffset; in mayAlias()
28390 Size1.getValue().getKnownMinValue() + SrcValOffset1 - MinOffset; in mayAlias()