Lines Matching refs:CurrentUse
272 PreferredTuple ChoosePreferredUse(PreferredTuple &CurrentUse, in ChoosePreferredUse() argument
276 if (!CurrentUse.Ty.isValid()) { in ChoosePreferredUse()
277 if (CurrentUse.ExtendOpcode == OpcodeForCandidate || in ChoosePreferredUse()
278 CurrentUse.ExtendOpcode == TargetOpcode::G_ANYEXT) in ChoosePreferredUse()
280 return CurrentUse; in ChoosePreferredUse()
291 CurrentUse.ExtendOpcode != TargetOpcode::G_ANYEXT) in ChoosePreferredUse()
292 return CurrentUse; in ChoosePreferredUse()
293 else if (CurrentUse.ExtendOpcode == TargetOpcode::G_ANYEXT && in ChoosePreferredUse()
299 if (CurrentUse.Ty == TyForCandidate) { in ChoosePreferredUse()
300 if (CurrentUse.ExtendOpcode == TargetOpcode::G_SEXT && in ChoosePreferredUse()
302 return CurrentUse; in ChoosePreferredUse()
303 else if (CurrentUse.ExtendOpcode == TargetOpcode::G_ZEXT && in ChoosePreferredUse()
313 if (TyForCandidate.getSizeInBits() > CurrentUse.Ty.getSizeInBits()) { in ChoosePreferredUse()
316 return CurrentUse; in ChoosePreferredUse()