Lines Matching refs:Idx
147 for (unsigned Idx = 0; Idx < 4; ++Idx) in tryToreplicateChunks() local
148 ++Counts[getChunk(UImm, Idx)]; in tryToreplicateChunks()
246 static uint64_t updateImm(uint64_t Imm, unsigned Idx, bool Clear) { in updateImm() argument
251 Imm &= ~(Mask << (Idx * 16)); in updateImm()
254 Imm |= Mask << (Idx * 16); in updateImm()
283 for (int Idx = 0; Idx < 4; ++Idx) { in trySequenceOfOnes() local
284 int64_t Chunk = getChunk(UImm, Idx); in trySequenceOfOnes()
289 StartIdx = Idx; in trySequenceOfOnes()
291 EndIdx = Idx; in trySequenceOfOnes()
317 for (int Idx = 0; Idx < 4; ++Idx) { in trySequenceOfOnes() local
318 const uint64_t Chunk = getChunk(UImm, Idx); in trySequenceOfOnes()
322 if ((Idx < StartIdx || EndIdx < Idx) && Chunk != Outside) { in trySequenceOfOnes()
323 OrrImm = updateImm(OrrImm, Idx, Outside == 0); in trySequenceOfOnes()
327 FirstMovkIdx = Idx; in trySequenceOfOnes()
329 SecondMovkIdx = Idx; in trySequenceOfOnes()
333 } else if (Idx > StartIdx && Idx < EndIdx && Chunk != Inside) { in trySequenceOfOnes()
334 OrrImm = updateImm(OrrImm, Idx, Inside != Mask); in trySequenceOfOnes()
338 FirstMovkIdx = Idx; in trySequenceOfOnes()
340 SecondMovkIdx = Idx; in trySequenceOfOnes()