Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1206 int64_t MinOffset; member in __anon445c839f0711::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-7.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1145 int64_t MinOffset = std::numeric_limits<int64_t>::max(); member in __anon3e6f8af70711::LSRUse
1184 if (f.Offset < MinOffset) in pushFixup()
1185 MinOffset = f.Offset; in pushFixup()
1655 int64_t MinOffset, int64_t MaxOffset, in isAMCompletelyFolded() argument
1660 if (((int64_t)((uint64_t)BaseOffset + MinOffset) > BaseOffset) != in isAMCompletelyFolded()
1661 (MinOffset > 0)) in isAMCompletelyFolded()
1663 MinOffset = (uint64_t)BaseOffset + MinOffset; in isAMCompletelyFolded()
1669 return isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, MinOffset, in isAMCompletelyFolded()
1676 int64_t MinOffset, int64_t MaxOffset, in isAMCompletelyFolded() argument
1687 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, in isAMCompletelyFolded()
[all …]
DGuardWidening.cpp647 ConstantInt *MinOffset = CurrentChecks.front().getOffset(), in combineRangeChecks() local
651 if ((MaxOffset->getValue() - MinOffset->getValue()) in combineRangeChecks()
655 APInt MaxDiff = MaxOffset->getValue() - MinOffset->getValue(); in combineRangeChecks()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1035 int64_t MinOffset; member in __anon5f7a77cb0611::LSRUse
1058 MinOffset(INT64_MAX), in LSRUse()
1227 int64_t MinOffset, int64_t MaxOffset, in isLegalUse() argument
1231 if (((int64_t)((uint64_t)AM.BaseOffs + MinOffset) > AM.BaseOffs) != in isLegalUse()
1232 (MinOffset > 0)) in isLegalUse()
1234 AM.BaseOffs = (uint64_t)AM.BaseOffs + MinOffset; in isLegalUse()
1236 AM.BaseOffs = (uint64_t)AM.BaseOffs - MinOffset; in isLegalUse()
1274 int64_t MinOffset, int64_t MaxOffset, in isAlwaysFoldable() argument
1301 return isLegalUse(AM, MinOffset, MaxOffset, Kind, AccessTy, TLI); in isAlwaysFoldable()
1900 int64_t NewMinOffset = LU.MinOffset; in reconcileNewOffset()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DDFAPacketizer.cpp347 int64_t MinOffset = std::min(Op1.getOffset(), Op2.getOffset()); in alias() local
348 int64_t Overlapa = Op1.getSize() + Op1.getOffset() - MinOffset; in alias()
349 int64_t Overlapb = Op2.getSize() + Op2.getOffset() - MinOffset; in alias()
DMachineInstr.cpp1054 int64_t MinOffset = std::min(OffsetA, OffsetB); in mayAlias() local
1073 int64_t LowWidth = (MinOffset == OffsetA) ? WidthA : WidthB; in mayAlias()
1074 return (MinOffset + LowWidth > MaxOffset); in mayAlias()
1086 int64_t Overlapa = WidthA + OffsetA - MinOffset; in mayAlias()
1087 int64_t Overlapb = WidthB + OffsetB - MinOffset; in mayAlias()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp2160 unsigned &Width, int64_t &MinOffset, in getMemOpInfo() argument
2166 MinOffset = MaxOffset = 0; in getMemOpInfo()
2172 MinOffset = -256; in getMemOpInfo()
2179 MinOffset = -256; in getMemOpInfo()
2188 MinOffset = -256; in getMemOpInfo()
2198 MinOffset = -256; in getMemOpInfo()
2209 MinOffset = -256; in getMemOpInfo()
2220 MinOffset = -256; in getMemOpInfo()
2229 MinOffset = -64; in getMemOpInfo()
2235 MinOffset = 0; in getMemOpInfo()
[all …]
DAArch64LoadStoreOptimizer.cpp1219 int MinOffset = Offset < MIOffset ? Offset : MIOffset; in findMatchingInsn() local
1225 if ((!IsUnscaled && alignTo(MinOffset, 2) != MinOffset) || in findMatchingInsn()
1237 if (!inBoundsForPair(IsUnscaled, MinOffset, OffsetStride)) { in findMatchingInsn()
1246 if (IsUnscaled && (alignTo(MinOffset, OffsetStride) != MinOffset)) { in findMatchingInsn()
DAArch64InstrInfo.h129 int64_t &MinOffset, int64_t &MaxOffset) const;
DAArch64ISelLowering.cpp10873 uint64_t MinOffset = -1ull; in performGlobalAddressCombine() local
10882 MinOffset = std::min(MinOffset, C->getZExtValue()); in performGlobalAddressCombine()
10884 uint64_t Offset = MinOffset + GN->getOffset(); in performGlobalAddressCombine()
10912 DAG.getConstant(MinOffset, DL, MVT::i64)); in performGlobalAddressCombine()
/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-7.0/llvm/lib/Target/X86/
DX86AvoidStoreForwardingBlocks.cpp522 int64_t MinOffset = std::min(Op1.getOffset(), Op2.getOffset()); in alias() local
523 int64_t Overlapa = Op1.getSize() + Op1.getOffset() - MinOffset; in alias()
524 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-7.0/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp1481 int MinOffset = 0; // CS offsets are negative. in assignCalleeSavedSpillSlots() local
1488 MinOffset = std::min(MinOffset, S->Offset); in assignCalleeSavedSpillSlots()
1500 int Off = MinOffset - Size; in assignCalleeSavedSpillSlots()
1505 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/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7842 int64_t MinOffset = std::min(SrcValueOffset1, SrcValueOffset2); in isAlias() local
7843 int64_t Overlap1 = Size1 + SrcValueOffset1 - MinOffset; in isAlias()
7844 int64_t Overlap2 = Size2 + SrcValueOffset2 - MinOffset; in isAlias()
/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-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp18452 int64_t MinOffset = std::min(SrcValOffset0, SrcValOffset1); in isAlias() local
18453 int64_t Overlap0 = NumBytes0 + SrcValOffset0 - MinOffset; in isAlias()
18454 int64_t Overlap1 = NumBytes1 + SrcValOffset1 - MinOffset; in isAlias()