Lines Matching defs:CurrentUse
591 /// Select a preference between two uses. CurrentUse is the current preference
594 PreferredTuple &CurrentUse,
598 if (!CurrentUse.Ty.isValid()) {
599 if (CurrentUse.ExtendOpcode == OpcodeForCandidate ||
600 CurrentUse.ExtendOpcode == TargetOpcode::G_ANYEXT)
602 return CurrentUse;
613 CurrentUse.ExtendOpcode != TargetOpcode::G_ANYEXT)
614 return CurrentUse;
615 else if (CurrentUse.ExtendOpcode == TargetOpcode::G_ANYEXT &&
623 if (!isa<GZExtLoad>(LoadMI) && CurrentUse.Ty == TyForCandidate) {
624 if (CurrentUse.ExtendOpcode == TargetOpcode::G_SEXT &&
626 return CurrentUse;
627 else if (CurrentUse.ExtendOpcode == TargetOpcode::G_ZEXT &&
637 if (TyForCandidate.getSizeInBits() > CurrentUse.Ty.getSizeInBits()) {
640 return CurrentUse;