Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp909 unsigned BegIdx = Mask.front(); in isShuffleExtractingFromLHS() local
911 if (BegIdx > EndIdx || EndIdx >= LHSElems || EndIdx - BegIdx != MaskElems - 1) in isShuffleExtractingFromLHS()
914 if (static_cast<unsigned>(Mask[I]) != BegIdx + I) in isShuffleExtractingFromLHS()
1027 unsigned BegIdx = Mask.front(); in visitShuffleVectorInst() local
1047 bool BegIsAligned = 0 == ((SrcElemBitWidth * BegIdx) % TgtElemBitWidth); in visitShuffleVectorInst()
1058 for (unsigned I = 0, E = MaskElems, Idx = BegIdx; I != E; ++Idx, ++I) in visitShuffleVectorInst()
1063 BegIdx = 0; in visitShuffleVectorInst()
1067 BegIdx /= SrcElemsPerTgtElem; in visitShuffleVectorInst()
1076 NewBC, ConstantInt::get(Int32Ty, BegIdx), SVI.getName() + ".extract"); in visitShuffleVectorInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp1133 unsigned BegIdx = Mask.front(); in isShuffleExtractingFromLHS() local
1135 if (BegIdx > EndIdx || EndIdx >= LHSElems || EndIdx - BegIdx != MaskElems - 1) in isShuffleExtractingFromLHS()
1138 if (static_cast<unsigned>(Mask[I]) != BegIdx + I) in isShuffleExtractingFromLHS()
1474 unsigned BegIdx = Mask.front(); in visitShuffleVectorInst() local
1481 bool BegIsAligned = 0 == ((SrcElemBitWidth * BegIdx) % TgtElemBitWidth); in visitShuffleVectorInst()
1492 for (unsigned I = 0, E = MaskElems, Idx = BegIdx; I != E; ++Idx, ++I) in visitShuffleVectorInst()
1497 BegIdx = 0; in visitShuffleVectorInst()
1501 BegIdx /= SrcElemsPerTgtElem; in visitShuffleVectorInst()
1510 NewBC, ConstantInt::get(Int32Ty, BegIdx), SVI.getName() + ".extract"); in visitShuffleVectorInst()