Home
last modified time | relevance | path

Searched refs:AltOpcode (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp767 unsigned AltOpcode = Opcode; in getSameOpcode() local
808 if (InstOpcode == Opcode || InstOpcode == AltOpcode) in getSameOpcode()
810 if (Opcode == AltOpcode && isValidForAlternation(InstOpcode) && in getSameOpcode()
812 AltOpcode = InstOpcode; in getSameOpcode()
822 if (InstOpcode == Opcode || InstOpcode == AltOpcode) in getSameOpcode()
824 if (Opcode == AltOpcode) { in getSameOpcode()
828 AltOpcode = InstOpcode; in getSameOpcode()
867 } else if (InstOpcode == Opcode || InstOpcode == AltOpcode) { in getSameOpcode()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp5712 unsigned AltOpcode; in visitIMINMAX() local
5714 case ISD::SMIN: AltOpcode = ISD::UMIN; break; in visitIMINMAX()
5715 case ISD::SMAX: AltOpcode = ISD::UMAX; break; in visitIMINMAX()
5716 case ISD::UMIN: AltOpcode = ISD::SMIN; break; in visitIMINMAX()
5717 case ISD::UMAX: AltOpcode = ISD::SMAX; break; in visitIMINMAX()
5720 if ((IsSatBroken && IsOpIllegal) || TLI.isOperationLegal(AltOpcode, VT)) in visitIMINMAX()
5721 return DAG.getNode(AltOpcode, DL, VT, N0, N1); in visitIMINMAX()