Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp885 Value *NewSh = Builder.CreateAShr(X, ConstantInt::get(SrcTy, ShAmt)); in visitAShr() local
886 return new SExtInst(NewSh, Ty); in visitAShr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2598 auto NewSh = N1->getOpcode() == ISD::SRA ? ISD::SRL : ISD::SRA; in visitSUB() local
2599 if (!LegalOperations || TLI.isOperationLegal(NewSh, VT)) in visitSUB()
2600 return DAG.getNode(NewSh, DL, VT, N1.getOperand(0), N1.getOperand(1)); in visitSUB()