Lines Matching refs:Units
93 unsigned Units = getUnits(); in setWeight() local
94 unsigned Key = ((1u << s) & Units) != 0; in setWeight()
99 if (Key == 0 || Units == 0 || (SlotWeight * s >= 32)) in setWeight()
102 unsigned Ctpop = countPopulation(Units); in setWeight()
103 unsigned Cttz = countTrailingZeros(Units); in setWeight()
116 const unsigned Units = HexagonConvertUnits(ItinUnits, &Lanes); in HexagonCVIResource() local
118 if (Units == 0 && Lanes == 0) { in HexagonCVIResource()
128 setUnits(Units); in HexagonCVIResource()
136 unsigned Units; member
151 if (!hvxInsts[startIdx].Units) in checkHVXPipes()
154 if ((hvxInsts[startIdx].Units & b) == 0) in checkHVXPipes()
202 const unsigned Units = ISJ.Core.getUnits(); in restrictSlot1AOK() local
204 if (Units & Slot1Mask) { in restrictSlot1AOK()
211 ISJ.Core.setUnits(Units & ~Slot1Mask); in restrictSlot1AOK()
231 unsigned Units = ISJ.Core.getUnits(); in restrictNoSlot1Store() local
232 if (Units & Slot1Mask) { in restrictNoSlot1Store()
236 ISJ.Core.setUnits(Units & ~Slot1Mask); in restrictNoSlot1Store()
335 inst.Units = I->CVI.getUnits(); in ValidResourceUsage()
337 if (inst.Units == 0) in ValidResourceUsage()