Lines Matching refs:OutStreamer
107 static_cast<AMDGPUTargetStreamer *>(OutStreamer->getTargetStreamer()); in EmitStartOfAsmFile()
130 static_cast<AMDGPUTargetStreamer *>(OutStreamer->getTargetStreamer()); in EmitFunctionEntryLabel()
157 OutStreamer->SwitchSection(ConfigSection); in runOnMachineFunction()
179 OutStreamer->SwitchSection(CommentSection); in runOnMachineFunction()
182 OutStreamer->emitRawComment(" Kernel info:", false); in runOnMachineFunction()
183 OutStreamer->emitRawComment(" codeLenInByte = " + Twine(KernelInfo.CodeLen), in runOnMachineFunction()
185 OutStreamer->emitRawComment(" NumSgprs: " + Twine(KernelInfo.NumSGPR), in runOnMachineFunction()
187 OutStreamer->emitRawComment(" NumVgprs: " + Twine(KernelInfo.NumVGPR), in runOnMachineFunction()
189 OutStreamer->emitRawComment(" FloatMode: " + Twine(KernelInfo.FloatMode), in runOnMachineFunction()
191 OutStreamer->emitRawComment(" IeeeMode: " + Twine(KernelInfo.IEEEMode), in runOnMachineFunction()
193 OutStreamer->emitRawComment(" ScratchSize: " + Twine(KernelInfo.ScratchSize), in runOnMachineFunction()
195 OutStreamer->emitRawComment(" LDSByteSize: " + Twine(KernelInfo.LDSSize) + in runOnMachineFunction()
198 OutStreamer->emitRawComment(" ReservedVGPRFirst: " + Twine(KernelInfo.ReservedVGPRFirst), in runOnMachineFunction()
200 OutStreamer->emitRawComment(" ReservedVGPRCount: " + Twine(KernelInfo.ReservedVGPRCount), in runOnMachineFunction()
204 OutStreamer->emitRawComment(" DebuggerWavefrontPrivateSegmentOffsetSGPR: s" + in runOnMachineFunction()
206 OutStreamer->emitRawComment(" DebuggerPrivateSegmentBufferSGPR: s" + in runOnMachineFunction()
210 OutStreamer->emitRawComment(" COMPUTE_PGM_RSRC2:USER_SGPR: " + in runOnMachineFunction()
213 OutStreamer->emitRawComment(" COMPUTE_PGM_RSRC2:TGID_X_EN: " + in runOnMachineFunction()
216 OutStreamer->emitRawComment(" COMPUTE_PGM_RSRC2:TGID_Y_EN: " + in runOnMachineFunction()
219 OutStreamer->emitRawComment(" COMPUTE_PGM_RSRC2:TGID_Z_EN: " + in runOnMachineFunction()
222 OutStreamer->emitRawComment(" COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: " + in runOnMachineFunction()
228 OutStreamer->emitRawComment( in runOnMachineFunction()
235 OutStreamer->SwitchSection( in runOnMachineFunction()
242 OutStreamer->EmitBytes(StringRef(DisasmLines[i])); in runOnMachineFunction()
243 OutStreamer->EmitBytes(StringRef(Comment)); in runOnMachineFunction()
297 OutStreamer->EmitIntValue(RsrcReg, 4); in EmitProgramInfoR600()
298 OutStreamer->EmitIntValue(S_NUM_GPRS(MaxGPR + 1) | in EmitProgramInfoR600()
300 OutStreamer->EmitIntValue(R_02880C_DB_SHADER_CONTROL, 4); in EmitProgramInfoR600()
301 OutStreamer->EmitIntValue(S_02880C_KILL_ENABLE(killPixel), 4); in EmitProgramInfoR600()
304 OutStreamer->EmitIntValue(R_0288E8_SQ_LDS_ALLOC, 4); in EmitProgramInfoR600()
305 OutStreamer->EmitIntValue(alignTo(MFI->LDSSize, 4) >> 2, 4); in EmitProgramInfoR600()
586 OutStreamer->EmitIntValue(R_00B848_COMPUTE_PGM_RSRC1, 4); in EmitProgramInfoSI()
588 OutStreamer->EmitIntValue(KernelInfo.ComputePGMRSrc1, 4); in EmitProgramInfoSI()
590 OutStreamer->EmitIntValue(R_00B84C_COMPUTE_PGM_RSRC2, 4); in EmitProgramInfoSI()
591 OutStreamer->EmitIntValue(KernelInfo.ComputePGMRSrc2, 4); in EmitProgramInfoSI()
593 OutStreamer->EmitIntValue(R_00B860_COMPUTE_TMPRING_SIZE, 4); in EmitProgramInfoSI()
594 OutStreamer->EmitIntValue(S_00B860_WAVESIZE(KernelInfo.ScratchBlocks), 4); in EmitProgramInfoSI()
599 OutStreamer->EmitIntValue(RsrcReg, 4); in EmitProgramInfoSI()
600 OutStreamer->EmitIntValue(S_00B028_VGPRS(KernelInfo.VGPRBlocks) | in EmitProgramInfoSI()
603 OutStreamer->EmitIntValue(R_0286E8_SPI_TMPRING_SIZE, 4); in EmitProgramInfoSI()
604 OutStreamer->EmitIntValue(S_0286E8_WAVESIZE(KernelInfo.ScratchBlocks), 4); in EmitProgramInfoSI()
609 OutStreamer->EmitIntValue(R_00B02C_SPI_SHADER_PGM_RSRC2_PS, 4); in EmitProgramInfoSI()
610 OutStreamer->EmitIntValue(S_00B02C_EXTRA_LDS_SIZE(KernelInfo.LDSBlocks), 4); in EmitProgramInfoSI()
611 OutStreamer->EmitIntValue(R_0286CC_SPI_PS_INPUT_ENA, 4); in EmitProgramInfoSI()
612 OutStreamer->EmitIntValue(MFI->PSInputEna, 4); in EmitProgramInfoSI()
613 OutStreamer->EmitIntValue(R_0286D0_SPI_PS_INPUT_ADDR, 4); in EmitProgramInfoSI()
614 OutStreamer->EmitIntValue(MFI->getPSInputAddr(), 4); in EmitProgramInfoSI()
617 OutStreamer->EmitIntValue(R_SPILLED_SGPRS, 4); in EmitProgramInfoSI()
618 OutStreamer->EmitIntValue(MFI->getNumSpilledSGPRs(), 4); in EmitProgramInfoSI()
619 OutStreamer->EmitIntValue(R_SPILLED_VGPRS, 4); in EmitProgramInfoSI()
620 OutStreamer->EmitIntValue(MFI->getNumSpilledVGPRs(), 4); in EmitProgramInfoSI()
717 static_cast<AMDGPUTargetStreamer *>(OutStreamer->getTargetStreamer()); in EmitAmdKernelCodeT()
719 OutStreamer->SwitchSection(getObjFileLowering().getTextSection()); in EmitAmdKernelCodeT()