Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DSILoadStoreOptimizer.cpp211 unsigned NewOffset1 = Offset1 / EltSize; in mergeRead2Pair() local
216 bool UseST64 = (NewOffset0 % 64 == 0) && (NewOffset1 % 64 == 0); in mergeRead2Pair()
219 NewOffset1 /= 64; in mergeRead2Pair()
223 assert((isUInt<8>(NewOffset0) && isUInt<8>(NewOffset1)) && in mergeRead2Pair()
224 (NewOffset0 != NewOffset1) && in mergeRead2Pair()
238 .addImm(NewOffset1) // offset1 in mergeRead2Pair()
307 unsigned NewOffset1 = Offset1 / EltSize; in mergeWrite2Pair() local
312 bool UseST64 = (NewOffset0 % 64 == 0) && (NewOffset1 % 64 == 0); in mergeWrite2Pair()
315 NewOffset1 /= 64; in mergeWrite2Pair()
319 assert((isUInt<8>(NewOffset0) && isUInt<8>(NewOffset1)) && in mergeWrite2Pair()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSILoadStoreOptimizer.cpp491 unsigned NewOffset1 = CI.Offset1; in mergeRead2Pair() local
498 if (NewOffset0 > NewOffset1) { in mergeRead2Pair()
500 std::swap(NewOffset0, NewOffset1); in mergeRead2Pair()
504 assert((isUInt<8>(NewOffset0) && isUInt<8>(NewOffset1)) && in mergeRead2Pair()
505 (NewOffset0 != NewOffset1) && in mergeRead2Pair()
535 .addImm(NewOffset1) // offset1 in mergeRead2Pair()
587 unsigned NewOffset1 = CI.Offset1; in mergeWrite2Pair() local
591 if (NewOffset0 > NewOffset1) { in mergeWrite2Pair()
593 std::swap(NewOffset0, NewOffset1); in mergeWrite2Pair()
597 assert((isUInt<8>(NewOffset0) && isUInt<8>(NewOffset1)) && in mergeWrite2Pair()
[all …]