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.cpp118 MinOffset = std::numeric_limits<int>::max(); in compressJumpTable()
125 if (BlockOffset <= MinOffset) { in compressJumpTable()
126 MinOffset = BlockOffset; in compressJumpTable()
134 if (!isInt<21>(MinOffset - Offset)) { in compressJumpTable()
139 int Span = MaxOffset - MinOffset; in compressJumpTable()
H A DAArch64MachineFunctionInfo.h363 int64_t MinOffset = std::numeric_limits<int64_t>::max(); in getCalleeSavedStackSize() local
371 MinOffset = std::min<int64_t>(Offset, MinOffset); in getCalleeSavedStackSize()
378 MinOffset = std::min<int64_t>(Offset, MinOffset); in getCalleeSavedStackSize()
385 MinOffset = std::min<int64_t>(Offset, MinOffset); in getCalleeSavedStackSize()
389 unsigned Size = alignTo(MaxOffset - MinOffset, 16); in getCalleeSavedStackSize()
H A DAArch64LowerHomogeneousPrologEpilog.cpp215 int64_t MinOffset, MaxOffset; in emitStore() local
217 AArch64InstrInfo::getMemOpInfo(Opc, Scale, Width, MinOffset, MaxOffset); in emitStore()
256 int64_t MinOffset, MaxOffset; in emitLoad() local
258 AArch64InstrInfo::getMemOpInfo(Opc, Scale, Width, MinOffset, MaxOffset); in emitLoad()
H A DAArch64InstrInfo.cpp3206 int64_t MinOffset, MaxOffset; in canFoldIntoAddrMode() local
3211 MinOffset = -256; in canFoldIntoAddrMode()
3215 MinOffset = -512; in canFoldIntoAddrMode()
3219 MinOffset = -1024; in canFoldIntoAddrMode()
3223 return OldOffset < MinOffset || OldOffset > MaxOffset || in canFoldIntoAddrMode()
3224 (NewOffset >= MinOffset && NewOffset <= MaxOffset); in canFoldIntoAddrMode()
4052 TypeSize &Width, int64_t &MinOffset, in getMemOpInfo() argument
4059 MinOffset = MaxOffset = 0; in getMemOpInfo()
4066 MinOffset = 0; in getMemOpInfo()
4076 MinOffset = 0; in getMemOpInfo()
[all …]
H A DAArch64LoadStoreOptimizer.cpp666 int &MinOffset, int &MaxOffset) { in getPrePostIndexedMemOpInfo() argument
675 MinOffset = -64; in getPrePostIndexedMemOpInfo()
678 MinOffset = -256; in getPrePostIndexedMemOpInfo()
2078 int MinOffset = Offset < MIOffset ? Offset : MIOffset; in findMatchingInsn() local
2084 if ((!IsUnscaled && alignTo(MinOffset, 2) != MinOffset) || in findMatchingInsn()
2096 if (!inBoundsForPair(IsUnscaled, MinOffset, OffsetStride)) { in findMatchingInsn()
2107 if (IsUnscaled && (alignTo(MinOffset, OffsetStride) != MinOffset)) { in findMatchingInsn()
2303 int Scale, MinOffset, MaxOffset; in mergeUpdateInsn() local
2304 getPrePostIndexedMemOpInfo(*I, Scale, MinOffset, MaxOffset); in mergeUpdateInsn()
2435 int Scale, MinOffset, MaxOffset; in isMatchingUpdateInsn() local
[all …]
H A DAArch64InstrInfo.h328 int64_t &MinOffset, int64_t &MaxOffset);
H A DAArch64ISelLowering.h248 int64_t getPreferredLargeGEPBaseOffset(int64_t MinOffset,
H A DAArch64FrameLowering.cpp1559 int64_t MinOffset, MaxOffset; in convertCalleeSaveRestoreToSPPrePostIncDec() local
1561 NewOpc, Scale, Width, MinOffset, MaxOffset); in convertCalleeSaveRestoreToSPPrePostIncDec()
1568 CSStackSizeInc < MinOffset * (int64_t)Scale.getFixedValue() || in convertCalleeSaveRestoreToSPPrePostIncDec()
H A DAArch64ISelLowering.cpp17839 AArch64TargetLowering::getPreferredLargeGEPBaseOffset(int64_t MinOffset, in getPreferredLargeGEPBaseOffset() argument
17841 int64_t HighPart = MinOffset & ~0xfffULL; in getPreferredLargeGEPBaseOffset()
17842 if (MinOffset >> 12 == MaxOffset >> 12 && isLegalAddImmediate(HighPart)) { in getPreferredLargeGEPBaseOffset()
25826 uint64_t MinOffset = -1ull; in performGlobalAddressCombine() local
25835 MinOffset = std::min(MinOffset, C->getZExtValue()); in performGlobalAddressCombine()
25837 uint64_t Offset = MinOffset + GN->getOffset(); in performGlobalAddressCombine()
25866 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
153 if (TrampolineOffset < MinOffset || TrampolineOffset > MaxOffset) { in patchFunctionEntry()
202 if (TrampolineOffset < MinOffset || TrampolineOffset > MaxOffset) { in patchFunctionExit()
233 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.cpp1448 int64_t MinOffset = std::min(OffsetA, OffsetB); in MemOperandsHaveAlias() local
1474 int64_t LowWidth = (MinOffset == OffsetA) in MemOperandsHaveAlias()
1477 return (MinOffset + LowWidth > MaxOffset); in MemOperandsHaveAlias()
1496 KnownWidthA ? WidthA.getValue().getKnownMinValue() + OffsetA - MinOffset in MemOperandsHaveAlias()
1499 KnownWidthB ? WidthB.getValue().getKnownMinValue() + OffsetB - MinOffset in MemOperandsHaveAlias()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PreLegalizerCombiner.cpp154 uint64_t MinOffset = -1ull; in matchFoldGlobalOffset() local
162 MinOffset = std::min(MinOffset, Cst->Value.getZExtValue()); in matchFoldGlobalOffset()
168 uint64_t NewOffset = MinOffset + CurrOffset; in matchFoldGlobalOffset()
188 MatchInfo = std::make_pair(NewOffset, MinOffset); in matchFoldGlobalOffset()
215 uint64_t Offset, MinOffset; in applyFoldGlobalOffset() local
216 std::tie(Offset, MinOffset) = MatchInfo; in applyFoldGlobalOffset()
228 B.buildConstant(LLT::scalar(64), -static_cast<int64_t>(MinOffset))); in applyFoldGlobalOffset()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp1316 Immediate MinOffset = Immediate::getFixedMax(); member in __anonc21373340811::LSRUse
1355 if (Immediate::isKnownLT(f.Offset, MinOffset)) in pushFixup()
1356 MinOffset = f.Offset; in pushFixup()
1862 Immediate MinOffset, Immediate MaxOffset, in isAMCompletelyFolded() argument
1867 (BaseOffset.isScalable() != MinOffset.isScalable() || in isAMCompletelyFolded()
1872 int64_t Min = MinOffset.getKnownMinValue(); in isAMCompletelyFolded()
1876 MinOffset = Immediate::get((uint64_t)Base + Min, MinOffset.isScalable()); in isAMCompletelyFolded()
1881 return isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, MinOffset, in isAMCompletelyFolded()
1888 Immediate MinOffset, Immediate MaxOffset, in isAMCompletelyFolded() argument
1899 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, in isAMCompletelyFolded()
[all …]
H A DGuardWidening.cpp902 const ConstantInt *MinOffset = CurrentChecks.front().getOffset(); in combineRangeChecks() local
906 if ((MaxOffset->getValue() - MinOffset->getValue()) in combineRangeChecks()
910 APInt MaxDiff = MaxOffset->getValue() - MinOffset->getValue(); in combineRangeChecks()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AvoidStoreForwardingBlocks.cpp522 int64_t MinOffset = std::min(Op1.getOffset(), Op2.getOffset()); in alias() local
523 int64_t Overlapa = Op1.getSize().getValue() + Op1.getOffset() - MinOffset; in alias()
524 int64_t Overlapb = Op2.getSize().getValue() + Op2.getOffset() - MinOffset; in alias()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp276 int64_t MinOffset = std::min(SrcValOffset0, SrcValOffset1); in instMayAlias() local
278 Size0.getValue().getKnownMinValue() + SrcValOffset0 - MinOffset; in instMayAlias()
280 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.cpp1649 int64_t MinOffset = 0; // CS offsets are negative. in assignCalleeSavedSpillSlots() local
1656 MinOffset = std::min(MinOffset, S->Offset); in assignCalleeSavedSpillSlots()
1668 int64_t Off = MinOffset - Size; in assignCalleeSavedSpillSlots()
1672 MinOffset = std::min(MinOffset, Off); in assignCalleeSavedSpillSlots()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterp.cpp550 uint32_t MinOffset = Ptr.getDeclDesc()->getMetadataSize(); in CheckDowncast() local
555 if (Offset < PtrOffset && (PtrOffset - Offset) >= MinOffset) in CheckDowncast()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h456 int64_t getPreferredLargeGEPBaseOffset(int64_t MinOffset, int64_t MaxOffset) { in getPreferredLargeGEPBaseOffset() argument
457 return getTLI()->getPreferredLargeGEPBaseOffset(MinOffset, MaxOffset); in getPreferredLargeGEPBaseOffset()
H A DTargetLowering.h2913 virtual int64_t getPreferredLargeGEPBaseOffset(int64_t MinOffset, in getPreferredLargeGEPBaseOffset() argument
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp29514 int64_t MinOffset = std::min(SrcValOffset0, SrcValOffset1); in mayAlias() local
29516 Size0.getValue().getKnownMinValue() + SrcValOffset0 - MinOffset; in mayAlias()
29518 Size1.getValue().getKnownMinValue() + SrcValOffset1 - MinOffset; in mayAlias()