Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp404 unsigned AltOpcode = Opcode; in getSameOpcode() local
412 if (InstOpcode == Opcode || InstOpcode == AltOpcode) in getSameOpcode()
414 if (Opcode == AltOpcode && isValidForAlternation(InstOpcode) && in getSameOpcode()
416 AltOpcode = InstOpcode; in getSameOpcode()
424 if (InstOpcode == Opcode || InstOpcode == AltOpcode) in getSameOpcode()
426 if (Opcode == AltOpcode) { in getSameOpcode()
430 AltOpcode = InstOpcode; in getSameOpcode()
435 } else if (InstOpcode == Opcode || InstOpcode == AltOpcode) in getSameOpcode()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp407 unsigned AltOpcode = Opcode; in getSameOpcode() local
415 if (InstOpcode == Opcode || InstOpcode == AltOpcode) in getSameOpcode()
417 if (Opcode == AltOpcode && isValidForAlternation(InstOpcode) && in getSameOpcode()
419 AltOpcode = InstOpcode; in getSameOpcode()
427 if (InstOpcode == Opcode || InstOpcode == AltOpcode) in getSameOpcode()
429 if (Opcode == AltOpcode) { in getSameOpcode()
433 AltOpcode = InstOpcode; in getSameOpcode()
438 } else if (InstOpcode == Opcode || InstOpcode == AltOpcode) in getSameOpcode()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp178 unsigned AltOpcode = getAltOpcode(Opcode); in isAltInst() local
181 if (!I || I->getOpcode() != ((i & 1) ? AltOpcode : Opcode)) in isAltInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp4343 unsigned AltOpcode; in visitIMINMAX() local
4345 case ISD::SMIN: AltOpcode = ISD::UMIN; break; in visitIMINMAX()
4346 case ISD::SMAX: AltOpcode = ISD::UMAX; break; in visitIMINMAX()
4347 case ISD::UMIN: AltOpcode = ISD::SMIN; break; in visitIMINMAX()
4348 case ISD::UMAX: AltOpcode = ISD::SMAX; break; in visitIMINMAX()
4351 if (TLI.isOperationLegal(AltOpcode, VT)) in visitIMINMAX()
4352 return DAG.getNode(AltOpcode, SDLoc(N), VT, N0, N1); in visitIMINMAX()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp4616 unsigned AltOpcode; in visitIMINMAX() local
4618 case ISD::SMIN: AltOpcode = ISD::UMIN; break; in visitIMINMAX()
4619 case ISD::SMAX: AltOpcode = ISD::UMAX; break; in visitIMINMAX()
4620 case ISD::UMIN: AltOpcode = ISD::SMIN; break; in visitIMINMAX()
4621 case ISD::UMAX: AltOpcode = ISD::SMAX; break; in visitIMINMAX()
4624 if (TLI.isOperationLegal(AltOpcode, VT)) in visitIMINMAX()
4625 return DAG.getNode(AltOpcode, SDLoc(N), VT, N0, N1); in visitIMINMAX()