Home
last modified time | relevance | path

Searched refs:ByteShift (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp988 bool ByteShift = ShiftEltBits > 64; in matchShuffleAsShift() local
989 Opcode = Left ? (ByteShift ? LoongArchISD::VBSLL : LoongArchISD::VSLLI) in matchShuffleAsShift()
990 : (ByteShift ? LoongArchISD::VBSRL : LoongArchISD::VSRLI); in matchShuffleAsShift()
991 int ShiftAmt = Shift * ScalarSizeInBits / (ByteShift ? 8 : 1); in matchShuffleAsShift()
995 Scale = ByteShift ? Scale / 2 : Scale; in matchShuffleAsShift()
999 ShiftVT = ByteShift ? MVT::getVectorVT(MVT::i8, SizeInBits / 8) in matchShuffleAsShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp12646 uint64_t ByteShift = BitShift / 8; in calculateByteProvider() local
12648 uint64_t NewIndex = (Index + ByteShift) % ConcatSizeInBytes; in calculateByteProvider()
12673 uint64_t ByteShift = BitShift / 8; in calculateByteProvider() local
12678 return BytesProvided - ByteShift > Index in calculateByteProvider()
12680 Index + ByteShift) in calculateByteProvider()
12695 uint64_t ByteShift = BitShift / 8; in calculateByteProvider() local
12701 return Index < ByteShift in calculateByteProvider()
12703 : calculateByteProvider(Op.getOperand(0), Index - ByteShift, in calculateByteProvider()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp9183 uint64_t ByteShift = BitShift / 8; in calculateByteProvider() local
9188 return Index < ByteShift in calculateByteProvider()
9190 : calculateByteProvider(Op->getOperand(0), Index - ByteShift, in calculateByteProvider()
20804 unsigned ByteShift = MaskInfo.second; in ShrinkLoadReplaceStoreWithStore() local
20810 ByteShift*8, (ByteShift+NumBytes)*8); in ShrinkLoadReplaceStoreWithStore()
20840 if (ByteShift) { in ShrinkLoadReplaceStoreWithStore()
20844 DAG.getShiftAmountConstant(ByteShift * 8, IVal.getValueType(), DL)); in ShrinkLoadReplaceStoreWithStore()
20850 StOffset = ByteShift; in ShrinkLoadReplaceStoreWithStore()
20852 StOffset = IVal.getValueType().getStoreSize() - ByteShift - NumBytes; in ShrinkLoadReplaceStoreWithStore()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp6505 unsigned ByteShift = EltBits[I].getZExtValue() / 8; in getFauxShuffleMask() local
6511 std::iota(Mask.begin() + Lo + ByteShift, Mask.begin() + Hi, Lo); in getFauxShuffleMask()
6513 std::iota(Mask.begin() + Lo, Mask.begin() + Hi - ByteShift, in getFauxShuffleMask()
6514 Lo + ByteShift); in getFauxShuffleMask()
6531 uint64_t ByteShift = ShiftVal / 8; in getFauxShuffleMask() local
6539 for (unsigned j = ByteShift; j != NumBytesPerElt; ++j) in getFauxShuffleMask()
6540 Mask[i + j] = i + j - ByteShift; in getFauxShuffleMask()
6543 for (unsigned j = ByteShift; j != NumBytesPerElt; ++j) in getFauxShuffleMask()
6544 Mask[i + j - ByteShift] = i + j; in getFauxShuffleMask()
12156 bool ByteShift = ShiftEltBits > 64; in matchShuffleAsShift() local
[all …]