Home
last modified time | relevance | path

Searched refs:BankID (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUGenRegisterBankInfo.def87 const RegisterBankInfo::ValueMapping *getValueMapping(unsigned BankID,
92 Idx = BankID == AMDGPU::SCCRegBankID ? PM_SGPR1 : PM_VGPR1;
95 Idx = BankID == AMDGPU::SGPRRegBankID ? PM_SGPR96 : PM_VGPR96;
98 Idx = BankID == AMDGPU::VGPRRegBankID ? VGPRStartIdx : SGPRStartIdx;
DAMDGPURegisterBankInfo.cpp335 unsigned BankID = getRegBankID(MI.getOperand(1).getReg(), MRI, *TRI); in getInstrMapping() local
338 OpdsMapping[0] = AMDGPU::getValueMapping(BankID, DstSize); in getInstrMapping()
339 OpdsMapping[1] = AMDGPU::getValueMapping(BankID, SrcSize); in getInstrMapping()
357 unsigned BankID = getRegBankID(MI.getOperand(1).getReg(), MRI, *TRI); in getInstrMapping() local
358 OpdsMapping[0] = OpdsMapping[1] = AMDGPU::getValueMapping(BankID, Size); in getInstrMapping()
467 unsigned BankID = isSALUMapping(MI) && isConstant(MI.getOperand(IdxOp), Imm) ? in getInstrMapping() local
476 OpdsMapping[i] = AMDGPU::getValueMapping(BankID, Size); in getInstrMapping()