Home
last modified time | relevance | path

Searched refs:RotAmt (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAddressingModes.h125 unsigned RotAmt = TZ & ~1; in getSOImmValRotate() local
128 if ((llvm::rotr<uint32_t>(Imm, RotAmt) & ~255U) == 0) in getSOImmValRotate()
129 return (32-RotAmt)&31; // HW rotates right, not left. 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()
296 if ((llvm::rotr<uint32_t>(0xff000000U, RotAmt) & V) == V) in getT2SOImmValRotateVal()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb2InstrInfo.cpp419 unsigned RotAmt = llvm::countl_zero(ThisVal); in emitT2RegPlusImmediate() local
420 ThisVal = ThisVal & llvm::rotr<uint32_t>(0xff000000U, RotAmt); in emitT2RegPlusImmediate()
624 unsigned RotAmt = llvm::countl_zero<unsigned>(Offset); in rewriteT2FrameIndex() local
625 unsigned ThisImmVal = Offset & llvm::rotr<uint32_t>(0xff000000U, RotAmt); in rewriteT2FrameIndex()
H A DARMBaseInstrInfo.cpp2488 unsigned RotAmt = ARM_AM::getSOImmValRotate(NumBytes); in emitARMRegPlusImmediate() local
2489 unsigned ThisVal = NumBytes & llvm::rotr<uint32_t>(0xFF, RotAmt); in emitARMRegPlusImmediate()
2669 unsigned RotAmt = ARM_AM::getSOImmValRotate(Offset); in rewriteARMFrameIndex() local
2670 unsigned ThisImmVal = Offset & llvm::rotr<uint32_t>(0xFF, RotAmt); in rewriteARMFrameIndex()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp889 auto RotAmt = in mergeTruncStore() local
892 Builder.buildRotateRight(WideStoreTy, WideSrcVal, RotAmt).getReg(0); in mergeTruncStore()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1626 unsigned RotAmt = V.getConstantOperandVal(1) & (NumBits - 1); in getValueBits() local
1631 Bits[i] = LHSBits[i < RotAmt ? i + (NumBits - RotAmt) : i - RotAmt]; in getValueBits()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp4749 unsigned RotAmt = C->getAPIntValue().urem(VTBits); in ComputeNumSignBits() local
4753 RotAmt = (VTBits - RotAmt) % VTBits; in ComputeNumSignBits()
4757 if (Tmp > (RotAmt + 1)) return (Tmp - RotAmt); in ComputeNumSignBits()
H A DDAGCombiner.cpp9061 SDValue RotAmt = DAG.getConstant(WideNumBits / 2, DL, WideVT); in mergeTruncStores() local
9062 SourceValue = DAG.getNode(ISD::ROTR, DL, WideVT, SourceValue, RotAmt); in mergeTruncStores()
10799 uint64_t RotAmt = Cst->getAPIntValue().urem(BitWidth); in visitFunnelShift() local
10801 DAG.getConstant(RotAmt, DL, ShAmtTy)); in visitFunnelShift()
21104 SDValue RotAmt = in tryStoreMergeOfLoads() local
21107 StoreOp = DAG.getNode(ISD::ROTL, LoadDL, JointMemOpVT, NewLoad, RotAmt); in tryStoreMergeOfLoads()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp11094 auto RotateAndPermute = [&](SDValue Lo, SDValue Hi, int RotAmt, int Ofs) { in lowerShuffleAsByteRotateAndPermute() argument
11099 DAG.getTargetConstant(Scale * RotAmt, DL, MVT::i8))); in lowerShuffleAsByteRotateAndPermute()
11107 PermMask[Lane + Elt] = Lane + ((M + Ofs - RotAmt) % NumEltsPerLane); in lowerShuffleAsByteRotateAndPermute()
11109 PermMask[Lane + Elt] = Lane + ((M - Ofs - RotAmt) % NumEltsPerLane); in lowerShuffleAsByteRotateAndPermute()
30178 uint64_t RotAmt = CstSplatValue.urem(EltSizeInBits); in LowerRotate() local
30180 DAG.getTargetConstant(RotAmt, DL, MVT::i8)); in LowerRotate()
30210 uint64_t RotAmt = CstSplatValue.urem(EltSizeInBits); in LowerRotate() local
30211 SDValue Mask = getGFNICtrlMask(Opcode, DAG, DL, VT, RotAmt); in LowerRotate()
30229 uint64_t RotAmt = CstSplatValue.urem(EltSizeInBits); in LowerRotate() local
30231 DAG.getTargetConstant(RotAmt, DL, MVT::i8)); in LowerRotate()
[all …]