Home
last modified time | relevance | path

Searched refs:ByteMask (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1297 static bool CollectBSwapParts(Value *V, int OverallLeftShift, uint32_t ByteMask, in CollectBSwapParts() argument
1302 return CollectBSwapParts(I->getOperand(0), OverallLeftShift, ByteMask, in CollectBSwapParts()
1304 CollectBSwapParts(I->getOperand(1), OverallLeftShift, ByteMask, in CollectBSwapParts()
1321 ByteMask >>= ByteShift; in CollectBSwapParts()
1325 ByteMask <<= ByteShift; in CollectBSwapParts()
1326 ByteMask &= (~0U >> (32-ByteValues.size())); in CollectBSwapParts()
1332 return CollectBSwapParts(I->getOperand(0), OverallLeftShift, ByteMask, in CollectBSwapParts()
1348 if ((ByteMask & (1 << i)) == 0) in CollectBSwapParts()
1354 ByteMask &= ~(1U << i); in CollectBSwapParts()
1365 return CollectBSwapParts(I->getOperand(0), OverallLeftShift, ByteMask, in CollectBSwapParts()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp325 SmallVector<int,128> ByteMask; in getByteShuffle() local
329 ByteMask.push_back(-1); in getByteShuffle()
333 ByteMask.push_back(NewM+I); in getByteShuffle()
336 assert(ResTy.getVectorNumElements() == ByteMask.size()); in getByteShuffle()
338 opCastElem(Op1, MVT::i8, DAG), ByteMask); in getByteShuffle()
DHexagonISelLowering.cpp1978 SmallVector<int,8> ByteMask; in LowerVECTOR_SHUFFLE() local
1984 ByteMask.push_back(-1); in LowerVECTOR_SHUFFLE()
1987 ByteMask.push_back(M*ElemBytes + j); in LowerVECTOR_SHUFFLE()
1990 assert(ByteMask.size() <= 8); in LowerVECTOR_SHUFFLE()
1999 for (unsigned i = 0, e = ByteMask.size(); i != e; ++i) { in LowerVECTOR_SHUFFLE()
2001 uint64_t M = ByteMask[i] & 0xFF; in LowerVECTOR_SHUFFLE()
2007 if (ByteMask.size() == 4) { in LowerVECTOR_SHUFFLE()
2034 if (ByteMask.size() == 8) { in LowerVECTOR_SHUFFLE()