reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineSelect.cpp
 2419     SelectPatternResult SPR = matchSelectPattern(&SI, LHS, RHS, &CastOp);
 2423       if (SelectPatternFlavor SPF2 = matchSelectPattern(LHS, LHS2, RHS2).Flavor)
 2424         if (Instruction *R = foldSPFofSPF(cast<Instruction>(LHS), SPF2, LHS2,
 2429                                           RHS2, SI, SPF, LHS))
 2440       bool IsCastNeeded = LHS->getType() != SelType;
 2444           (LHS->getType()->isFPOrFPVectorTy() &&
 2445            ((CmpLHS != LHS && CmpLHS != RHS) ||
 2446             (CmpRHS != LHS && CmpRHS != RHS)))) {
 2451           Cmp = Builder.CreateICmp(MinMaxPred, LHS, RHS);
 2457           Cmp = Builder.CreateFCmp(MinMaxPred, LHS, RHS);
 2460         Value *NewSI = Builder.CreateSelect(Cmp, LHS, RHS, SI.getName(), &SI);
 2495       if (Instruction *I = moveNotAfterMinMax(LHS, RHS))
 2497       if (Instruction *I = moveNotAfterMinMax(RHS, LHS))
 2500       if (Instruction *I = moveAddAfterMinMax(SPF, LHS, RHS, Builder))
 2503       if (Instruction *I = factorizeMinMaxTree(SPF, LHS, RHS, Builder))