Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1317 unsigned ByteShift = ShAmt >> 3; in CollectBSwapParts() local
1320 OverallLeftShift += ByteShift; in CollectBSwapParts()
1321 ByteMask >>= ByteShift; in CollectBSwapParts()
1324 OverallLeftShift -= ByteShift; in CollectBSwapParts()
1325 ByteMask <<= ByteShift; in CollectBSwapParts()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp6339 unsigned ByteShift = MaskInfo.second; in ShrinkLoadReplaceStoreWithStore() local
6345 ByteShift*8, (ByteShift+NumBytes)*8); in ShrinkLoadReplaceStoreWithStore()
6357 if (ByteShift) in ShrinkLoadReplaceStoreWithStore()
6359 DAG.getConstant(ByteShift*8, in ShrinkLoadReplaceStoreWithStore()
6367 StOffset = ByteShift; in ShrinkLoadReplaceStoreWithStore()
6369 StOffset = IVal.getValueType().getStoreSize() - ByteShift - NumBytes; in ShrinkLoadReplaceStoreWithStore()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp5668 uint64_t ByteShift = BitShift / 8; in calculateByteProvider() local
5670 return Index < ByteShift in calculateByteProvider()
5672 : calculateByteProvider(Op->getOperand(0), Index - ByteShift, in calculateByteProvider()
13336 unsigned ByteShift = MaskInfo.second; in ShrinkLoadReplaceStoreWithStore() local
13342 ByteShift*8, (ByteShift+NumBytes)*8); in ShrinkLoadReplaceStoreWithStore()
13354 if (ByteShift) { in ShrinkLoadReplaceStoreWithStore()
13357 DAG.getConstant(ByteShift*8, DL, in ShrinkLoadReplaceStoreWithStore()
13366 StOffset = ByteShift; in ShrinkLoadReplaceStoreWithStore()
13368 StOffset = IVal.getValueType().getStoreSize() - ByteShift - NumBytes; in ShrinkLoadReplaceStoreWithStore()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp10799 unsigned ByteShift = MaskInfo.second; in ShrinkLoadReplaceStoreWithStore() local
10805 ByteShift*8, (ByteShift+NumBytes)*8); in ShrinkLoadReplaceStoreWithStore()
10817 if (ByteShift) { in ShrinkLoadReplaceStoreWithStore()
10820 DAG.getConstant(ByteShift*8, DL, in ShrinkLoadReplaceStoreWithStore()
10829 StOffset = ByteShift; in ShrinkLoadReplaceStoreWithStore()
10831 StOffset = IVal.getValueType().getStoreSize() - ByteShift - NumBytes; in ShrinkLoadReplaceStoreWithStore()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp6317 uint64_t ByteShift = ShiftVal / 8; in getFauxShuffleMask() local
6327 for (unsigned j = ByteShift; j != NumBytesPerElt; ++j) in getFauxShuffleMask()
6328 Mask[i + j] = i + j - ByteShift; in getFauxShuffleMask()
6331 for (unsigned j = ByteShift; j != NumBytesPerElt; ++j) in getFauxShuffleMask()
6332 Mask[i + j - ByteShift] = i + j; in getFauxShuffleMask()
10189 bool ByteShift = ShiftEltBits > 64; in matchVectorShuffleAsShift() local
10190 Opcode = Left ? (ByteShift ? X86ISD::VSHLDQ : X86ISD::VSHLI) in matchVectorShuffleAsShift()
10191 : (ByteShift ? X86ISD::VSRLDQ : X86ISD::VSRLI); in matchVectorShuffleAsShift()
10192 int ShiftAmt = Shift * ScalarSizeInBits / (ByteShift ? 8 : 1); in matchVectorShuffleAsShift()
10196 Scale = ByteShift ? Scale / 2 : Scale; in matchVectorShuffleAsShift()
[all …]
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp7877 bool ByteShift = ShiftEltBits > 64; in lowerVectorShuffleAsShift() local
7878 unsigned OpCode = Left ? (ByteShift ? X86ISD::VSHLDQ : X86ISD::VSHLI) in lowerVectorShuffleAsShift()
7879 : (ByteShift ? X86ISD::VSRLDQ : X86ISD::VSRLI); in lowerVectorShuffleAsShift()
7880 int ShiftAmt = Shift * VT.getScalarSizeInBits() / (ByteShift ? 8 : 1); in lowerVectorShuffleAsShift()
7884 Scale = ByteShift ? Scale / 2 : Scale; in lowerVectorShuffleAsShift()
7888 MVT ShiftVT = ByteShift ? MVT::getVectorVT(MVT::i8, VT.getSizeInBits() / 8) in lowerVectorShuffleAsShift()