Home
last modified time | relevance | path

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

/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/llvm/lib/Target/ARM/
DThumb2InstrInfo.cpp304 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate() local
305 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt); in emitT2RegPlusImmediate()
321 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate() local
322 ThisVal = ThisVal & ARM_AM::rotr32(0xff000000U, RotAmt); in emitT2RegPlusImmediate()
510 unsigned RotAmt = countLeadingZeros<unsigned>(Offset); in rewriteT2FrameIndex() local
511 unsigned ThisImmVal = Offset & ARM_AM::rotr32(0xff000000U, RotAmt); in rewriteT2FrameIndex()
DARMBaseInstrInfo.cpp2013 unsigned RotAmt = ARM_AM::getSOImmValRotate(NumBytes); in emitARMRegPlusImmediate() local
2014 unsigned ThisVal = NumBytes & ARM_AM::rotr32(0xFF, RotAmt); in emitARMRegPlusImmediate()
2178 unsigned RotAmt = ARM_AM::getSOImmValRotate(Offset); in rewriteARMFrameIndex() local
2179 unsigned ThisImmVal = Offset & ARM_AM::rotr32(0xFF, RotAmt); in rewriteARMFrameIndex()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp927 unsigned RotAmt = V.getConstantOperandVal(1); in getValueBits() local
933 Bits[i] = LHSBits[i < RotAmt ? i + (Bits.size() - RotAmt) : i - RotAmt]; in getValueBits()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2636 unsigned RotAmt = C->getZExtValue() & (VTBits-1); in ComputeNumSignBits() local
2640 RotAmt = (VTBits-RotAmt) & (VTBits-1); in ComputeNumSignBits()
2645 if (Tmp > RotAmt+1) return Tmp-RotAmt; in ComputeNumSignBits()