Searched refs:NewShl (Results 1 – 7 of 7) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 633 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitShl() local 634 NewShl->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in visitShl() 635 NewShl->setHasNoSignedWrap(I.hasNoSignedWrap()); in visitShl() 636 return NewShl; in visitShl() 747 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitLShr() local 748 NewShl->setHasNoUnsignedWrap(true); in visitLShr() 749 return NewShl; in visitLShr() 752 Value *NewShl = Builder.CreateShl(X, ShiftDiff); in visitLShr() local 754 return BinaryOperator::CreateAnd(NewShl, ConstantInt::get(Ty, Mask)); in visitLShr() 865 auto *NewShl = BinaryOperator::Create(Instruction::Shl, X, ShiftDiff); in visitAShr() local [all …]
|
D | InstCombineAddSub.cpp | 1175 Value *NewShl = Builder.CreateShl(XorLHS, ShAmt, "sext"); in visitAdd() local 1176 return BinaryOperator::CreateAShr(NewShl, ShAmt); in visitAdd()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 605 BinaryOperator *NewShl = BinaryOperator::Create(Instruction::Shl, in FoldShiftByConstant() local 607 NewShl->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in FoldShiftByConstant() 608 NewShl->setHasNoSignedWrap(I.hasNoSignedWrap()); in FoldShiftByConstant() 609 return NewShl; in FoldShiftByConstant() 666 BinaryOperator *NewShl = BinaryOperator::Create(Instruction::Shl, in FoldShiftByConstant() local 668 NewShl->setHasNoUnsignedWrap(true); in FoldShiftByConstant() 669 return NewShl; in FoldShiftByConstant() 685 BinaryOperator *NewShl = BinaryOperator::Create(Instruction::Shl, in FoldShiftByConstant() local 687 NewShl->setHasNoSignedWrap(true); in FoldShiftByConstant() 688 return NewShl; in FoldShiftByConstant()
|
D | InstCombineAddSub.cpp | 1083 Value *NewShl = Builder->CreateShl(XorLHS, ShAmt, "sext"); in visitAdd() local 1084 return BinaryOperator::CreateAShr(NewShl, ShAmt); in visitAdd()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 136 Value *NewShl = Builder->CreateShl(XorLHS, ShAmt, "sext"); in visitAdd() local 137 return BinaryOperator::CreateAShr(NewShl, ShAmt); in visitAdd()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAG.cpp | 1070 SDValue NewShl = DAG.getNode(ISD::SHL, DL, VT, NewAdd, C); in ppAddrReorderAddShl() local 1071 ReplaceNode(T0.getNode(), NewShl.getNode()); in ppAddrReorderAddShl() 1146 SDValue NewShl = DAG.getNode(ISD::SHL, dl, VT, NewSrl, DC); in ppAddrRewriteAndSrl() local 1147 ReplaceNode(T0.getNode(), NewShl.getNode()); in ppAddrRewriteAndSrl()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAG.cpp | 1372 SDValue NewShl = DAG.getNode(ISD::SHL, DL, VT, NewAdd, C); in PreprocessISelDAG() local 1373 ReplaceNode(T0.getNode(), NewShl.getNode()); in PreprocessISelDAG()
|