Lines Matching full:units
94 unsigned Units = getUnits(); in setWeight() local
95 unsigned Key = ((1u << s) & Units) != 0; in setWeight()
100 if (Key == 0 || Units == 0 || (SlotWeight * s >= 32)) in setWeight()
103 unsigned Ctpop = llvm::popcount(Units); in setWeight()
104 unsigned Cttz = llvm::countr_zero(Units); in setWeight()
117 const unsigned Units = HexagonConvertUnits(ItinUnits, &Lanes); in HexagonCVIResource() local
119 if (Units == 0 && Lanes == 0) { in HexagonCVIResource()
129 setUnits(Units); in HexagonCVIResource()
137 unsigned Units; member
152 if (!hvxInsts[startIdx].Units) in checkHVXPipes()
155 if ((hvxInsts[startIdx].Units & b) == 0) in checkHVXPipes()
204 const unsigned Units = ISJ.Core.getUnits(); in restrictSlot1AOK() local
206 if (Units & Slot1Mask) { in restrictSlot1AOK()
213 ISJ.Core.setUnits(Units & ~Slot1Mask); in restrictSlot1AOK()
233 unsigned Units = ISJ.Core.getUnits(); in restrictNoSlot1Store() local
234 if (Units & Slot1Mask) { in restrictNoSlot1Store()
238 ISJ.Core.setUnits(Units & ~Slot1Mask); in restrictNoSlot1Store()
334 inst.Units = I.CVI.getUnits(); in ValidResourceUsage()
336 if (inst.Units == 0) in ValidResourceUsage()
717 const unsigned Units = I.Core.getUnits(); in reportResourceUsage() local
720 const std::string UnitsText = Units ? SlotMaskToText(Units) : "<None>"; in reportResourceUsage()