Home
last modified time | relevance | path

Searched refs:ShVal (Results 1 – 13 of 13) 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/swiftshader/third_party/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/Target/Mips/
DMipsLongBranch.cpp493 int ShVal = STI.inMicroMipsMode() ? 2 : 4; in runOnMachineFunction() local
494 int64_t Offset = computeOffset(I->Br) / ShVal; in runOnMachineFunction()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelDAGToDAG.cpp797 SDValue ShVal = N.getNode()->getOperand(0); in MatchAddressRecursively() local
802 if (CurDAG->isBaseWithConstantOffset(ShVal)) { in MatchAddressRecursively()
803 AM.IndexReg = ShVal.getNode()->getOperand(0); in MatchAddressRecursively()
805 cast<ConstantSDNode>(ShVal.getNode()->getOperand(1)); in MatchAddressRecursively()
811 AM.IndexReg = ShVal; in MatchAddressRecursively()
DX86ISelLowering.cpp4724 bool &isLeft, SDValue &ShVal, unsigned &ShAmt) { in isVectorShiftRight() argument
4750 ShVal = SVOp->getOperand(OpSrc); in isVectorShiftRight()
4757 bool &isLeft, SDValue &ShVal, unsigned &ShAmt) { in isVectorShiftLeft() argument
4783 ShVal = SVOp->getOperand(OpSrc); in isVectorShiftLeft()
4790 bool &isLeft, SDValue &ShVal, unsigned &ShAmt) { in isVectorShift() argument
4796 if (isVectorShiftLeft(SVOp, DAG, isLeft, ShVal, ShAmt) || in isVectorShift()
4797 isVectorShiftRight(SVOp, DAG, isLeft, ShVal, ShAmt)) in isVectorShift()
6630 SDValue ShVal; in LowerVECTOR_SHUFFLE() local
6632 isVectorShift(SVOp, DAG, isLeft, ShVal, ShAmt); in LowerVECTOR_SHUFFLE()
6633 if (isShift && ShVal.hasOneUse()) { in LowerVECTOR_SHUFFLE()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DGVN.cpp1064 Value *ShVal = Builder.CreateShl(Val, NumBytesSet*8); in GetMemInstValueForLoad() local
1065 Val = Builder.CreateOr(Val, ShVal); in GetMemInstValueForLoad()
1071 Value *ShVal = Builder.CreateShl(Val, 1*8); in GetMemInstValueForLoad() local
1072 Val = Builder.CreateOr(OneElt, ShVal); in GetMemInstValueForLoad()
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp1188 SDValue ShVal = N.getNode()->getOperand(0); in matchAddressRecursively() local
1193 if (CurDAG->isBaseWithConstantOffset(ShVal)) { in matchAddressRecursively()
1194 AM.IndexReg = ShVal.getNode()->getOperand(0); in matchAddressRecursively()
1196 cast<ConstantSDNode>(ShVal.getNode()->getOperand(1)); in matchAddressRecursively()
1202 AM.IndexReg = ShVal; in matchAddressRecursively()
/external/swiftshader/third_party/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/Transforms/Scalar/
DGVN.cpp1107 Value *ShVal = Builder.CreateShl(Val, NumBytesSet*8); in GetMemInstValueForLoad() local
1108 Val = Builder.CreateOr(Val, ShVal); in GetMemInstValueForLoad()
1114 Value *ShVal = Builder.CreateShl(Val, 1*8); in GetMemInstValueForLoad() local
1115 Val = Builder.CreateOr(OneElt, ShVal); in GetMemInstValueForLoad()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp275 Value *ShVal = Op->getOperand(0); in OptAndOp() local
276 ShVal = Builder->CreateLShr(ShVal, OpRHS, Op->getName()); in OptAndOp()
277 return BinaryOperator::CreateAnd(ShVal, AndRHS, TheAnd.getName()); in OptAndOp()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1742 uint64_t ShVal = ShAmt->getZExtValue(); in SimplifyDemandedBits() local
1744 TLO.DAG.getConstant(ShVal, getShiftAmountTy(Op.getValueType())); in SimplifyDemandedBits()
1799 unsigned ShVal = Op.getValueType().getSizeInBits()-1; in SimplifyDemandedBits() local
1800 SDValue ShAmt = TLO.DAG.getConstant(ShVal, Op.getValueType()); in SimplifyDemandedBits()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1065 uint64_t ShVal = ShAmt->getZExtValue(); in SimplifyDemandedBits() local
1066 Shift = TLO.DAG.getConstant(ShVal, dl, in SimplifyDemandedBits()
1126 unsigned ShVal = Op.getValueType().getSizeInBits()-1; in SimplifyDemandedBits() local
1127 SDValue ShAmt = TLO.DAG.getConstant(ShVal, dl, Op.getValueType()); in SimplifyDemandedBits()
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp274 unsigned ShVal = AArch64_AM::getShifterImm(AArch64_AM::LSL, ShiftAmt); in SelectArithImmed() local
277 Shift = CurDAG->getTargetConstant(ShVal, dl, MVT::i32); in SelectArithImmed()
354 unsigned ShVal = AArch64_AM::getShifterImm(ShType, Val); in SelectShiftedRegister() local
357 Shift = CurDAG->getTargetConstant(ShVal, SDLoc(N), MVT::i32); in SelectShiftedRegister()