Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp308 Value *ShVal = ConstantInt::get(V->getType(), i); in LowerCTLZ() local
309 ShVal = Builder.CreateLShr(V, ShVal, "ctlz.sh"); in LowerCTLZ()
310 V = Builder.CreateOr(V, ShVal, "ctlz.step"); in LowerCTLZ()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1059 Value *ShVal = Builder.CreateShl(Val, NumBytesSet*8); in GetMemInstValueForLoad() local
1060 Val = Builder.CreateOr(Val, ShVal); in GetMemInstValueForLoad()
1066 Value *ShVal = Builder.CreateShl(Val, 1*8); in GetMemInstValueForLoad() local
1067 Val = Builder.CreateOr(OneElt, ShVal); in GetMemInstValueForLoad()
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp792 SDValue ShVal = N.getNode()->getOperand(0); in MatchAddressRecursively() local
797 if (CurDAG->isBaseWithConstantOffset(ShVal)) { in MatchAddressRecursively()
798 AM.IndexReg = ShVal.getNode()->getOperand(0); in MatchAddressRecursively()
800 cast<ConstantSDNode>(ShVal.getNode()->getOperand(1)); in MatchAddressRecursively()
806 AM.IndexReg = ShVal; in MatchAddressRecursively()
DX86ISelLowering.cpp4141 bool &isLeft, SDValue &ShVal, unsigned &ShAmt) { in isVectorShiftRight() argument
4167 ShVal = SVOp->getOperand(OpSrc); in isVectorShiftRight()
4174 bool &isLeft, SDValue &ShVal, unsigned &ShAmt) { in isVectorShiftLeft() argument
4200 ShVal = SVOp->getOperand(OpSrc); in isVectorShiftLeft()
4207 bool &isLeft, SDValue &ShVal, unsigned &ShAmt) { in isVectorShift() argument
4208 if (isVectorShiftLeft(SVOp, DAG, isLeft, ShVal, ShAmt) || in isVectorShift()
4209 isVectorShiftRight(SVOp, DAG, isLeft, ShVal, ShAmt)) in isVectorShift()
5810 SDValue ShVal; in LowerVECTOR_SHUFFLE() local
5812 isVectorShift(SVOp, DAG, isLeft, ShVal, ShAmt); in LowerVECTOR_SHUFFLE()
5813 if (isShift && ShVal.hasOneUse()) { in LowerVECTOR_SHUFFLE()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp322 Value *ShVal = Op->getOperand(0); in OptAndOp() local
323 ShVal = Builder->CreateLShr(ShVal, OpRHS, Op->getName()); in OptAndOp()
324 return BinaryOperator::CreateAnd(ShVal, AndRHS, TheAnd.getName()); in OptAndOp()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1739 uint64_t ShVal = ShAmt->getZExtValue(); in SimplifyDemandedBits() local
1741 TLO.DAG.getConstant(ShVal, getShiftAmountTy(Op.getValueType())); in SimplifyDemandedBits()
1797 unsigned ShVal = Op.getValueType().getSizeInBits()-1; in SimplifyDemandedBits() local
1798 SDValue ShAmt = TLO.DAG.getConstant(ShVal, Op.getValueType()); in SimplifyDemandedBits()