• Home
  • Raw
  • Download

Lines Matching refs:Chan

125         for (unsigned Chan = 0; Chan < 4; ++Chan) {  in runOnMachineFunction()  local
128 if (Chan < 2) in runOnMachineFunction()
129 DstReg = MI.getOperand(Chan).getReg(); in runOnMachineFunction()
131 DstReg = Chan == 2 ? AMDGPU::T0_Z : AMDGPU::T0_W; in runOnMachineFunction()
134 DstReg, MI.getOperand(3 + (Chan % 2)).getReg(), PReg); in runOnMachineFunction()
136 if (Chan > 0) { in runOnMachineFunction()
139 if (Chan >= 2) in runOnMachineFunction()
141 if (Chan != 3) in runOnMachineFunction()
154 for (unsigned Chan = 0; Chan < 4; ++Chan) { in runOnMachineFunction() local
157 if (Chan < 2) in runOnMachineFunction()
158 DstReg = Chan == 0 ? AMDGPU::T0_X : AMDGPU::T0_Y; in runOnMachineFunction()
160 DstReg = MI.getOperand(Chan-2).getReg(); in runOnMachineFunction()
163 DstReg, MI.getOperand(3 + (Chan % 2)).getReg(), PReg); in runOnMachineFunction()
165 if (Chan > 0) { in runOnMachineFunction()
168 if (Chan < 2) in runOnMachineFunction()
170 if (Chan != 3) in runOnMachineFunction()
185 for (unsigned Chan = 0; Chan < 4; ++Chan) { in runOnMachineFunction() local
187 TRI.getSubReg(DstReg, TRI.getSubRegFromChannel(Chan)), PReg); in runOnMachineFunction()
188 if (Chan > 0) { in runOnMachineFunction()
191 if (Chan != 3) in runOnMachineFunction()
205 for (unsigned Chan = 0; Chan < 4; ++Chan) { in runOnMachineFunction() local
206 bool Mask = (Chan != TRI.getHWRegChan(DstReg)); in runOnMachineFunction()
208 AMDGPU::R600_TReg32RegClass.getRegister((DstBase * 4) + Chan); in runOnMachineFunction()
210 TII->buildSlotOfVectorInstruction(MBB, &MI, Chan, SubDstReg); in runOnMachineFunction()
211 if (Chan > 0) { in runOnMachineFunction()
217 if (Chan != 3) in runOnMachineFunction()
271 for (unsigned Chan = 0; Chan < 4; Chan++) { in runOnMachineFunction() local
286 unsigned SubRegIndex = TRI.getSubRegFromChannel(Chan); in runOnMachineFunction()
291 unsigned SubRegIndex0 = TRI.getSubRegFromChannel(CubeSrcSwz[Chan]); in runOnMachineFunction()
292 unsigned SubRegIndex1 = TRI.getSubRegFromChannel(CubeSrcSwz[3 - Chan]); in runOnMachineFunction()
301 unsigned SubRegIndex = TRI.getSubRegFromChannel(Chan); in runOnMachineFunction()
306 Mask = (Chan != TRI.getHWRegChan(DstReg)); in runOnMachineFunction()
308 DstReg = AMDGPU::R600_TReg32RegClass.getRegister((DstBase * 4) + Chan); in runOnMachineFunction()
312 NotLast = (Chan != 3 ); in runOnMachineFunction()
330 if (Chan != 0) in runOnMachineFunction()