Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h139 unsigned RotAmt = TZ & ~1; in getSOImmValRotate() local
142 if ((rotr32(Imm, RotAmt) & ~255U) == 0) in getSOImmValRotate()
143 return (32-RotAmt)&31; // HW rotates right, not left. in getSOImmValRotate()
157 return (32-RotAmt)&31; // HW rotates right, not left. in getSOImmValRotate()
168 unsigned RotAmt = getSOImmValRotate(Arg); in getSOImmVal() local
171 if (rotr32(~255U, RotAmt) & Arg) in getSOImmVal()
175 return rotl32(Arg, RotAmt) | ((RotAmt>>1) << 8); in getSOImmVal()
291 unsigned RotAmt = countLeadingZeros(V); in getT2SOImmValRotateVal() local
292 if (RotAmt >= 24) in getT2SOImmValRotateVal()
296 if ((rotr32(0xff000000U, RotAmt) & V) == V) in getT2SOImmValRotateVal()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DAggressiveInstCombine.cpp109 Value *RotSrc, *RotAmt; in foldGuardedRotateToFunnelShift() local
110 Intrinsic::ID IID = matchRotate(P0, RotSrc, RotAmt); in foldGuardedRotateToFunnelShift()
112 IID = matchRotate(P1, RotSrc, RotAmt); in foldGuardedRotateToFunnelShift()
127 if (!match(TermI, m_Br(m_ICmp(Pred, m_Specific(RotAmt), m_ZeroInt()), in foldGuardedRotateToFunnelShift()
150 Phi.replaceAllUsesWith(Builder.CreateCall(F, {RotSrc, RotSrc, RotAmt})); in foldGuardedRotateToFunnelShift()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DThumb2InstrInfo.cpp340 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate() local
341 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt); in emitT2RegPlusImmediate()
545 unsigned RotAmt = countLeadingZeros<unsigned>(Offset); in rewriteT2FrameIndex() local
546 unsigned ThisImmVal = Offset & ARM_AM::rotr32(0xff000000U, RotAmt); in rewriteT2FrameIndex()
DARMBaseInstrInfo.cpp2374 unsigned RotAmt = ARM_AM::getSOImmValRotate(NumBytes); in emitARMRegPlusImmediate() local
2375 unsigned ThisVal = NumBytes & ARM_AM::rotr32(0xFF, RotAmt); in emitARMRegPlusImmediate()
2555 unsigned RotAmt = ARM_AM::getSOImmValRotate(Offset); in rewriteARMFrameIndex() local
2556 unsigned ThisImmVal = Offset & ARM_AM::rotr32(0xFF, RotAmt); in rewriteARMFrameIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp1230 unsigned RotAmt = V.getConstantOperandVal(1); in getValueBits() local
1235 Bits[i] = LHSBits[i < RotAmt ? i + (NumBits - RotAmt) : i - RotAmt]; in getValueBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3760 unsigned RotAmt = C->getAPIntValue().urem(VTBits); in ComputeNumSignBits() local
3764 RotAmt = (VTBits - RotAmt) % VTBits; in ComputeNumSignBits()
3769 if (Tmp > (RotAmt + 1)) return (Tmp - RotAmt); in ComputeNumSignBits()
DDAGCombiner.cpp7411 uint64_t RotAmt = Cst->getAPIntValue().urem(Bitsize); in visitRotate() local
7413 DAG.getConstant(RotAmt, dl, N1.getValueType())); in visitRotate()
8142 uint64_t RotAmt = Cst->getAPIntValue().urem(BitWidth); in visitFunnelShift() local
8144 DAG.getConstant(RotAmt, SDLoc(N), ShAmtTy)); in visitFunnelShift()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp11545 auto RotateAndPermute = [&](SDValue Lo, SDValue Hi, int RotAmt, int Ofs) { in lowerShuffleAsByteRotateAndPermute() argument
11550 DAG.getTargetConstant(Scale * RotAmt, DL, MVT::i8))); in lowerShuffleAsByteRotateAndPermute()
11558 PermMask[Lane + Elt] = Lane + ((M + Ofs - RotAmt) % NumEltsPerLane); in lowerShuffleAsByteRotateAndPermute()
11560 PermMask[Lane + Elt] = Lane + ((M - Ofs - RotAmt) % NumEltsPerLane); in lowerShuffleAsByteRotateAndPermute()