Lines Matching refs:RegWidth

586 …bool AddNextRegisterToList(unsigned& Reg, unsigned& RegWidth, RegisterKind RegKind, unsigned Reg1,…
587 …ol ParseAMDGPURegister(RegisterKind& RegKind, unsigned& Reg, unsigned& RegNum, unsigned& RegWidth);
741 static int getRegClass(RegisterKind Is, unsigned RegWidth) { in getRegClass() argument
743 switch (RegWidth) { in getRegClass()
753 switch (RegWidth) { in getRegClass()
760 switch (RegWidth) { in getRegClass()
804 bool AMDGPUAsmParser::AddNextRegisterToList(unsigned& Reg, unsigned& RegWidth, RegisterKind RegKind… in AddNextRegisterToList() argument
808 …if (Reg == AMDGPU::EXEC_LO && Reg1 == AMDGPU::EXEC_HI) { Reg = AMDGPU::EXEC; RegWidth = 2; return … in AddNextRegisterToList()
809 …::FLAT_SCR_LO && Reg1 == AMDGPU::FLAT_SCR_HI) { Reg = AMDGPU::FLAT_SCR; RegWidth = 2; return true;… in AddNextRegisterToList()
810 …if (Reg == AMDGPU::VCC_LO && Reg1 == AMDGPU::VCC_HI) { Reg = AMDGPU::VCC; RegWidth = 2; return tru… in AddNextRegisterToList()
811 …if (Reg == AMDGPU::TBA_LO && Reg1 == AMDGPU::TBA_HI) { Reg = AMDGPU::TBA; RegWidth = 2; return tru… in AddNextRegisterToList()
812 …if (Reg == AMDGPU::TMA_LO && Reg1 == AMDGPU::TMA_HI) { Reg = AMDGPU::TMA; RegWidth = 2; return tru… in AddNextRegisterToList()
817 if (Reg1 != Reg + RegWidth) { return false; } in AddNextRegisterToList()
818 RegWidth++; in AddNextRegisterToList()
825 …er::ParseAMDGPURegister(RegisterKind& RegKind, unsigned& Reg, unsigned& RegNum, unsigned& RegWidth) in ParseAMDGPURegister() argument
852 RegWidth = 1; in ParseAMDGPURegister()
880 RegWidth = (RegHi - RegLo) + 1; in ParseAMDGPURegister()
886 if (!ParseAMDGPURegister(RegKind, Reg, RegNum, RegWidth)) in ParseAMDGPURegister()
888 if (RegWidth != 1) in ParseAMDGPURegister()
905 if (!AddNextRegisterToList(Reg, RegWidth, RegKind1, Reg1, RegNum1)) { in ParseAMDGPURegister()
918 RegWidth = 1; in ParseAMDGPURegister()
927 Size = std::min(RegWidth, 4u); in ParseAMDGPURegister()
932 int RCID = getRegClass(RegKind, RegWidth); in ParseAMDGPURegister()
958 unsigned Reg, RegNum, RegWidth; in parseRegister() local
960 if (!ParseAMDGPURegister(RegKind, Reg, RegNum, RegWidth)) { in parseRegister()