reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/AMDGPU/GCNRegBankReassign.cpp
  296   if (Register::isVirtualRegister(Reg)) {
  297     if (!VRM->isAssignedReg(Reg))
  300     Reg = VRM->getPhys(Reg);
  300     Reg = VRM->getPhys(Reg);
  301     if (!Reg)
  304       Reg = TRI->getSubReg(Reg, SubReg);
  304       Reg = TRI->getSubReg(Reg, SubReg);
  307   const TargetRegisterClass *RC = TRI->getMinimalPhysRegClass(Reg);
  310     Reg = TRI->getSubReg(Reg, AMDGPU::sub0);
  310     Reg = TRI->getSubReg(Reg, AMDGPU::sub0);
  314     Reg -= AMDGPU::VGPR0;
  319       if (RegsUsed.test(Reg + I))
  321     RegsUsed.set(Reg, Reg + Size);
  321     RegsUsed.set(Reg, Reg + Size);
  323     Mask <<= (Bank == -1) ? Reg % NUM_VGPR_BANKS : unsigned(Bank);
  328   Reg = TRI->getEncodingValue(Reg) / 2;
  328   Reg = TRI->getEncodingValue(Reg) / 2;
  330   if (Reg + StartBit >= RegsUsed.size())
  338     if (RegsUsed.test(StartBit + Reg + I))
  340   RegsUsed.set(StartBit + Reg, StartBit + Reg + Size);
  340   RegsUsed.set(StartBit + Reg, StartBit + Reg + Size);
  342   Mask <<= (Bank == -1) ? Reg % NUM_SGPR_BANKS