Lines Matching refs:InstCnt
1033 uint64_t Imm, unsigned &InstCnt) { in selectI64ImmDirect() argument
1048 InstCnt = 1; in selectI64ImmDirect()
1062 InstCnt = 2; in selectI64ImmDirect()
1184 InstCnt = 3; in selectI64ImmDirect()
1197 InstCnt = 3; in selectI64ImmDirect()
1264 InstCnt = 0; in selectI64ImmDirect()
1274 uint64_t Imm, unsigned &InstCnt) { in selectI64ImmDirectPrefix() argument
1291 InstCnt = 1; in selectI64ImmDirectPrefix()
1300 InstCnt = 2; in selectI64ImmDirectPrefix()
1381 InstCnt = 3; in selectI64ImmDirectPrefix()
1394 unsigned *InstCnt = nullptr) { in selectI64Imm() argument
1415 if (InstCnt) in selectI64Imm()
1416 *InstCnt = InstCntDirectP; in selectI64Imm()
1422 if (InstCnt) in selectI64Imm()
1423 *InstCnt = InstCntDirect; in selectI64Imm()
1473 if (InstCnt) in selectI64Imm()
1474 *InstCnt = 4; in selectI64Imm()
1493 if (InstCnt) in selectI64Imm()
1494 *InstCnt = InstCntDirect; in selectI64Imm()
2174 void SelectAndParts32(const SDLoc &dl, SDValue &Res, unsigned *InstCnt) { in SelectAndParts32() argument
2224 if (InstCnt) *InstCnt += NumAndInsts; in SelectAndParts32()
2272 SDNode *Select32(SDNode *N, bool LateMask, unsigned *InstCnt) { in Select32() argument
2276 if (InstCnt) *InstCnt = 0; in Select32()
2279 SelectAndParts32(dl, Res, InstCnt); in Select32()
2287 if (InstCnt) *InstCnt += 1; in Select32()
2303 if (InstCnt) *InstCnt += BitGroups.size(); in Select32()
2329 if (InstCnt) *InstCnt += (unsigned) (ANDIMask != 0) + in Select32()
2378 unsigned *InstCnt = nullptr) { in SelectRotMask64() argument
2384 if (InstCnt) *InstCnt += 1; in SelectRotMask64()
2426 if (InstCnt) *InstCnt += 1; in SelectRotMask64()
2442 unsigned MaskEnd, unsigned *InstCnt = nullptr) { in SelectRotMaskIns64() argument
2448 if (InstCnt) *InstCnt += 1; in SelectRotMaskIns64()
2476 if (InstCnt) *InstCnt += 1; in SelectRotMaskIns64()
2488 void SelectAndParts64(const SDLoc &dl, SDValue &Res, unsigned *InstCnt) { in SelectAndParts64() argument
2598 if (InstCnt) *InstCnt += NumAndInsts; in SelectAndParts64()
2658 SDNode *Select64(SDNode *N, bool LateMask, unsigned *InstCnt) { in Select64() argument
2662 if (InstCnt) *InstCnt = 0; in Select64()
2665 SelectAndParts64(dl, Res, InstCnt); in Select64()
2707 InstCnt); in Select64()
2741 BG.EndIdx, InstCnt); in Select64()
2744 BG.StartIdx, BG.EndIdx, InstCnt); in Select64()
2762 if (InstCnt) *InstCnt += (unsigned) (ANDIMask != 0) + in Select64()
2793 if (InstCnt) in Select64()
2794 *InstCnt += NumOfSelectInsts + /* and */ 1; in Select64()
2801 SDNode *Select(SDNode *N, bool LateMask, unsigned *InstCnt = nullptr) { in Select() argument
2815 return Select32(N, LateMask, InstCnt); in Select()
2818 return Select64(N, LateMask, InstCnt); in Select()
2873 unsigned InstCnt = 0, InstCntLateMask = 0; in Select() local
2875 SDNode *RN = Select(N, false, &InstCnt); in Select()
2876 LLVM_DEBUG(dbgs() << "\t\tisel would use " << InstCnt << " instructions\n"); in Select()
2883 if (InstCnt <= InstCntLateMask) { in Select()