Lines Matching refs:Group
153 void convertCmovInstsToBranches(SmallVectorImpl<MachineInstr *> &Group) const;
197 for (auto &Group : AllCmovGroups) { in runOnMachineFunction() local
200 llvm::none_of(Group, [&](MachineInstr *I) { return I->mayLoad(); })) in runOnMachineFunction()
207 convertCmovInstsToBranches(Group); in runOnMachineFunction()
262 for (auto &Group : CmovInstGroups) in runOnMachineFunction() local
263 convertCmovInstsToBranches(Group); in runOnMachineFunction()
292 CmovGroup Group; in collectCmovCandidates() local
294 Group.clear(); in collectCmovCandidates()
315 if (Group.empty()) { in collectCmovCandidates()
324 Group.push_back(&I); in collectCmovCandidates()
351 if (Group.empty()) in collectCmovCandidates()
362 CmovInstGroups.push_back(Group); in collectCmovCandidates()
365 Group.clear(); in collectCmovCandidates()
370 if (Group.empty()) in collectCmovCandidates()
373 CmovInstGroups.push_back(Group); in collectCmovCandidates()
418 for (auto &Group : CmovInstGroups) in checkForProfitableCmovCandidates() local
419 CmovInstructions.insert(Group.begin(), Group.end()); in checkForProfitableCmovCandidates()
551 for (auto &Group : TempGroups) { in checkForProfitableCmovCandidates() local
553 for (auto *MI : Group) { in checkForProfitableCmovCandidates()
578 CmovInstGroups.push_back(Group); in checkForProfitableCmovCandidates()
630 SmallVectorImpl<MachineInstr *> &Group) const { in convertCmovInstsToBranches()
631 assert(!Group.empty() && "No CMOV instructions to convert"); in convertCmovInstsToBranches()
637 packCmovGroup(Group.front(), Group.back()); in convertCmovInstsToBranches()
668 MachineInstr &MI = *Group.front(); in convertCmovInstsToBranches()
669 MachineInstr *LastCMOV = Group.back(); in convertCmovInstsToBranches()
678 if (llvm::any_of(Group, [&](MachineInstr *I) { in convertCmovInstsToBranches()