Home
last modified time | relevance | path

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

/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);
DAArch64ISelLowering.cpp12294 uint64_t MinOffset = -1ull; in performGlobalAddressCombine() local
12303 MinOffset = std::min(MinOffset, C->getZExtValue()); in performGlobalAddressCombine()
12305 uint64_t Offset = MinOffset + GN->getOffset(); in performGlobalAddressCombine()
12333 DAG.getConstant(MinOffset, DL, MVT::i64)); in performGlobalAddressCombine()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1206 int64_t MinOffset; member in __anon790de1db0711::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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1155 int64_t MinOffset = std::numeric_limits<int64_t>::max(); member in __anonf0be1d3d0711::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/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()
/external/llvm/lib/CodeGen/
DScheduleDAGInstrs.cpp608 int64_t MinOffset = std::min(MMOa->getOffset(), MMOb->getOffset()); in MIsNeedChainEdge() local
609 int64_t Overlapa = MMOa->getSize() + MMOa->getOffset() - MinOffset; in MIsNeedChainEdge()
610 int64_t Overlapb = MMOb->getSize() + MMOb->getOffset() - MinOffset; in MIsNeedChainEdge()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSILoadStoreOptimizer.cpp649 unsigned MinOffset = std::min(A->getOffset(), B->getOffset()); in combineKnownAdjacentMMOs() local
655 MMO->setOffset(MinOffset); in combineKnownAdjacentMMOs()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp14825 int64_t MinOffset = std::min(Op0->getSrcValueOffset(), in isAlias() local
14828 Op0->getSrcValueOffset() - MinOffset; in isAlias()
14830 Op1->getSrcValueOffset() - MinOffset; in isAlias()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp20916 int64_t MinOffset = std::min(SrcValOffset0, SrcValOffset1); in isAlias() local
20917 int64_t Overlap0 = *MUC0.NumBytes + SrcValOffset0 - MinOffset; in isAlias()
20918 int64_t Overlap1 = *MUC1.NumBytes + SrcValOffset1 - MinOffset; in isAlias()