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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAddressingModes.h139 unsigned RotAmt = TZ & ~1; local
142 if ((rotr32(Imm, RotAmt) & ~255U) == 0)
143 return (32-RotAmt)&31; // HW rotates right, not left.
157 return (32-RotAmt)&31; // HW rotates right, not left.
168 unsigned RotAmt = getSOImmValRotate(Arg); local
171 if (rotr32(~255U, RotAmt) & Arg)
175 return rotl32(Arg, RotAmt) | ((RotAmt>>1) << 8);
291 unsigned RotAmt = countLeadingZeros(V); local
292 if (RotAmt >
323 unsigned RotAmt = countTrailingZeros(V); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp106 // phi [ rotate(RotSrc, RotAmt), RotBB ], [ RotSrc, GuardBB ]
109 Value *RotSrc, *RotAmt; local
110 Intrinsic::ID IID = matchRotate(P0, RotSrc, RotAmt);
112 IID = matchRotate(P1, RotSrc, RotAmt);
127 if (!match(TermI, m_Br(m_ICmp(Pred, m_Specific(RotAmt), m_ZeroInt()),
136 // %cmp = icmp eq i32 %RotAmt, 0
139 // %sub = sub i32 32, %RotAmt
141 // %shl = shl i32 %X, %RotAmt
147 // llvm.fshl.i32(i32 %X, i32 %RotAmt)
150 Phi.replaceAllUsesWith(Builder.CreateCall(F, {RotSrc, RotSrc, RotAmt}));
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb2InstrInfo.cpp340 unsigned RotAmt = countLeadingZeros(ThisVal);
341 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt);
545 unsigned RotAmt = countLeadingZeros<unsigned>(Offset);
546 unsigned ThisImmVal = Offset & ARM_AM::rotr32(0xff000000U, RotAmt);
H A DARMBaseInstrInfo.cpp2374 unsigned RotAmt = ARM_AM::getSOImmValRotate(NumBytes);
2375 unsigned ThisVal = NumBytes & ARM_AM::rotr32(0xFF, RotAmt);
2555 unsigned RotAmt = ARM_AM::getSOImmValRotate(Offset); local
2556 unsigned ThisImmVal = Offset & ARM_AM::rotr32(0xFF, RotAmt);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1230 unsigned RotAmt = V.getConstantOperandVal(1); local
1235 Bits[i] = LHSBits[i < RotAmt ? i + (NumBits - RotAmt) : i - RotAmt];
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3757 unsigned RotAmt = C->getAPIntValue().urem(VTBits);
3761 RotAmt = (VTBits - RotAmt) % VTBits;
3766 if (Tmp > (RotAmt + 1)) return (Tmp - RotAmt);
H A DDAGCombiner.cpp7418 uint64_t RotAmt = Cst->getAPIntValue().urem(Bitsize); local
7420 DAG.getConstant(RotAmt, dl, N1.getValueType()));
8149 uint64_t RotAmt = Cst->getAPIntValue().urem(BitWidth); local
8151 DAG.getConstant(RotAmt, SDLoc(N), ShAmtTy));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp11545 auto RotateAndPermute = [&](SDValue Lo, SDValue Hi, int RotAmt, int Ofs) {
11550 DAG.getTargetConstant(Scale * RotAmt, DL, MVT::i8)));
11558 PermMask[Lane + Elt] = Lane + ((M + Ofs - RotAmt) % NumEltsPerLane);
11560 PermMask[Lane + Elt] = Lane + ((M - Ofs - RotAmt) % NumEltsPerLane);
[all...]

Completed in 288 milliseconds