/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/lib/Target/ARM/MCTargetDesc/ |
D | ARMAddressingModes.h | 146 unsigned RotAmt = TZ & ~1; in getSOImmValRotate() local 149 if ((rotr32(Imm, RotAmt) & ~255U) == 0) in getSOImmValRotate() 150 return (32-RotAmt)&31; // HW rotates right, not left. in getSOImmValRotate() 164 return (32-RotAmt)&31; // HW rotates right, not left. in getSOImmValRotate() 175 unsigned RotAmt = getSOImmValRotate(Arg); in getSOImmVal() local 178 if (rotr32(~255U, RotAmt) & Arg) in getSOImmVal() 182 return rotl32(Arg, RotAmt) | ((RotAmt>>1) << 8); in getSOImmVal() 298 unsigned RotAmt = CountLeadingZeros_32(V); in getT2SOImmValRotateVal() local 299 if (RotAmt >= 24) in getT2SOImmValRotateVal() 303 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-7.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMAddressingModes.h | 137 unsigned RotAmt = TZ & ~1; in getSOImmValRotate() local 140 if ((rotr32(Imm, RotAmt) & ~255U) == 0) in getSOImmValRotate() 141 return (32-RotAmt)&31; // HW rotates right, not left. in getSOImmValRotate() 155 return (32-RotAmt)&31; // HW rotates right, not left. in getSOImmValRotate() 166 unsigned RotAmt = getSOImmValRotate(Arg); in getSOImmVal() local 169 if (rotr32(~255U, RotAmt) & Arg) in getSOImmVal() 173 return rotl32(Arg, RotAmt) | ((RotAmt>>1) << 8); in getSOImmVal() 289 unsigned RotAmt = countLeadingZeros(V); in getT2SOImmValRotateVal() local 290 if (RotAmt >= 24) in getT2SOImmValRotateVal() 294 if ((rotr32(0xff000000U, RotAmt) & V) == V) in getT2SOImmValRotateVal() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | Thumb2InstrInfo.cpp | 250 unsigned RotAmt = CountLeadingZeros_32(ThisVal); in emitT2RegPlusImmediate() local 251 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt); in emitT2RegPlusImmediate() 267 unsigned RotAmt = CountLeadingZeros_32(ThisVal); in emitT2RegPlusImmediate() local 268 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt); in emitT2RegPlusImmediate() 449 unsigned RotAmt = CountLeadingZeros_32(Offset); in rewriteT2FrameIndex() local 450 unsigned ThisImmVal = Offset & ARM_AM::rotr32(0xff000000U, RotAmt); in rewriteT2FrameIndex()
|
D | ARMBaseInstrInfo.cpp | 1518 unsigned RotAmt = ARM_AM::getSOImmValRotate(NumBytes); in emitARMRegPlusImmediate() local 1519 unsigned ThisVal = NumBytes & ARM_AM::rotr32(0xFF, RotAmt); in emitARMRegPlusImmediate() 1575 unsigned RotAmt = ARM_AM::getSOImmValRotate(Offset); in rewriteARMFrameIndex() local 1576 unsigned ThisImmVal = Offset & ARM_AM::rotr32(0xFF, RotAmt); in rewriteARMFrameIndex()
|
/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-7.0/llvm/lib/Target/ARM/ |
D | Thumb2InstrInfo.cpp | 333 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate() local 334 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt); in emitT2RegPlusImmediate() 350 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate() local 351 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt); in emitT2RegPlusImmediate() 541 unsigned RotAmt = countLeadingZeros<unsigned>(Offset); in rewriteT2FrameIndex() local 542 unsigned ThisImmVal = Offset & ARM_AM::rotr32(0xff000000U, RotAmt); in rewriteT2FrameIndex()
|
D | ARMBaseInstrInfo.cpp | 2228 unsigned RotAmt = ARM_AM::getSOImmValRotate(NumBytes); in emitARMRegPlusImmediate() local 2229 unsigned ThisVal = NumBytes & ARM_AM::rotr32(0xFF, RotAmt); in emitARMRegPlusImmediate() 2406 unsigned RotAmt = ARM_AM::getSOImmValRotate(Offset); in rewriteARMFrameIndex() local 2407 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/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 2186 unsigned RotAmt = C->getZExtValue() & (VTBits-1); in ComputeNumSignBits() local 2190 RotAmt = (VTBits-RotAmt) & (VTBits-1); in ComputeNumSignBits() 2195 if (Tmp > RotAmt+1) return Tmp-RotAmt; in ComputeNumSignBits()
|
/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-7.0/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 1197 unsigned RotAmt = V.getConstantOperandVal(1); in getValueBits() local 1202 Bits[i] = LHSBits[i < RotAmt ? i + (NumBits - RotAmt) : i - RotAmt]; in getValueBits()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 3377 unsigned RotAmt = C->getAPIntValue().urem(VTBits); in ComputeNumSignBits() local 3381 RotAmt = (VTBits - RotAmt) % VTBits; in ComputeNumSignBits() 3386 if (Tmp > (RotAmt + 1)) return (Tmp - RotAmt); in ComputeNumSignBits()
|
D | DAGCombiner.cpp | 6248 uint64_t RotAmt = Cst->getAPIntValue().urem(Bitsize); in visitRotate() local 6250 DAG.getConstant(RotAmt, dl, N1.getValueType())); in visitRotate()
|