Home
last modified time | relevance | path

Searched refs:SPF2 (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp655 SelectPatternFlavor SPF2, Value *C) { in FoldSPFofSPF() argument
662 if (SPF1 == SPF2) in FoldSPFofSPF()
667 if ((SPF1 == SPF_SMIN && SPF2 == SPF_SMAX) || in FoldSPFofSPF()
668 (SPF1 == SPF_SMAX && SPF2 == SPF_SMIN) || in FoldSPFofSPF()
669 (SPF1 == SPF_UMIN && SPF2 == SPF_UMAX) || in FoldSPFofSPF()
670 (SPF1 == SPF_UMAX && SPF2 == SPF_UMIN)) in FoldSPFofSPF()
674 if (SPF1 == SPF2) { in FoldSPFofSPF()
703 if (SPF1 == SPF2 && (SPF1 == SPF_ABS || SPF1 == SPF_NABS)) { in FoldSPFofSPF()
709 if ((SPF1 == SPF_ABS && SPF2 == SPF_NABS) || in FoldSPFofSPF()
710 (SPF1 == SPF_NABS && SPF2 == SPF_ABS)) { in FoldSPFofSPF()
[all …]
DInstCombineInternal.h309 SelectPatternFlavor SPF2, Value *C);
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSelect.cpp558 SelectPatternFlavor SPF2, Value *C) { in FoldSPFofSPF() argument
562 if (SPF1 == SPF2) in FoldSPFofSPF()
567 if ((SPF1 == SPF_SMIN && SPF2 == SPF_SMAX) || in FoldSPFofSPF()
568 (SPF1 == SPF_SMAX && SPF2 == SPF_SMIN) || in FoldSPFofSPF()
569 (SPF1 == SPF_UMIN && SPF2 == SPF_UMAX) || in FoldSPFofSPF()
570 (SPF1 == SPF_UMAX && SPF2 == SPF_UMIN)) in FoldSPFofSPF()
844 if (SelectPatternFlavor SPF2 = MatchSelectPattern(LHS, LHS2, RHS2)) in visitSelectInst() local
845 if (Instruction *R = FoldSPFofSPF(cast<Instruction>(LHS),SPF2,LHS2,RHS2, in visitSelectInst()
848 if (SelectPatternFlavor SPF2 = MatchSelectPattern(RHS, LHS2, RHS2)) in visitSelectInst() local
849 if (Instruction *R = FoldSPFofSPF(cast<Instruction>(RHS),SPF2,LHS2,RHS2, in visitSelectInst()
DInstCombine.h176 SelectPatternFlavor SPF2, Value *C);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1050 SelectPatternFlavor SPF2, Value *C) { in foldSPFofSPF() argument
1057 if (SPF1 == SPF2 && SelectPatternResult::isMinOrMax(SPF1)) in foldSPFofSPF()
1062 if ((SPF1 == SPF_SMIN && SPF2 == SPF_SMAX) || in foldSPFofSPF()
1063 (SPF1 == SPF_SMAX && SPF2 == SPF_SMIN) || in foldSPFofSPF()
1064 (SPF1 == SPF_UMIN && SPF2 == SPF_UMAX) || in foldSPFofSPF()
1065 (SPF1 == SPF_UMAX && SPF2 == SPF_UMIN)) in foldSPFofSPF()
1069 if (SPF1 == SPF2) { in foldSPFofSPF()
1094 if (SPF1 == SPF2 && (SPF1 == SPF_ABS || SPF1 == SPF_NABS)) { in foldSPFofSPF()
1100 if ((SPF1 == SPF_ABS && SPF2 == SPF_NABS) || in foldSPFofSPF()
1101 (SPF1 == SPF_NABS && SPF2 == SPF_ABS)) { in foldSPFofSPF()
[all …]
DInstCombineInternal.h874 SelectPatternFlavor SPF2, Value *C);