/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-project/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() 305 unsigned RotAmt = countLeadingZeros(V); in getT2SOImmValRotateVal() local 306 if (RotAmt >= 24) in getT2SOImmValRotateVal() 310 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-project/llvm/lib/Target/ARM/ |
D | Thumb2InstrInfo.cpp | 387 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate() local 388 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt); in emitT2RegPlusImmediate() 592 unsigned RotAmt = countLeadingZeros<unsigned>(Offset); in rewriteT2FrameIndex() local 593 unsigned ThisImmVal = Offset & ARM_AM::rotr32(0xff000000U, RotAmt); in rewriteT2FrameIndex()
|
D | ARMBaseInstrInfo.cpp | 2424 unsigned RotAmt = ARM_AM::getSOImmValRotate(NumBytes); in emitARMRegPlusImmediate() local 2425 unsigned ThisVal = NumBytes & ARM_AM::rotr32(0xFF, RotAmt); in emitARMRegPlusImmediate() 2605 unsigned RotAmt = ARM_AM::getSOImmValRotate(Offset); in rewriteARMFrameIndex() local 2606 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-project/llvm/lib/Target/RISCV/ |
D | RISCVISelLowering.cpp | 1376 uint64_t RotAmt = Reverse.getConstantOperandVal(1); in combineORToGORC() local 1377 if (RotAmt == (VT.getSizeInBits() / 2)) in combineORToGORC() 1380 DAG.getTargetConstant(RotAmt, DL, Subtarget.getXLenVT())); in combineORToGORC()
|
/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/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 1188 unsigned RotAmt = V.getConstantOperandVal(1); in getValueBits() local 1193 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/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 3737 unsigned RotAmt = C->getAPIntValue().urem(VTBits); in ComputeNumSignBits() local 3741 RotAmt = (VTBits - RotAmt) % VTBits; in ComputeNumSignBits() 3745 if (Tmp > (RotAmt + 1)) return (Tmp - RotAmt); in ComputeNumSignBits()
|
D | DAGCombiner.cpp | 7262 SDValue RotAmt = DAG.getConstant(WideNumBits / 2, DL, WideVT); in mergeTruncStores() local 7263 SourceValue = DAG.getNode(ISD::ROTR, DL, WideVT, SourceValue, RotAmt); in mergeTruncStores() 8793 uint64_t RotAmt = Cst->getAPIntValue().urem(BitWidth); in visitFunnelShift() local 8795 DAG.getConstant(RotAmt, SDLoc(N), ShAmtTy)); in visitFunnelShift() 17244 SDValue RotAmt = in tryStoreMergeOfLoads() local 17247 StoreOp = DAG.getNode(ISD::ROTL, LoadDL, JointMemOpVT, NewLoad, RotAmt); in tryStoreMergeOfLoads()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 12170 auto RotateAndPermute = [&](SDValue Lo, SDValue Hi, int RotAmt, int Ofs) { in lowerShuffleAsByteRotateAndPermute() argument 12175 DAG.getTargetConstant(Scale * RotAmt, DL, MVT::i8))); in lowerShuffleAsByteRotateAndPermute() 12183 PermMask[Lane + Elt] = Lane + ((M + Ofs - RotAmt) % NumEltsPerLane); in lowerShuffleAsByteRotateAndPermute() 12185 PermMask[Lane + Elt] = Lane + ((M - Ofs - RotAmt) % NumEltsPerLane); in lowerShuffleAsByteRotateAndPermute() 28218 uint64_t RotAmt = CstSplatValue.urem(EltSizeInBits); in LowerRotate() local 28220 DAG.getTargetConstant(RotAmt, DL, MVT::i8)); in LowerRotate() 28245 uint64_t RotAmt = CstSplatValue.urem(EltSizeInBits); in LowerRotate() local 28247 DAG.getTargetConstant(RotAmt, DL, MVT::i8)); in LowerRotate()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 11545 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()
|