Lines Matching refs:univ
89 void RRegUniverse__init ( /*OUT*/RRegUniverse* univ ) in RRegUniverse__init() argument
91 *univ = (RRegUniverse){}; in RRegUniverse__init()
92 univ->size = 0; in RRegUniverse__init()
93 univ->allocable = 0; in RRegUniverse__init()
95 univ->regs[i] = INVALID_HREG; in RRegUniverse__init()
99 void RRegUniverse__check_is_sane ( const RRegUniverse* univ ) in RRegUniverse__check_is_sane() argument
103 vassert(univ->size > 0); in RRegUniverse__check_is_sane()
104 vassert(univ->size <= N_RREGUNIVERSE_REGS); in RRegUniverse__check_is_sane()
105 vassert(univ->allocable <= univ->size); in RRegUniverse__check_is_sane()
106 for (UInt i = 0; i < univ->size; i++) { in RRegUniverse__check_is_sane()
107 HReg reg = univ->regs[i]; in RRegUniverse__check_is_sane()
112 for (UInt i = univ->size; i < N_RREGUNIVERSE_REGS; i++) { in RRegUniverse__check_is_sane()
113 HReg reg = univ->regs[i]; in RRegUniverse__check_is_sane()
123 void ppHRegUsage ( const RRegUniverse* univ, HRegUsage* tab ) in ppHRegUsage() argument
140 ppHReg(univ->regs[i]); in ppHRegUsage()