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);
 2425                                           RHS2, SI, SPF, RHS))
 2427       if (SelectPatternFlavor SPF2 = matchSelectPattern(RHS, LHS2, RHS2).Flavor)
 2428         if (Instruction *R = foldSPFofSPF(cast<Instruction>(RHS), SPF2, LHS2,
 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))