Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineShifts.cpp514 Value *NewShift = in FoldShiftByConstant() local
516 NewShift->takeName(Op0BO); in FoldShiftByConstant()
518 return BinaryOperator::Create(Op0BO->getOpcode(), NewShift, in FoldShiftByConstant()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp531 Value *NewShift = in FoldShiftByConstant() local
533 NewShift->takeName(Op0BO); in FoldShiftByConstant()
535 return BinaryOperator::Create(Op0BO->getOpcode(), NewShift, in FoldShiftByConstant()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp2358 SDValue NewShift = DAG.getNode(ISD::SHL, SL, MVT::i32, Lo, ShiftAmt); in performShlCombine() local
2362 SDValue Vec = DAG.getBuildVector(MVT::v2i32, SL, {Zero, NewShift}); in performShlCombine()
2382 SDValue NewShift = DAG.getNode(ISD::SRA, SL, MVT::i32, Hi, in performSraCombine() local
2385 SDValue BuildVec = DAG.getBuildVector(MVT::v2i32, SL, {Hi, NewShift}); in performSraCombine()
2392 SDValue NewShift = DAG.getNode(ISD::SRA, SL, MVT::i32, Hi, in performSraCombine() local
2394 SDValue BuildVec = DAG.getBuildVector(MVT::v2i32, SL, {NewShift, NewShift}); in performSraCombine()
2429 SDValue NewShift = DAG.getNode(ISD::SRL, SL, MVT::i32, Hi, NewConst); in performSrlCombine() local
2431 SDValue BuildPair = DAG.getBuildVector(MVT::v2i32, SL, {NewShift, Zero}); in performSrlCombine()
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp984 SDValue NewShift = DAG.getNode(ISD::SHL, DL, VT, NewAnd, Shift.getOperand(1)); in foldMaskedShiftToScaledMask() local
993 insertDAGNode(DAG, N, NewShift); in foldMaskedShiftToScaledMask()
994 DAG.ReplaceAllUsesWith(N, NewShift); in foldMaskedShiftToScaledMask()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3231 SDValue NewShift = DAG.getNode(N->getOpcode(), in visitShiftByConstant() local
3236 return DAG.getNode(LHS->getOpcode(), N->getDebugLoc(), VT, NewShift, NewRHS); in visitShiftByConstant()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp4356 SDValue NewShift = DAG.getNode(N->getOpcode(), in visitShiftByConstant() local
4361 return DAG.getNode(LHS->getOpcode(), SDLoc(N), VT, NewShift, NewRHS); in visitShiftByConstant()