Searched refs:HexagonResource (Results 1 – 2 of 2) sorted by relevance
28 class HexagonResource {34 HexagonResource(unsigned s) { setUnits(s); }; in HexagonResource() function45 static bool lessUnits(const HexagonResource &A, const HexagonResource &B) { in lessUnits()49 static bool lessWeight(const HexagonResource &A, const HexagonResource &B) { in lessWeight()55 class HexagonCVIResource : public HexagonResource {98 HexagonResource Core;116 return (HexagonResource::lessWeight(B.Core, Core));120 return (HexagonResource::lessUnits(A.Core, B.Core)); in lessCore()124 return (HexagonResource::lessUnits(A.CVI, B.CVI)); in lessCVI()
81 unsigned HexagonResource::setWeight(unsigned s) { in setWeight()132 : HexagonResource(s) { in HexagonCVIResource()