Lines Matching refs:ProgInfo
78 static uint64_t getComputePGMRSrc1Reg(const SIProgramInfo &ProgInfo, in getComputePGMRSrc1Reg() argument
80 uint64_t Reg = S_00B848_PRIORITY(ProgInfo.Priority) | in getComputePGMRSrc1Reg()
81 S_00B848_FLOAT_MODE(ProgInfo.FloatMode) | in getComputePGMRSrc1Reg()
82 S_00B848_PRIV(ProgInfo.Priv) | in getComputePGMRSrc1Reg()
83 S_00B848_DEBUG_MODE(ProgInfo.DebugMode) | in getComputePGMRSrc1Reg()
84 S_00B848_WGP_MODE(ProgInfo.WgpMode) | in getComputePGMRSrc1Reg()
85 S_00B848_MEM_ORDERED(ProgInfo.MemOrdered); in getComputePGMRSrc1Reg()
88 Reg |= S_00B848_DX10_CLAMP(ProgInfo.DX10Clamp); in getComputePGMRSrc1Reg()
91 Reg |= S_00B848_IEEE_MODE(ProgInfo.IEEEMode); in getComputePGMRSrc1Reg()
94 Reg |= S_00B848_RR_WG_MODE(ProgInfo.RrWgMode); in getComputePGMRSrc1Reg()
99 static uint64_t getPGMRSrc1Reg(const SIProgramInfo &ProgInfo, in getPGMRSrc1Reg() argument
101 uint64_t Reg = S_00B848_PRIORITY(ProgInfo.Priority) | in getPGMRSrc1Reg()
102 S_00B848_FLOAT_MODE(ProgInfo.FloatMode) | in getPGMRSrc1Reg()
103 S_00B848_PRIV(ProgInfo.Priv) | in getPGMRSrc1Reg()
104 S_00B848_DEBUG_MODE(ProgInfo.DebugMode); in getPGMRSrc1Reg()
107 Reg |= S_00B848_DX10_CLAMP(ProgInfo.DX10Clamp); in getPGMRSrc1Reg()
110 Reg |= S_00B848_IEEE_MODE(ProgInfo.IEEEMode); in getPGMRSrc1Reg()
113 Reg |= S_00B848_RR_WG_MODE(ProgInfo.RrWgMode); in getPGMRSrc1Reg()
117 Reg |= S_00B028_MEM_ORDERED(ProgInfo.MemOrdered); in getPGMRSrc1Reg()
120 Reg |= S_00B128_MEM_ORDERED(ProgInfo.MemOrdered); in getPGMRSrc1Reg()
123 Reg |= S_00B228_WGP_MODE(ProgInfo.WgpMode) | in getPGMRSrc1Reg()
124 S_00B228_MEM_ORDERED(ProgInfo.MemOrdered); in getPGMRSrc1Reg()
127 Reg |= S_00B428_WGP_MODE(ProgInfo.WgpMode) | in getPGMRSrc1Reg()
128 S_00B428_MEM_ORDERED(ProgInfo.MemOrdered); in getPGMRSrc1Reg()
136 static uint64_t getComputePGMRSrc2Reg(const SIProgramInfo &ProgInfo) { in getComputePGMRSrc2Reg() argument
137 uint64_t Reg = S_00B84C_USER_SGPR(ProgInfo.UserSGPR) | in getComputePGMRSrc2Reg()
138 S_00B84C_TRAP_HANDLER(ProgInfo.TrapHandlerEnable) | in getComputePGMRSrc2Reg()
139 S_00B84C_TGID_X_EN(ProgInfo.TGIdXEnable) | in getComputePGMRSrc2Reg()
140 S_00B84C_TGID_Y_EN(ProgInfo.TGIdYEnable) | in getComputePGMRSrc2Reg()
141 S_00B84C_TGID_Z_EN(ProgInfo.TGIdZEnable) | in getComputePGMRSrc2Reg()
142 S_00B84C_TG_SIZE_EN(ProgInfo.TGSizeEnable) | in getComputePGMRSrc2Reg()
143 S_00B84C_TIDIG_COMP_CNT(ProgInfo.TIdIGCompCount) | in getComputePGMRSrc2Reg()
144 S_00B84C_EXCP_EN_MSB(ProgInfo.EXCPEnMSB) | in getComputePGMRSrc2Reg()
145 S_00B84C_LDS_SIZE(ProgInfo.LdsSize) | in getComputePGMRSrc2Reg()
146 S_00B84C_EXCP_EN(ProgInfo.EXCPEnable); in getComputePGMRSrc2Reg()