Searched refs:ProgInfo (Results 1 – 2 of 2) sorted by relevance
81 static uint64_t getComputePGMRSrc1Reg(const SIProgramInfo &ProgInfo, in getComputePGMRSrc1Reg() argument83 uint64_t Reg = S_00B848_PRIORITY(ProgInfo.Priority) | in getComputePGMRSrc1Reg()84 S_00B848_FLOAT_MODE(ProgInfo.FloatMode) | in getComputePGMRSrc1Reg()85 S_00B848_PRIV(ProgInfo.Priv) | in getComputePGMRSrc1Reg()86 S_00B848_DEBUG_MODE(ProgInfo.DebugMode) | in getComputePGMRSrc1Reg()87 S_00B848_WGP_MODE(ProgInfo.WgpMode) | in getComputePGMRSrc1Reg()88 S_00B848_MEM_ORDERED(ProgInfo.MemOrdered); in getComputePGMRSrc1Reg()91 Reg |= S_00B848_DX10_CLAMP(ProgInfo.DX10Clamp); in getComputePGMRSrc1Reg()94 Reg |= S_00B848_IEEE_MODE(ProgInfo.IEEEMode); in getComputePGMRSrc1Reg()98 Reg |= S_00B848_FWD_PROGRESS(ProgInfo.FwdProgress); in getComputePGMRSrc1Reg()[all …]
918 void AMDGPUAsmPrinter::getSIProgramInfo(SIProgramInfo &ProgInfo, in getSIProgramInfo() argument945 ProgInfo.NumArchVGPR = GetSymRefExpr(RIK::RIK_NumVGPR); in getSIProgramInfo()946 ProgInfo.NumAccVGPR = GetSymRefExpr(RIK::RIK_NumAGPR); in getSIProgramInfo()947 ProgInfo.NumVGPR = AMDGPUMCExpr::createTotalNumVGPR( in getSIProgramInfo()948 ProgInfo.NumAccVGPR, ProgInfo.NumArchVGPR, Ctx); in getSIProgramInfo()950 ProgInfo.AccumOffset = computeAccumOffset(ProgInfo.NumArchVGPR, Ctx); in getSIProgramInfo()951 ProgInfo.TgSplit = STM.isTgSplitEnabled(); in getSIProgramInfo()952 ProgInfo.NumSGPR = GetSymRefExpr(RIK::RIK_NumSGPR); in getSIProgramInfo()953 ProgInfo.ScratchSize = GetSymRefExpr(RIK::RIK_PrivateSegSize); in getSIProgramInfo()954 ProgInfo.VCCUsed = GetSymRefExpr(RIK::RIK_UsesVCC); in getSIProgramInfo()[all …]