Home
last modified time | relevance | path

Searched refs:SelectPatternResult (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h856 struct SelectPatternResult { struct
888 LLVM_ABI SelectPatternResult argument
892 inline SelectPatternResult matchSelectPattern(const Value *V, const Value *&LHS, in matchSelectPattern()
904 LLVM_ABI SelectPatternResult matchDecomposedSelectPattern(
910 LLVM_ABI SelectPatternResult getSelectPattern(
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp8185 static SelectPatternResult matchFastFloatClamp(CmpInst::Predicate Pred, in matchFastFloatClamp()
8235 static SelectPatternResult matchClamp(CmpInst::Predicate Pred, in matchClamp()
8271 static SelectPatternResult matchMinMaxOfMinMax(CmpInst::Predicate Pred, in matchMinMaxOfMinMax()
8279 SelectPatternResult L = matchSelectPattern(TVal, A, B, nullptr, Depth + 1); in matchMinMaxOfMinMax()
8280 if (!SelectPatternResult::isMinOrMax(L.Flavor)) in matchMinMaxOfMinMax()
8284 SelectPatternResult R = matchSelectPattern(FVal, C, D, nullptr, Depth + 1); in matchMinMaxOfMinMax()
8380 static SelectPatternResult matchMinMax(CmpInst::Predicate Pred, in matchMinMax()
8389 SelectPatternResult SPR = matchClamp(Pred, CmpLHS, CmpRHS, TrueVal, FalseVal); in matchMinMax()
8510 SelectPatternResult llvm::getSelectPattern(CmpInst::Predicate Pred, in getSelectPattern()
8615 static SelectPatternResult matchSelectPattern(CmpInst::Predicate Pred, in matchSelectPattern()
[all …]
H A DLazyValueInfo.cpp824 SelectPatternResult SPR = matchSelectPattern(SI, LHS, RHS); in solveBlockValueSelect()
827 if (SelectPatternResult::isMinOrMax(SPR.Flavor) && in solveBlockValueSelect()
H A DIVDescriptors.cpp1284 return SelectPatternResult::isMinOrMax( in getReductionOpChain()
H A DInstructionSimplify.cpp4680 if (SelectPatternResult::isMinOrMax(SPF) && Pred == getMinMaxPred(SPF)) { in simplifySelectWithICmpCond()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1281 if (SelectPatternResult::isMinOrMax(SPF)) { in canonicalizeSPF()
2068 if (SPF1 == SPF2 && SelectPatternResult::isMinOrMax(SPF1)) in foldSPFofSPF()
4158 SelectPatternResult SPR = matchSelectPattern(&SI, LHS, RHS, &CastOp); in visitSelectInst()
4172 if (SelectPatternResult::isMinOrMax(SPF)) { in visitSelectInst()
H A DInstCombineCompares.cpp6904 if (!SelectPatternResult::isMinOrMax(SPF)) in foldICmpUsingKnownBits()
7655 SelectPatternResult SPR = matchSelectPattern(SI, A, B); in visitICmpInst()
8600 SelectPatternResult SPR = matchSelectPattern(SI, A, B); in visitFCmpInst()