Lines Matching defs:CurrentUse
608 /// Select a preference between two uses. CurrentUse is the current preference
611 PreferredTuple &CurrentUse,
615 if (!CurrentUse.Ty.isValid()) {
616 if (CurrentUse.ExtendOpcode == OpcodeForCandidate ||
617 CurrentUse.ExtendOpcode == TargetOpcode::G_ANYEXT)
619 return CurrentUse;
630 CurrentUse.ExtendOpcode != TargetOpcode::G_ANYEXT)
631 return CurrentUse;
632 else if (CurrentUse.ExtendOpcode == TargetOpcode::G_ANYEXT &&
640 if (!isa<GZExtLoad>(LoadMI) && CurrentUse.Ty == TyForCandidate) {
641 if (CurrentUse.ExtendOpcode == TargetOpcode::G_SEXT &&
643 return CurrentUse;
644 else if (CurrentUse.ExtendOpcode == TargetOpcode::G_ZEXT &&
654 if (TyForCandidate.getSizeInBits() > CurrentUse.Ty.getSizeInBits()) {
657 return CurrentUse;