/external/capstone/arch/ARM/ |
D | ARMAddressingModes.h | 150 unsigned TZ, RotAmt; in getSOImmValRotate() local 160 RotAmt = TZ & ~1; in getSOImmValRotate() 163 if ((rotr32(Imm, RotAmt) & ~255U) == 0) in getSOImmValRotate() 164 return (32-RotAmt)&31; // HW rotates right, not left. in getSOImmValRotate() 178 return (32-RotAmt)&31; // HW rotates right, not left. in getSOImmValRotate() 186 unsigned RotAmt; in getSOImmVal() local 191 RotAmt = getSOImmValRotate(Arg); in getSOImmVal() 194 if (rotr32(~255U, RotAmt) & Arg) in getSOImmVal() 198 return rotl32(Arg, RotAmt) | ((RotAmt>>1) << 8); in getSOImmVal() 324 unsigned RotAmt = CountLeadingZeros_32(V); in getT2SOImmValRotateVal() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMAddressingModes.h | 139 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 …]
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMAddressingModes.h | 147 unsigned RotAmt = TZ & ~1; in getSOImmValRotate() local 150 if ((rotr32(Imm, RotAmt) & ~255U) == 0) in getSOImmValRotate() 151 return (32-RotAmt)&31; // HW rotates right, not left. in getSOImmValRotate() 165 return (32-RotAmt)&31; // HW rotates right, not left. in getSOImmValRotate() 176 unsigned RotAmt = getSOImmValRotate(Arg); in getSOImmVal() local 179 if (rotr32(~255U, RotAmt) & Arg) in getSOImmVal() 183 return rotl32(Arg, RotAmt) | ((RotAmt>>1) << 8); in getSOImmVal() 299 unsigned RotAmt = countLeadingZeros(V); in getT2SOImmValRotateVal() local 300 if (RotAmt >= 24) in getT2SOImmValRotateVal() 304 if ((rotr32(0xff000000U, RotAmt) & V) == V) in getT2SOImmValRotateVal() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | AggressiveInstCombine.cpp | 109 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()
|
/external/llvm/lib/Target/ARM/ |
D | Thumb2InstrInfo.cpp | 311 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate() local 312 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt); in emitT2RegPlusImmediate() 328 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate() local 329 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt); in emitT2RegPlusImmediate() 517 unsigned RotAmt = countLeadingZeros<unsigned>(Offset); in rewriteT2FrameIndex() local 518 unsigned ThisImmVal = Offset & ARM_AM::rotr32(0xff000000U, RotAmt); in rewriteT2FrameIndex()
|
D | ARMBaseInstrInfo.cpp | 2016 unsigned RotAmt = ARM_AM::getSOImmValRotate(NumBytes); in emitARMRegPlusImmediate() local 2017 unsigned ThisVal = NumBytes & ARM_AM::rotr32(0xFF, RotAmt); in emitARMRegPlusImmediate() 2181 unsigned RotAmt = ARM_AM::getSOImmValRotate(Offset); in rewriteARMFrameIndex() local 2182 unsigned ThisImmVal = Offset & ARM_AM::rotr32(0xFF, RotAmt); in rewriteARMFrameIndex()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | Thumb2InstrInfo.cpp | 340 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()
|
D | ARMBaseInstrInfo.cpp | 2374 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()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 923 unsigned RotAmt = V.getConstantOperandVal(1); in getValueBits() local 929 Bits[i] = LHSBits[i < RotAmt ? i + (Bits.size() - RotAmt) : i - RotAmt]; in getValueBits()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 2640 unsigned RotAmt = C->getZExtValue() & (VTBits-1); in ComputeNumSignBits() local 2644 RotAmt = (VTBits-RotAmt) & (VTBits-1); in ComputeNumSignBits() 2649 if (Tmp > RotAmt+1) return Tmp-RotAmt; in ComputeNumSignBits()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 1230 unsigned RotAmt = V.getConstantOperandVal(1); in getValueBits() local 1235 Bits[i] = LHSBits[i < RotAmt ? i + (NumBits - RotAmt) : i - RotAmt]; in getValueBits()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 3760 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()
|
D | DAGCombiner.cpp | 7411 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 11548 auto RotateAndPermute = [&](SDValue Lo, SDValue Hi, int RotAmt, int Ofs) { in lowerShuffleAsByteRotateAndPermute() argument 11553 DAG.getTargetConstant(Scale * RotAmt, DL, MVT::i8))); in lowerShuffleAsByteRotateAndPermute() 11561 PermMask[Lane + Elt] = Lane + ((M + Ofs - RotAmt) % NumEltsPerLane); in lowerShuffleAsByteRotateAndPermute() 11563 PermMask[Lane + Elt] = Lane + ((M - Ofs - RotAmt) % NumEltsPerLane); in lowerShuffleAsByteRotateAndPermute()
|