Searched refs:RotAmt (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMAddressingModes.h | 125 unsigned RotAmt = TZ & ~1; in getSOImmValRotate() local 128 if ((llvm::rotr<uint32_t>(Imm, RotAmt) & ~255U) == 0) in getSOImmValRotate() 143 return (32-RotAmt)&31; // HW rotates right, not left. in getSOImmValRotate() 154 unsigned RotAmt = getSOImmValRotate(Arg); in getSOImmVal() local 157 if (llvm::rotr<uint32_t>(~255U, RotAmt) & Arg) in getSOImmVal() 161 return llvm::rotl<uint32_t>(Arg, RotAmt) | ((RotAmt >> 1) << 8); in getSOImmVal() 291 unsigned RotAmt = llvm::countl_zero(V); in getT2SOImmValRotateVal() local 292 if (RotAmt >= 24) in getT2SOImmValRotateVal() 298 ((RotAmt + 8) << 7); in getT2SOImmValRotateVal() 324 unsigned RotAmt = llvm::countr_zero(V); in getT2SOImmValRotate() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | Thumb2InstrInfo.cpp | 399 unsigned RotAmt = llvm::countl_zero(ThisVal); in emitT2RegPlusImmediate() local 400 ThisVal = ThisVal & llvm::rotr<uint32_t>(0xff000000U, RotAmt); in emitT2RegPlusImmediate() 604 unsigned RotAmt = llvm::countl_zero<unsigned>(Offset); in rewriteT2FrameIndex() local 605 unsigned ThisImmVal = Offset & llvm::rotr<uint32_t>(0xff000000U, RotAmt); in rewriteT2FrameIndex()
|
| H A D | ARMBaseInstrInfo.cpp | 2487 unsigned RotAmt = ARM_AM::getSOImmValRotate(NumBytes); in emitARMRegPlusImmediate() local 2488 unsigned ThisVal = NumBytes & llvm::rotr<uint32_t>(0xFF, RotAmt); in emitARMRegPlusImmediate() 2668 unsigned RotAmt = ARM_AM::getSOImmValRotate(Offset); in rewriteARMFrameIndex() local 2669 unsigned ThisImmVal = Offset & llvm::rotr<uint32_t>(0xFF, RotAmt); in rewriteARMFrameIndex()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LoadStoreOpt.cpp | 875 auto RotAmt = in mergeTruncStore() local 878 Builder.buildRotateRight(WideStoreTy, WideSrcVal, RotAmt).getReg(0); in mergeTruncStore()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 1639 unsigned RotAmt = V.getConstantOperandVal(1) & (NumBits - 1); in getValueBits() local 1644 Bits[i] = LHSBits[i < RotAmt ? i + (NumBits - RotAmt) : i - RotAmt]; in getValueBits()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 4548 unsigned RotAmt = C->getAPIntValue().urem(VTBits); in ComputeNumSignBits() local 4552 RotAmt = (VTBits - RotAmt) % VTBits; in ComputeNumSignBits() 4556 if (Tmp > (RotAmt + 1)) return (Tmp - RotAmt); in ComputeNumSignBits()
|
| H A D | DAGCombiner.cpp | 9048 SDValue RotAmt = DAG.getConstant(WideNumBits / 2, DL, WideVT); in mergeTruncStores() local 9049 SourceValue = DAG.getNode(ISD::ROTR, DL, WideVT, SourceValue, RotAmt); in mergeTruncStores() 10788 uint64_t RotAmt = Cst->getAPIntValue().urem(BitWidth); in visitFunnelShift() local 10790 DAG.getConstant(RotAmt, SDLoc(N), ShAmtTy)); in visitFunnelShift() 20758 SDValue RotAmt = in tryStoreMergeOfLoads() local 20761 StoreOp = DAG.getNode(ISD::ROTL, LoadDL, JointMemOpVT, NewLoad, RotAmt); in tryStoreMergeOfLoads()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 10961 auto RotateAndPermute = [&](SDValue Lo, SDValue Hi, int RotAmt, int Ofs) { in lowerShuffleAsByteRotateAndPermute() argument 10966 DAG.getTargetConstant(Scale * RotAmt, DL, MVT::i8))); in lowerShuffleAsByteRotateAndPermute() 10974 PermMask[Lane + Elt] = Lane + ((M + Ofs - RotAmt) % NumEltsPerLane); in lowerShuffleAsByteRotateAndPermute() 10976 PermMask[Lane + Elt] = Lane + ((M - Ofs - RotAmt) % NumEltsPerLane); in lowerShuffleAsByteRotateAndPermute() 29853 uint64_t RotAmt = CstSplatValue.urem(EltSizeInBits); in LowerRotate() local 29855 DAG.getTargetConstant(RotAmt, DL, MVT::i8)); in LowerRotate() 29895 uint64_t RotAmt = CstSplatValue.urem(EltSizeInBits); in LowerRotate() local 29897 DAG.getTargetConstant(RotAmt, DL, MVT::i8)); in LowerRotate() 29908 uint64_t RotAmt = CstSplatValue.urem(EltSizeInBits); in LowerRotate() local 29909 uint64_t ShlAmt = IsROTL ? RotAmt : (EltSizeInBits - RotAmt); in LowerRotate() [all …]
|