Lines Matching refs:Preferred
363 PreferredTuple Preferred; in tryCombineExtendingLoads() local
364 if (matchCombineExtendingLoads(MI, Preferred)) { in tryCombineExtendingLoads()
365 applyCombineExtendingLoads(MI, Preferred); in tryCombineExtendingLoads()
372 PreferredTuple &Preferred) { in matchCombineExtendingLoads() argument
415 Preferred = {LLT(), PreferredOpcode, nullptr}; in matchCombineExtendingLoads()
433 Preferred = ChoosePreferredUse(Preferred, in matchCombineExtendingLoads()
440 if (!Preferred.MI) in matchCombineExtendingLoads()
444 assert(Preferred.Ty != LoadValueTy && "Extending to same type?"); in matchCombineExtendingLoads()
446 LLVM_DEBUG(dbgs() << "Preferred use is: " << *Preferred.MI); in matchCombineExtendingLoads()
451 PreferredTuple &Preferred) { in applyCombineExtendingLoads() argument
453 Register ChosenDstReg = Preferred.MI->getOperand(0).getReg(); in applyCombineExtendingLoads()
478 Builder.getTII().get(Preferred.ExtendOpcode == TargetOpcode::G_SEXT in applyCombineExtendingLoads()
480 : Preferred.ExtendOpcode == TargetOpcode::G_ZEXT in applyCombineExtendingLoads()
495 if (UseMI->getOpcode() == Preferred.ExtendOpcode || in applyCombineExtendingLoads()
501 if (Preferred.Ty == UseDstTy) { in applyCombineExtendingLoads()
514 } else if (Preferred.Ty.getSizeInBits() < UseDstTy.getSizeInBits()) { in applyCombineExtendingLoads()