Lines Matching refs:InstCnt
1215 void SelectAndParts32(SDLoc dl, SDValue &Res, unsigned *InstCnt) { in SelectAndParts32() argument
1265 if (InstCnt) *InstCnt += NumAndInsts; in SelectAndParts32()
1312 SDNode *Select32(SDNode *N, bool LateMask, unsigned *InstCnt) { in Select32() argument
1316 if (InstCnt) *InstCnt = 0; in Select32()
1319 SelectAndParts32(dl, Res, InstCnt); in Select32()
1327 if (InstCnt) *InstCnt += 1; in Select32()
1344 if (InstCnt) *InstCnt += BitGroups.size(); in Select32()
1368 if (InstCnt) *InstCnt += (unsigned) (ANDIMask != 0) + in Select32()
1414 unsigned *InstCnt = nullptr) { in SelectRotMask64() argument
1420 if (InstCnt) *InstCnt += 1; in SelectRotMask64()
1459 if (InstCnt) *InstCnt += 1; in SelectRotMask64()
1475 unsigned MaskEnd, unsigned *InstCnt = nullptr) { in SelectRotMaskIns64() argument
1481 if (InstCnt) *InstCnt += 1; in SelectRotMaskIns64()
1508 if (InstCnt) *InstCnt += 1; in SelectRotMaskIns64()
1520 void SelectAndParts64(SDLoc dl, SDValue &Res, unsigned *InstCnt) { in SelectAndParts64() argument
1624 if (InstCnt) *InstCnt += NumAndInsts; in SelectAndParts64()
1682 SDNode *Select64(SDNode *N, bool LateMask, unsigned *InstCnt) { in Select64() argument
1686 if (InstCnt) *InstCnt = 0; in Select64()
1689 SelectAndParts64(dl, Res, InstCnt); in Select64()
1731 InstCnt); in Select64()
1767 BG.EndIdx, InstCnt); in Select64()
1770 BG.StartIdx, BG.EndIdx, InstCnt); in Select64()
1788 if (InstCnt) *InstCnt += (unsigned) (ANDIMask != 0) + in Select64()
1808 if (InstCnt) *InstCnt += SelectInt64Count(Mask) + /* and */ 1; in Select64()
1820 SDNode *Select(SDNode *N, bool LateMask, unsigned *InstCnt = nullptr) { in Select() argument
1834 return Select32(N, LateMask, InstCnt); in Select()
1837 return Select64(N, LateMask, InstCnt); in Select()
1885 unsigned InstCnt, InstCntLateMask; in Select() local
1887 SDNode *RN = Select(N, false, &InstCnt); in Select()
1888 DEBUG(dbgs() << "\t\tisel would use " << InstCnt << " instructions\n"); in Select()
1895 if (InstCnt <= InstCntLateMask) { in Select()