Searched refs:SelectPatternResult (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 721 struct SelectPatternResult { struct 753 SelectPatternResult matchSelectPattern(Value *V, Value *&LHS, Value *&RHS, argument 757 inline SelectPatternResult 769 SelectPatternResult matchDecomposedSelectPattern(
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 1154 if (SelectPatternResult::isMinOrMax(SPF)) { in computeKnownBitsFromOperator() 5766 static SelectPatternResult matchFastFloatClamp(CmpInst::Predicate Pred, in matchFastFloatClamp() 5820 static SelectPatternResult matchClamp(CmpInst::Predicate Pred, in matchClamp() 5856 static SelectPatternResult matchMinMaxOfMinMax(CmpInst::Predicate Pred, in matchMinMaxOfMinMax() 5865 if (!SelectPatternResult::isMinOrMax(L.Flavor)) in matchMinMaxOfMinMax() 5965 static SelectPatternResult matchMinMax(CmpInst::Predicate Pred, in matchMinMax() 6055 static SelectPatternResult matchSelectPattern(CmpInst::Predicate Pred, in matchSelectPattern() 6364 SelectPatternResult llvm::matchDecomposedSelectPattern( in matchDecomposedSelectPattern() 6453 SelectPatternResult SelectPattern; in canConvertToMinOrMaxIntrinsic() 6458 if (!SelectPatternResult::isMinOrMax(CurrentPattern.Flavor) || in canConvertToMinOrMaxIntrinsic() [all …]
|
| H A D | LazyValueInfo.cpp | 826 SelectPatternResult SPR = matchSelectPattern(SI, LHS, RHS); in solveBlockValueSelect() 829 if (SelectPatternResult::isMinOrMax(SPR.Flavor) && in solveBlockValueSelect()
|
| H A D | IVDescriptors.cpp | 1177 return SelectPatternResult::isMinOrMax( in getReductionOpChain()
|
| H A D | InstructionSimplify.cpp | 4286 if (SelectPatternResult::isMinOrMax(SPF) && Pred == getMinMaxPred(SPF)) { in simplifySelectWithICmpCond()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ValueTrackingTest.cpp | 93 void expectPattern(const SelectPatternResult &P) { in expectPattern() 96 SelectPatternResult R = matchSelectPattern(A, LHS, RHS, &CastOp); in expectPattern()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 1117 if (SelectPatternResult::isMinOrMax(SPF)) { in canonicalizeSPF() 1753 if (SPF1 == SPF2 && SelectPatternResult::isMinOrMax(SPF1)) in foldSPFofSPF() 2951 SelectPatternResult SPR = matchSelectPattern(&SI, LHS, RHS, &CastOp); in visitSelectInst() 2965 if (SelectPatternResult::isMinOrMax(SPF)) { in visitSelectInst()
|
| H A D | InstCombineCompares.cpp | 5537 if (!SelectPatternResult::isMinOrMax(SPF)) in foldICmpUsingKnownBits() 6192 SelectPatternResult SPR = matchSelectPattern(SI, A, B); in visitICmpInst() 6819 SelectPatternResult SPR = matchSelectPattern(SI, A, B); in visitFCmpInst()
|