Home
last modified time | relevance | path

Searched refs:NewShl (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp605 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()
DInstCombineAddSub.cpp1083 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/
DInstCombineAddSub.cpp136 Value *NewShl = Builder->CreateShl(XorLHS, ShAmt, "sext"); in visitAdd() local
137 return BinaryOperator::CreateAShr(NewShl, ShAmt); in visitAdd()
/external/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1372 SDValue NewShl = DAG.getNode(ISD::SHL, DL, VT, NewAdd, C); in PreprocessISelDAG() local
1373 ReplaceNode(T0.getNode(), NewShl.getNode()); in PreprocessISelDAG()