Searched refs:AM2Opc (Results 1 – 5 of 5) sorted by relevance
450 static inline unsigned getAM2Offset(unsigned AM2Opc) in getAM2Offset() argument452 return AM2Opc & ((1 << 12)-1); in getAM2Offset()455 static inline ARM_AM_AddrOpc getAM2Op(unsigned AM2Opc) in getAM2Op() argument457 return ((AM2Opc >> 12) & 1) ? ARM_AM_sub : ARM_AM_add; in getAM2Op()460 static inline ARM_AM_ShiftOpc getAM2ShiftOpc(unsigned AM2Opc) in getAM2ShiftOpc() argument462 return (ARM_AM_ShiftOpc)((AM2Opc >> 13) & 7); in getAM2ShiftOpc()465 static inline unsigned getAM2IdxMode(unsigned AM2Opc) in getAM2IdxMode() argument467 return (AM2Opc >> 16); in getAM2IdxMode()
412 static inline unsigned getAM2Offset(unsigned AM2Opc) { in getAM2Offset() argument413 return AM2Opc & ((1 << 12)-1); in getAM2Offset()415 static inline AddrOpc getAM2Op(unsigned AM2Opc) { in getAM2Op() argument416 return ((AM2Opc >> 12) & 1) ? sub : add; in getAM2Op()418 static inline ShiftOpc getAM2ShiftOpc(unsigned AM2Opc) { in getAM2ShiftOpc() argument419 return (ShiftOpc)((AM2Opc >> 13) & 7); in getAM2ShiftOpc()421 static inline unsigned getAM2IdxMode(unsigned AM2Opc) { in getAM2IdxMode() argument422 return (AM2Opc >> 16); in getAM2IdxMode()
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()
403 inline unsigned getAM2Offset(unsigned AM2Opc) { in getAM2Offset() argument404 return AM2Opc & ((1 << 12)-1); in getAM2Offset()406 inline AddrOpc getAM2Op(unsigned AM2Opc) { in getAM2Op() argument407 return ((AM2Opc >> 12) & 1) ? sub : add; in getAM2Op()409 inline ShiftOpc getAM2ShiftOpc(unsigned AM2Opc) { in getAM2ShiftOpc() argument410 return (ShiftOpc)((AM2Opc >> 13) & 7); in getAM2ShiftOpc()412 inline unsigned getAM2IdxMode(unsigned AM2Opc) { return (AM2Opc >> 16); } in getAM2IdxMode() argument
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()