Lines Matching refs:ProgInfo

318 void AMDGPUAsmPrinter::getSIProgramInfo(SIProgramInfo &ProgInfo,  in getSIProgramInfo()  argument
432 ProgInfo.NumVGPR = MaxVGPR + 1; in getSIProgramInfo()
433 ProgInfo.NumSGPR = MaxSGPR + 1; in getSIProgramInfo()
436 if (ProgInfo.NumSGPR > AMDGPUSubtarget::FIXED_SGPR_COUNT_FOR_INIT_BUG) { in getSIProgramInfo()
441 ProgInfo.NumSGPR = AMDGPUSubtarget::FIXED_SGPR_COUNT_FOR_INIT_BUG; in getSIProgramInfo()
449 ProgInfo.VGPRBlocks = (ProgInfo.NumVGPR - 1) / 4; in getSIProgramInfo()
450 ProgInfo.SGPRBlocks = (ProgInfo.NumSGPR - 1) / 8; in getSIProgramInfo()
453 ProgInfo.FloatMode = getFPMode(MF); in getSIProgramInfo()
456 ProgInfo.IEEEMode = 0; in getSIProgramInfo()
459 ProgInfo.DX10Clamp = 0; in getSIProgramInfo()
462 ProgInfo.ScratchSize = FrameInfo->estimateStackSize(MF); in getSIProgramInfo()
464 ProgInfo.FlatUsed = FlatUsed; in getSIProgramInfo()
465 ProgInfo.VCCUsed = VCCUsed; in getSIProgramInfo()
466 ProgInfo.CodeLen = CodeSize; in getSIProgramInfo()
480 ProgInfo.LDSSize = MFI->LDSSize + LDSSpillSize; in getSIProgramInfo()
481 ProgInfo.LDSBlocks = in getSIProgramInfo()
482 RoundUpToAlignment(ProgInfo.LDSSize, 1 << LDSAlignShift) >> LDSAlignShift; in getSIProgramInfo()
489 ProgInfo.ScratchBlocks = in getSIProgramInfo()
490 RoundUpToAlignment(ProgInfo.ScratchSize * STM.getWavefrontSize(), in getSIProgramInfo()
493 ProgInfo.ComputePGMRSrc1 = in getSIProgramInfo()
494 S_00B848_VGPRS(ProgInfo.VGPRBlocks) | in getSIProgramInfo()
495 S_00B848_SGPRS(ProgInfo.SGPRBlocks) | in getSIProgramInfo()
496 S_00B848_PRIORITY(ProgInfo.Priority) | in getSIProgramInfo()
497 S_00B848_FLOAT_MODE(ProgInfo.FloatMode) | in getSIProgramInfo()
498 S_00B848_PRIV(ProgInfo.Priv) | in getSIProgramInfo()
499 S_00B848_DX10_CLAMP(ProgInfo.DX10Clamp) | in getSIProgramInfo()
500 S_00B848_DEBUG_MODE(ProgInfo.DebugMode) | in getSIProgramInfo()
501 S_00B848_IEEE_MODE(ProgInfo.IEEEMode); in getSIProgramInfo()
510 ProgInfo.ComputePGMRSrc2 = in getSIProgramInfo()
511 S_00B84C_SCRATCH_EN(ProgInfo.ScratchBlocks > 0) | in getSIProgramInfo()
519 S_00B84C_LDS_SIZE(ProgInfo.LDSBlocks) | in getSIProgramInfo()