Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp382 Value *ShVal = Builder.CreateShl( in getMemInstValueForLoad() local
384 Val = Builder.CreateOr(Val, ShVal); in getMemInstValueForLoad()
390 Value *ShVal = in getMemInstValueForLoad() local
392 Val = Builder.CreateOr(OneElt, ShVal); in getMemInstValueForLoad()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp193 Value *ShVal = ConstantInt::get(V->getType(), i); in LowerCTLZ() local
194 ShVal = Builder.CreateLShr(V, ShVal, "ctlz.sh"); in LowerCTLZ()
195 V = Builder.CreateOr(V, ShVal, "ctlz.step"); in LowerCTLZ()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1439 Value *ShAmt = CIV, *ShVal = Op; in convertShiftsToLeft() local
1440 auto *VTy = cast<IntegerType>(ShVal->getType()); in convertShiftsToLeft()
1443 ShVal = IRB.CreateShl(Op, ConstantInt::get(VTy, 1)); in convertShiftsToLeft()
1448 ShVal = upcast(CastMap, IRB, ShVal, ATy); in convertShiftsToLeft()
1453 W = IRB.CreateShl(ShVal, ShAmt); in convertShiftsToLeft()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp594 unsigned ShVal = AArch64_AM::getShifterImm(AArch64_AM::LSL, ShiftAmt); in SelectArithImmed() local
597 Shift = CurDAG->getTargetConstant(ShVal, dl, MVT::i32); in SelectArithImmed()
773 unsigned ShVal = AArch64_AM::getShifterImm(AArch64_AM::LSL, LowZBits); in SelectShiftedRegisterFromAnd() local
774 Shift = CurDAG->getTargetConstant(ShVal, DL, MVT::i32); in SelectShiftedRegisterFromAnd()
872 unsigned ShVal = AArch64_AM::getShifterImm(ShType, Val); in SelectShiftedRegister() local
875 Shift = CurDAG->getTargetConstant(ShVal, SDLoc(N), MVT::i32); in SelectShiftedRegister()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp2365 SDValue ShVal = AddSrc.getOperand(0); in matchIndexRecursively() local
2372 CurDAG->MaskedValueIsZero(ShVal, HiBits))) { in matchIndexRecursively()
2374 SDValue ExtShVal = CurDAG->getNode(Opc, DL, VT, ShVal); in matchIndexRecursively()
2478 SDValue ShVal = N.getOperand(0); in matchAddressRecursively() local
2480 AM.IndexReg = matchIndexRecursively(ShVal, AM, Depth + 1); in matchAddressRecursively()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2567 uint64_t ShVal = ShAmtC->getZExtValue(); in SimplifyDemandedBits() local
2571 HighBits.lshrInPlace(ShVal); in SimplifyDemandedBits()
2578 ShVal, dl, getShiftAmountTy(VT, DL, TLO.LegalTypes())); in SimplifyDemandedBits()
2670 unsigned ShVal = Op.getValueSizeInBits() - 1; in SimplifyDemandedBits() local
2671 SDValue ShAmt = TLO.DAG.getConstant(ShVal, dl, VT); in SimplifyDemandedBits()
7953 SDValue ShVal; in expandROT() local
7960 ShVal = DAG.getNode(ShOpc, DL, VT, Op0, ShAmt); in expandROT()
7968 ShVal = DAG.getNode(ShOpc, DL, VT, Op0, ShAmt); in expandROT()
7974 return DAG.getNode(ISD::OR, DL, VT, ShVal, HsVal); in expandROT()
H A DDAGCombiner.cpp13879 SDValue ShVal = N0.getOperand(0); in visitZERO_EXTEND() local
13882 if (ShVal.getOpcode() == ISD::ZERO_EXTEND && N0.hasOneUse()) { in visitZERO_EXTEND()
13887 unsigned KnownZeroBits = ShVal.getValueSizeInBits() - in visitZERO_EXTEND()
13888 ShVal.getOperand(0).getValueSizeInBits(); in visitZERO_EXTEND()
13898 DAG.getNode(ISD::ZERO_EXTEND, DL, VT, ShVal), ShAmt); in visitZERO_EXTEND()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp6485 Register ShVal; in lowerRotate() local
6492 ShVal = MIRBuilder.buildInstr(ShOpc, {DstTy}, {Src, ShAmt}).getReg(0); in lowerRotate()
6501 ShVal = MIRBuilder.buildInstr(ShOpc, {DstTy}, {Src, ShAmt}).getReg(0); in lowerRotate()
6508 MIRBuilder.buildOr(Dst, ShVal, RevShiftVal); in lowerRotate()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp6847 unsigned ShVal = AArch64_AM::getShifterImm(AArch64_AM::LSL, ShiftAmt); in select12BitValueWithLeftShift() local
6850 [=](MachineInstrBuilder &MIB) { MIB.addImm(ShVal); }, in select12BitValueWithLeftShift()