Searched refs:AM2Opc (Results 1 – 2 of 2) sorted by relevance
413 static inline unsigned getAM2Offset(unsigned AM2Opc) { in getAM2Offset() argument414 return AM2Opc & ((1 << 12)-1); in getAM2Offset()416 static inline AddrOpc getAM2Op(unsigned AM2Opc) { in getAM2Op() argument417 return ((AM2Opc >> 12) & 1) ? sub : add; in getAM2Op()419 static inline ShiftOpc getAM2ShiftOpc(unsigned AM2Opc) { in getAM2ShiftOpc() argument420 return (ShiftOpc)((AM2Opc >> 13) & 7); in getAM2ShiftOpc()422 static inline unsigned getAM2IdxMode(unsigned AM2Opc) { in getAM2IdxMode() argument423 return (AM2Opc >> 16); in getAM2IdxMode()
1146 unsigned AM2Opc = (ImplicitRn == ARM::PC) in emitLoadStoreInstruction() local1150 Binary |= ((ARM_AM::getAM2Op(AM2Opc) == ARM_AM::add ? 1 : 0) << in emitLoadStoreInstruction()1153 if (ARM_AM::getAM2Offset(AM2Opc)) in emitLoadStoreInstruction()1155 Binary |= ARM_AM::getAM2Offset(AM2Opc); in emitLoadStoreInstruction()1168 if (unsigned ShImm = ARM_AM::getAM2Offset(AM2Opc)) { in emitLoadStoreInstruction()1169 Binary |= getShiftOp(AM2Opc) << ARMII::ShiftImmShift; // shift in emitLoadStoreInstruction()