Home
last modified time | relevance | path

Searched refs:EltOffset0 (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSILoadStoreOptimizer.cpp257 unsigned EltOffset0 = CI.Offset0 / CI.EltSize; in offsetsCanBeCombined() local
265 return (EltOffset0 + Diff == EltOffset1 || in offsetsCanBeCombined()
266 EltOffset1 + Diff == EltOffset0) && in offsetsCanBeCombined()
273 if ((EltOffset0 % 64 == 0) && (EltOffset1 % 64) == 0 && in offsetsCanBeCombined()
274 isUInt<8>(EltOffset0 / 64) && isUInt<8>(EltOffset1 / 64)) { in offsetsCanBeCombined()
275 CI.Offset0 = EltOffset0 / 64; in offsetsCanBeCombined()
282 if (isUInt<8>(EltOffset0) && isUInt<8>(EltOffset1)) { in offsetsCanBeCombined()
283 CI.Offset0 = EltOffset0; in offsetsCanBeCombined()
289 unsigned OffsetDiff = std::abs((int)EltOffset1 - (int)EltOffset0); in offsetsCanBeCombined()
293 CI.Offset0 = (EltOffset0 - CI.BaseOff / CI.EltSize) / 64; in offsetsCanBeCombined()
[all …]
/external/llvm/lib/Target/AMDGPU/
DSILoadStoreOptimizer.cpp142 unsigned EltOffset0 = Offset0 / Size; in offsetsCanBeCombined() local
146 if (isUInt<8>(EltOffset0) && isUInt<8>(EltOffset1)) in offsetsCanBeCombined()
151 if ((EltOffset0 % 64 != 0) || (EltOffset1 % 64) != 0) in offsetsCanBeCombined()
154 return isUInt<8>(EltOffset0 / 64) && isUInt<8>(EltOffset1 / 64); in offsetsCanBeCombined()