Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64CompressJumpTables.cpp105 MinOffset = std::numeric_limits<int>::max(); in compressJumpTable()
112 if (BlockOffset <= MinOffset) { in compressJumpTable()
113 MinOffset = BlockOffset; in compressJumpTable()
121 if (!isInt<21>(MinOffset - Offset)) { in compressJumpTable()
126 int Span = MaxOffset - MinOffset; in compressJumpTable()
DAArch64MachineFunctionInfo.h230 int64_t MinOffset = std::numeric_limits<int64_t>::max(); in getCalleeSavedStackSize() local
238 MinOffset = std::min<int64_t>(Offset, MinOffset); in getCalleeSavedStackSize()
242 unsigned Size = alignTo(MaxOffset - MinOffset, 16); in getCalleeSavedStackSize()
DAArch64LoadStoreOptimizer.cpp543 int &MinOffset, int &MaxOffset) { in getPrePostIndexedMemOpInfo() argument
552 MinOffset = -64; in getPrePostIndexedMemOpInfo()
555 MinOffset = -256; in getPrePostIndexedMemOpInfo()
1521 int MinOffset = Offset < MIOffset ? Offset : MIOffset; in findMatchingInsn() local
1527 if ((!IsUnscaled && alignTo(MinOffset, 2) != MinOffset) || in findMatchingInsn()
1539 if (!inBoundsForPair(IsUnscaled, MinOffset, OffsetStride)) { in findMatchingInsn()
1548 if (IsUnscaled && (alignTo(MinOffset, OffsetStride) != MinOffset)) { in findMatchingInsn()
1673 int Scale, MinOffset, MaxOffset; in mergeUpdateInsn() local
1674 getPrePostIndexedMemOpInfo(*I, Scale, MinOffset, MaxOffset); in mergeUpdateInsn()
1747 int Scale, MinOffset, MaxOffset; in isMatchingUpdateInsn() local
[all …]
DAArch64InstrInfo.cpp2222 unsigned &Width, int64_t &MinOffset, in getMemOpInfo() argument
2230 MinOffset = MaxOffset = 0; in getMemOpInfo()
2236 MinOffset = -256; in getMemOpInfo()
2243 MinOffset = -256; in getMemOpInfo()
2253 MinOffset = -256; in getMemOpInfo()
2263 MinOffset = -256; in getMemOpInfo()
2274 MinOffset = -256; in getMemOpInfo()
2285 MinOffset = -256; in getMemOpInfo()
2294 MinOffset = -64; in getMemOpInfo()
2301 MinOffset = 0; in getMemOpInfo()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64CompressJumpTables.cpp105 MinOffset = std::numeric_limits<int>::max(); in compressJumpTable()
112 if (BlockOffset <= MinOffset) { in compressJumpTable()
113 MinOffset = BlockOffset; in compressJumpTable()
121 if (!isInt<21>(MinOffset - Offset)) { in compressJumpTable()
126 int Span = MaxOffset - MinOffset; in compressJumpTable()
DAArch64MachineFunctionInfo.h201 int64_t MinOffset = std::numeric_limits<int64_t>::max(); in getCalleeSavedStackSize() local
209 MinOffset = std::min<int64_t>(Offset, MinOffset); in getCalleeSavedStackSize()
213 unsigned Size = alignTo(MaxOffset - MinOffset, 16); in getCalleeSavedStackSize()
DAArch64LoadStoreOptimizer.cpp542 int &MinOffset, int &MaxOffset) { in getPrePostIndexedMemOpInfo() argument
551 MinOffset = -64; in getPrePostIndexedMemOpInfo()
554 MinOffset = -256; in getPrePostIndexedMemOpInfo()
1515 int MinOffset = Offset < MIOffset ? Offset : MIOffset; in findMatchingInsn() local
1521 if ((!IsUnscaled && alignTo(MinOffset, 2) != MinOffset) || in findMatchingInsn()
1533 if (!inBoundsForPair(IsUnscaled, MinOffset, OffsetStride)) { in findMatchingInsn()
1542 if (IsUnscaled && (alignTo(MinOffset, OffsetStride) != MinOffset)) { in findMatchingInsn()
1655 int Scale, MinOffset, MaxOffset; in mergeUpdateInsn() local
1656 getPrePostIndexedMemOpInfo(*I, Scale, MinOffset, MaxOffset); in mergeUpdateInsn()
1729 int Scale, MinOffset, MaxOffset; in isMatchingUpdateInsn() local
[all …]
DAArch64InstrInfo.cpp2047 unsigned &Width, int64_t &MinOffset, in getMemOpInfo() argument
2053 MinOffset = MaxOffset = 0; in getMemOpInfo()
2059 MinOffset = -256; in getMemOpInfo()
2066 MinOffset = -256; in getMemOpInfo()
2076 MinOffset = -256; in getMemOpInfo()
2086 MinOffset = -256; in getMemOpInfo()
2097 MinOffset = -256; in getMemOpInfo()
2108 MinOffset = -256; in getMemOpInfo()
2117 MinOffset = -64; in getMemOpInfo()
2123 MinOffset = 0; in getMemOpInfo()
[all …]
DAArch64InstrInfo.h133 int64_t &MinOffset, int64_t &MaxOffset);
/external/llvm-project/compiler-rt/lib/xray/
Dxray_x86_64.cpp120 static constexpr int64_t MinOffset{std::numeric_limits<int32_t>::min()}; variable
150 if (TrampolineOffset < MinOffset || TrampolineOffset > MaxOffset) { in patchFunctionEntry()
196 if (TrampolineOffset < MinOffset || TrampolineOffset > MaxOffset) { in patchFunctionExit()
225 if (TrampolineOffset < MinOffset || TrampolineOffset > MaxOffset) { in patchFunctionTailExit()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1206 int64_t MinOffset; member in __anondeb532bd0711::LSRUse
1235 : Kind(K), AccessTy(AT), MinOffset(INT64_MAX), MaxOffset(INT64_MIN), in LSRUse()
1409 int64_t MinOffset, int64_t MaxOffset, in isAMCompletelyFolded() argument
1414 if (((int64_t)((uint64_t)BaseOffset + MinOffset) > BaseOffset) != in isAMCompletelyFolded()
1415 (MinOffset > 0)) in isAMCompletelyFolded()
1417 MinOffset = (uint64_t)BaseOffset + MinOffset; in isAMCompletelyFolded()
1423 return isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, MinOffset, in isAMCompletelyFolded()
1430 int64_t MinOffset, int64_t MaxOffset, in isAMCompletelyFolded() argument
1441 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, in isAMCompletelyFolded()
1446 static bool isLegalUse(const TargetTransformInfo &TTI, int64_t MinOffset, in isLegalUse() argument
[all …]
DGuardWidening.cpp593 ConstantInt *MinOffset = CurrentChecks.front().getOffset(), in combineRangeChecks() local
597 if ((MaxOffset->getValue() - MinOffset->getValue()) in combineRangeChecks()
601 APInt MaxDiff = MaxOffset->getValue() - MinOffset->getValue(); in combineRangeChecks()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
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()
DMachineInstr.cpp1231 int64_t MinOffset = std::min(OffsetA, OffsetB); in mayAlias() local
1256 int64_t LowWidth = (MinOffset == OffsetA) ? WidthA : WidthB; in mayAlias()
1257 return (MinOffset + LowWidth > MaxOffset); in mayAlias()
1269 int64_t OverlapA = KnownWidthA ? WidthA + OffsetA - MinOffset in mayAlias()
1271 int64_t OverlapB = KnownWidthB ? WidthB + OffsetB - MinOffset in mayAlias()
/external/llvm-project/llvm/lib/CodeGen/
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()
DMachineInstr.cpp1310 int64_t MinOffset = std::min(OffsetA, OffsetB); in mayAlias() local
1335 int64_t LowWidth = (MinOffset == OffsetA) ? WidthA : WidthB; in mayAlias()
1336 return (MinOffset + LowWidth > MaxOffset); in mayAlias()
1348 int64_t OverlapA = KnownWidthA ? WidthA + OffsetA - MinOffset in mayAlias()
1350 int64_t OverlapB = KnownWidthB ? WidthB + OffsetB - MinOffset in mayAlias()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1148 int64_t MinOffset = std::numeric_limits<int64_t>::max(); member in __anon0126992b0711::LSRUse
1187 if (f.Offset < MinOffset) in pushFixup()
1188 MinOffset = f.Offset; in pushFixup()
1677 int64_t MinOffset, int64_t MaxOffset, in isAMCompletelyFolded() argument
1682 if (((int64_t)((uint64_t)BaseOffset + MinOffset) > BaseOffset) != in isAMCompletelyFolded()
1683 (MinOffset > 0)) in isAMCompletelyFolded()
1685 MinOffset = (uint64_t)BaseOffset + MinOffset; in isAMCompletelyFolded()
1691 return isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, MinOffset, in isAMCompletelyFolded()
1698 int64_t MinOffset, int64_t MaxOffset, in isAMCompletelyFolded() argument
1709 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, in isAMCompletelyFolded()
[all …]
DGuardWidening.cpp689 const ConstantInt *MinOffset = CurrentChecks.front().getOffset(); in combineRangeChecks() local
693 if ((MaxOffset->getValue() - MinOffset->getValue()) in combineRangeChecks()
697 APInt MaxDiff = MaxOffset->getValue() - MinOffset->getValue(); in combineRangeChecks()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1155 int64_t MinOffset = std::numeric_limits<int64_t>::max(); member in __anone4da369f0711::LSRUse
1194 if (f.Offset < MinOffset) in pushFixup()
1195 MinOffset = f.Offset; in pushFixup()
1684 int64_t MinOffset, int64_t MaxOffset, in isAMCompletelyFolded() argument
1689 if (((int64_t)((uint64_t)BaseOffset + MinOffset) > BaseOffset) != in isAMCompletelyFolded()
1690 (MinOffset > 0)) in isAMCompletelyFolded()
1692 MinOffset = (uint64_t)BaseOffset + MinOffset; in isAMCompletelyFolded()
1698 return isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, MinOffset, in isAMCompletelyFolded()
1705 int64_t MinOffset, int64_t MaxOffset, in isAMCompletelyFolded() argument
1716 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, in isAMCompletelyFolded()
[all …]
DGuardWidening.cpp689 const ConstantInt *MinOffset = CurrentChecks.front().getOffset(); in combineRangeChecks() local
693 if ((MaxOffset->getValue() - MinOffset->getValue()) in combineRangeChecks()
697 APInt MaxDiff = MaxOffset->getValue() - MinOffset->getValue(); in combineRangeChecks()
/external/llvm/lib/Target/AArch64/
DAArch64LoadStoreOptimizer.cpp1271 int MinOffset = Offset < MIOffset ? Offset : MIOffset; in findMatchingInsn() local
1277 if ((!IsUnscaled && alignTo(MinOffset, 2) != MinOffset) || in findMatchingInsn()
1288 if (!inBoundsForPair(IsUnscaled, MinOffset, OffsetStride)) { in findMatchingInsn()
1296 if (IsUnscaled && (alignTo(MinOffset, OffsetStride) != MinOffset)) { in findMatchingInsn()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86AvoidStoreForwardingBlocks.cpp527 int64_t MinOffset = std::min(Op1.getOffset(), Op2.getOffset()); in alias() local
528 int64_t Overlapa = Op1.getSize() + Op1.getOffset() - MinOffset; in alias()
529 int64_t Overlapb = Op2.getSize() + Op2.getOffset() - MinOffset; in alias()
/external/llvm-project/llvm/lib/Target/X86/
DX86AvoidStoreForwardingBlocks.cpp528 int64_t MinOffset = std::min(Op1.getOffset(), Op2.getOffset()); in alias() local
529 int64_t Overlapa = Op1.getSize() + Op1.getOffset() - MinOffset; in alias()
530 int64_t Overlapb = Op2.getSize() + Op2.getOffset() - MinOffset; in alias()
/external/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp1318 int MinOffset = 0; // CS offsets are negative. in assignCalleeSavedSpillSlots() local
1325 MinOffset = std::min(MinOffset, S->Offset); in assignCalleeSavedSpillSlots()
1336 int Off = MinOffset - RC->getSize(); in assignCalleeSavedSpillSlots()
1341 MinOffset = std::min(MinOffset, Off); in assignCalleeSavedSpillSlots()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp1545 int MinOffset = 0; // CS offsets are negative. in assignCalleeSavedSpillSlots() local
1552 MinOffset = std::min(MinOffset, S->Offset); in assignCalleeSavedSpillSlots()
1564 int Off = MinOffset - Size; in assignCalleeSavedSpillSlots()
1569 MinOffset = std::min(MinOffset, Off); in assignCalleeSavedSpillSlots()

12