Lines Matching refs:PreloadedScratchRsrcReg
452 Register PreloadedScratchRsrcReg; in emitEntryFunctionPrologue() local
454 PreloadedScratchRsrcReg = in emitEntryFunctionPrologue()
456 if (ScratchRsrcReg && PreloadedScratchRsrcReg) { in emitEntryFunctionPrologue()
459 MRI.addLiveIn(PreloadedScratchRsrcReg); in emitEntryFunctionPrologue()
460 MBB.addLiveIn(PreloadedScratchRsrcReg); in emitEntryFunctionPrologue()
526 PreloadedScratchRsrcReg, in emitEntryFunctionPrologue()
534 const DebugLoc &DL, Register PreloadedScratchRsrcReg, in emitEntryFunctionScratchRsrcRegSetup() argument
583 } else if (ST.isMesaGfxShader(Fn) || !PreloadedScratchRsrcReg) { in emitEntryFunctionScratchRsrcRegSetup()
643 assert(PreloadedScratchRsrcReg); in emitEntryFunctionScratchRsrcRegSetup()
645 if (ScratchRsrcReg != PreloadedScratchRsrcReg) { in emitEntryFunctionScratchRsrcRegSetup()
647 .addReg(PreloadedScratchRsrcReg, RegState::Kill); in emitEntryFunctionScratchRsrcRegSetup()