Home
last modified time | relevance | path

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

/external/capstone/arch/ARM/
DARMAddressingModes.h150 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/
DARMAddressingModes.h146 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/
DARMAddressingModes.h147 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/
DARMAddressingModes.h137 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/
DThumb2InstrInfo.cpp250 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()
DARMBaseInstrInfo.cpp1518 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/
DThumb2InstrInfo.cpp311 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()
DARMBaseInstrInfo.cpp2016 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/
DThumb2InstrInfo.cpp333 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()
DARMBaseInstrInfo.cpp2228 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/
DPPCISelDAGToDAG.cpp923 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/
DSelectionDAG.cpp2186 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/
DSelectionDAG.cpp2640 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/
DPPCISelDAGToDAG.cpp1197 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/
DSelectionDAG.cpp3377 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()
DDAGCombiner.cpp6248 uint64_t RotAmt = Cst->getAPIntValue().urem(Bitsize); in visitRotate() local
6250 DAG.getConstant(RotAmt, dl, N1.getValueType())); in visitRotate()