Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:hint

99   // Find the best physreg hist and the best virtreg hint.
103 // Don't recompute a target specific hint.
141 unsigned hint = copyHint(mi, li.reg, tri, mri);
142 if (!hint)
144 float hweight = Hint[hint] += weight;
145 if (TargetRegisterInfo::isPhysicalRegister(hint)) {
146 if (hweight > bestPhys && LIS.isAllocatable(hint))
147 bestPhys = hweight, hintPhys = hint;
150 bestVirt = hweight, hintVirt = hint;
154 Hint.clear();
156 // Always prefer the physreg hint.
157 if (unsigned hint = hintPhys ? hintPhys : hintVirt) {
158 mri.setRegAllocationHint(li.reg, 0, hint);