Lines Matching refs:Group

148   void convertCmovInstsToBranches(SmallVectorImpl<MachineInstr *> &Group) const;
188 for (auto &Group : AllCmovGroups) { in runOnMachineFunction() local
190 if (!llvm::any_of(Group, [&](MachineInstr *I) { return I->mayLoad(); })) in runOnMachineFunction()
197 convertCmovInstsToBranches(Group); in runOnMachineFunction()
249 for (auto &Group : CmovInstGroups) in runOnMachineFunction() local
250 convertCmovInstsToBranches(Group); in runOnMachineFunction()
279 CmovGroup Group; in collectCmovCandidates() local
281 Group.clear(); in collectCmovCandidates()
297 if (Group.empty()) { in collectCmovCandidates()
306 Group.push_back(&I); in collectCmovCandidates()
333 if (Group.empty()) in collectCmovCandidates()
344 CmovInstGroups.push_back(Group); in collectCmovCandidates()
347 Group.clear(); in collectCmovCandidates()
352 if (Group.empty()) in collectCmovCandidates()
355 CmovInstGroups.push_back(Group); in collectCmovCandidates()
399 for (auto &Group : CmovInstGroups) in checkForProfitableCmovCandidates() local
400 CmovInstructions.insert(Group.begin(), Group.end()); in checkForProfitableCmovCandidates()
533 for (auto &Group : TempGroups) { in checkForProfitableCmovCandidates() local
535 for (auto *MI : Group) { in checkForProfitableCmovCandidates()
560 CmovInstGroups.push_back(Group); in checkForProfitableCmovCandidates()
613 SmallVectorImpl<MachineInstr *> &Group) const { in convertCmovInstsToBranches()
614 assert(!Group.empty() && "No CMOV instructions to convert"); in convertCmovInstsToBranches()
620 packCmovGroup(Group.front(), Group.back()); in convertCmovInstsToBranches()
651 MachineInstr &MI = *Group.front(); in convertCmovInstsToBranches()
652 MachineInstr *LastCMOV = Group.back(); in convertCmovInstsToBranches()
661 if (llvm::any_of(Group, [&](MachineInstr *I) { in convertCmovInstsToBranches()