Searched refs:SelectPatternResult (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ValueTracking.h | 1127 struct SelectPatternResult { struct 1159 SelectPatternResult matchSelectPattern(Value *V, Value *&LHS, Value *&RHS, argument 1163 inline SelectPatternResult matchSelectPattern(const Value *V, const Value *&LHS, in matchSelectPattern() 1175 SelectPatternResult matchDecomposedSelectPattern(
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 8079 static SelectPatternResult matchFastFloatClamp(CmpInst::Predicate Pred, in matchFastFloatClamp() 8133 static SelectPatternResult matchClamp(CmpInst::Predicate Pred, in matchClamp() 8169 static SelectPatternResult matchMinMaxOfMinMax(CmpInst::Predicate Pred, in matchMinMaxOfMinMax() 8177 SelectPatternResult L = matchSelectPattern(TVal, A, B, nullptr, Depth + 1); in matchMinMaxOfMinMax() 8178 if (!SelectPatternResult::isMinOrMax(L.Flavor)) in matchMinMaxOfMinMax() 8182 SelectPatternResult R = matchSelectPattern(FVal, C, D, nullptr, Depth + 1); in matchMinMaxOfMinMax() 8278 static SelectPatternResult matchMinMax(CmpInst::Predicate Pred, in matchMinMax() 8287 SelectPatternResult SPR = matchClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal); in matchMinMax() 8400 static SelectPatternResult matchSelectPattern(CmpInst::Predicate Pred, in matchSelectPattern() 8701 SelectPatternResult llvm::matchSelectPattern(Value *V, Value *&LHS, Value *&RHS, in matchSelectPattern() [all …]
|
H A D | LazyValueInfo.cpp | 864 SelectPatternResult SPR = matchSelectPattern(SI, LHS, RHS); in solveBlockValueSelect() 867 if (SelectPatternResult::isMinOrMax(SPR.Flavor) && in solveBlockValueSelect()
|
H A D | IVDescriptors.cpp | 1173 return SelectPatternResult::isMinOrMax( in getReductionOpChain()
|
H A D | InstructionSimplify.cpp | 4666 if (SelectPatternResult::isMinOrMax(SPF) && Pred == getMinMaxPred(SPF)) { in simplifySelectWithICmpCond()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 1220 if (SelectPatternResult::isMinOrMax(SPF)) { in canonicalizeSPF() 2014 if (SPF1 == SPF2 && SelectPatternResult::isMinOrMax(SPF1)) in foldSPFofSPF() 3794 SelectPatternResult SPR = matchSelectPattern(&SI, LHS, RHS, &CastOp); in visitSelectInst() 3808 if (SelectPatternResult::isMinOrMax(SPF)) { in visitSelectInst()
|
H A D | InstCombineCompares.cpp | 6498 if (!SelectPatternResult::isMinOrMax(SPF)) in foldICmpUsingKnownBits() 7372 SelectPatternResult SPR = matchSelectPattern(SI, A, B); in visitICmpInst() 8133 SelectPatternResult SPR = matchSelectPattern(SI, A, B); in visitFCmpInst()
|