Lines Matching refs:RemapChan
96 std::vector<std::pair<unsigned, unsigned> > &RemapChan);
98 std::vector<std::pair<unsigned, unsigned> > &RemapChan);
101 const std::vector<std::pair<unsigned, unsigned> > &RemapChan) const;
169 const std::vector<std::pair<unsigned, unsigned> > &RemapChan, in getReassignedChan()
171 for (unsigned j = 0, je = RemapChan.size(); j < je; j++) { in getReassignedChan()
172 if (RemapChan[j].first == Chan) in getReassignedChan()
173 return RemapChan[j].second; in getReassignedChan()
180 const std::vector<std::pair<unsigned, unsigned> > &RemapChan) const { in RebuildVector()
194 unsigned Chan = getReassignedChan(RemapChan, Swizzle); in RebuildVector()
221 SwizzleInput(*It, RemapChan); in RebuildVector()
248 const std::vector<std::pair<unsigned, unsigned> > &RemapChan) const { in SwizzleInput()
256 for (unsigned j = 0, e = RemapChan.size(); j < e; j++) { in SwizzleInput()
257 if (RemapChan[j].first == Swizzle) { in SwizzleInput()
258 MI.getOperand(i + Offset).setImm(RemapChan[j].second - 1); in SwizzleInput()
276 std::vector<std::pair<unsigned, unsigned> > &RemapChan) { in tryMergeUsingCommonSlot()
287 if (tryMergeVector(&CompatibleRSI, &RSI, RemapChan)) in tryMergeUsingCommonSlot()
296 std::vector<std::pair<unsigned, unsigned> > &RemapChan) { in tryMergeUsingFreeSlot()
303 tryMergeVector(&CompatibleRSI, &RSI, RemapChan); in tryMergeUsingFreeSlot()
354 std::vector<std::pair<unsigned, unsigned> > RemapChan; in runOnMachineFunction() local
356 if (tryMergeUsingCommonSlot(RSI, CandidateRSI, RemapChan)) { in runOnMachineFunction()
359 MII = RebuildVector(&RSI, &CandidateRSI, RemapChan); in runOnMachineFunction()
364 RemapChan.clear(); in runOnMachineFunction()
365 if (tryMergeUsingFreeSlot(RSI, CandidateRSI, RemapChan)) { in runOnMachineFunction()
367 MII = RebuildVector(&RSI, &CandidateRSI, RemapChan); in runOnMachineFunction()