Home
last modified time | relevance | path

Searched refs:getSubRegFromChannel (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/lib/Target/AMDGPU/
DR600ExpandSpecialInstrs.cpp187 TRI.getSubReg(DstReg, TRI.getSubRegFromChannel(Chan)), PReg); in runOnMachineFunction()
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()
DAMDGPURegisterInfo.h35 unsigned getSubRegFromChannel(unsigned Channel) const;
DAMDGPURegisterInfo.cpp39 unsigned AMDGPURegisterInfo::getSubRegFromChannel(unsigned Channel) const { in getSubRegFromChannel() function in AMDGPURegisterInfo
DR600ControlFlowFinalizer.cpp296 TRI->getSubRegFromChannel(TRI->getHWRegChan(Reg)), in isCompatibleWithClause()
305 TRI->getSubRegFromChannel(TRI->getHWRegChan(Reg)), in isCompatibleWithClause()
DAMDGPUISelDAGToDAG.cpp341 CurDAG->getTargetConstant(TRI->getSubRegFromChannel(i), DL, in Select()
354 CurDAG->getTargetConstant(TRI->getSubRegFromChannel(i), DL, MVT::i32); in Select()
DSIInstrInfo.cpp2178 .addReg(SrcReg, 0, RI.getSubRegFromChannel(i)); in readlaneVGPRToSGPR()
2187 MIB.addImm(RI.getSubRegFromChannel(i)); in readlaneVGPRToSGPR()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600ExpandSpecialInstrs.cpp222 unsigned SubRegIndex = AMDGPURegisterInfo::getSubRegFromChannel(Chan); in runOnMachineFunction()
227 unsigned SubRegIndex0 = AMDGPURegisterInfo::getSubRegFromChannel(CubeSrcSwz[Chan]); in runOnMachineFunction()
228 unsigned SubRegIndex1 = AMDGPURegisterInfo::getSubRegFromChannel(CubeSrcSwz[3 - Chan]); in runOnMachineFunction()
237 unsigned SubRegIndex = AMDGPURegisterInfo::getSubRegFromChannel(Chan); in runOnMachineFunction()
DAMDGPURegisterInfo.h31 static unsigned getSubRegFromChannel(unsigned Channel, unsigned NumRegs = 1);
DAMDGPURegisterInfo.cpp75 unsigned AMDGPURegisterInfo::getSubRegFromChannel(unsigned Channel, unsigned NumRegs) { in getSubRegFromChannel() function in AMDGPURegisterInfo
DSIShrinkInstructions.cpp427 Reg = TRI.getSubReg(Reg, TRI.getSubRegFromChannel(I)); in getSubRegForIndex()
430 Sub = TRI.getSubRegFromChannel(I + countTrailingZeros(LM.getAsInteger())); in getSubRegForIndex()
DR600ControlFlowFinalizer.cpp311 AMDGPURegisterInfo::getSubRegFromChannel(TRI->getHWRegChan(Reg)), in isCompatibleWithClause()
320 AMDGPURegisterInfo::getSubRegFromChannel(TRI->getHWRegChan(Reg)), in isCompatibleWithClause()
DR600InstrInfo.cpp80 unsigned SubRegIndex = AMDGPURegisterInfo::getSubRegFromChannel(I); in copyPhysReg()
DAMDGPUISelDAGToDAG.cpp710 unsigned Sub = AMDGPURegisterInfo::getSubRegFromChannel(i); in SelectBuildVector()
720 unsigned Sub = AMDGPURegisterInfo::getSubRegFromChannel(i); in SelectBuildVector()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DR600ExpandSpecialInstrs.cpp222 unsigned SubRegIndex = R600RegisterInfo::getSubRegFromChannel(Chan); in runOnMachineFunction()
227 unsigned SubRegIndex0 = R600RegisterInfo::getSubRegFromChannel(CubeSrcSwz[Chan]); in runOnMachineFunction()
228 unsigned SubRegIndex1 = R600RegisterInfo::getSubRegFromChannel(CubeSrcSwz[3 - Chan]); in runOnMachineFunction()
237 unsigned SubRegIndex = R600RegisterInfo::getSubRegFromChannel(Chan); in runOnMachineFunction()
DR600RegisterInfo.h27 static unsigned getSubRegFromChannel(unsigned Channel);
DR600RegisterInfo.cpp26 unsigned R600RegisterInfo::getSubRegFromChannel(unsigned Channel) { in getSubRegFromChannel() function in R600RegisterInfo
DSIAddIMGInit.cpp156 .addImm(SIRegisterInfo::getSubRegFromChannel(CurrIdx)); in runOnMachineFunction()
DSIRegisterInfo.h55 static unsigned getSubRegFromChannel(unsigned Channel, unsigned NumRegs = 1);
DR600ControlFlowFinalizer.cpp310 R600RegisterInfo::getSubRegFromChannel(TRI->getHWRegChan(Reg)), in isCompatibleWithClause()
319 R600RegisterInfo::getSubRegFromChannel(TRI->getHWRegChan(Reg)), in isCompatibleWithClause()
DSIShrinkInstructions.cpp432 Reg = TRI.getSubReg(Reg, TRI.getSubRegFromChannel(I)); in getSubRegForIndex()
434 Sub = TRI.getSubRegFromChannel(I + TRI.getChannelFromSubReg(Sub)); in getSubRegForIndex()
DAMDGPUISelDAGToDAG.cpp694 unsigned Sub = IsGCN ? SIRegisterInfo::getSubRegFromChannel(i) in SelectBuildVector()
695 : R600RegisterInfo::getSubRegFromChannel(i); in SelectBuildVector()
705 unsigned Sub = IsGCN ? SIRegisterInfo::getSubRegFromChannel(i) in SelectBuildVector()
706 : R600RegisterInfo::getSubRegFromChannel(i); in SelectBuildVector()
DSIRegisterInfo.cpp194 unsigned SIRegisterInfo::getSubRegFromChannel(unsigned Channel, in getSubRegFromChannel() function in SIRegisterInfo
848 : Register(getSubReg(ValueReg, getSubRegFromChannel(i))); in buildSpillLoadStore()
DSIInstrInfo.cpp661 SubIdx = RI.getSubRegFromChannel(Channel, 2); in expandSGPRCopy()
4737 .addReg(SrcReg, 0, RI.getSubRegFromChannel(i)); in readlaneVGPRToSGPR()
4746 MIB.addImm(RI.getSubRegFromChannel(i)); in readlaneVGPRToSGPR()
4867 .addReg(VRsrc, VRsrcUndef, TRI->getSubRegFromChannel(Idx)); in emitLoadSRsrcFromVGPRLoop()
4871 .addReg(VRsrc, VRsrcUndef, TRI->getSubRegFromChannel(Idx + 1)); in emitLoadSRsrcFromVGPRLoop()
4891 Cmp.addReg(VRsrc, VRsrcUndef, TRI->getSubRegFromChannel(Idx, 2)); in emitLoadSRsrcFromVGPRLoop()
4913 .addImm(TRI->getSubRegFromChannel(Channel++)); in emitLoadSRsrcFromVGPRLoop()
DR600InstrInfo.cpp80 unsigned SubRegIndex = R600RegisterInfo::getSubRegFromChannel(I); in copyPhysReg()
/external/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/
Dinst-select-insert.xfail.mir25 # getSubRegFromChannel current does not handle cases > 128-bits

12