Home
last modified time | relevance | path

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

/external/capstone/arch/ARM/
DARMAddressingModes.h450 static inline unsigned getAM2Offset(unsigned AM2Opc) in getAM2Offset() argument
452 return AM2Opc & ((1 << 12)-1); in getAM2Offset()
455 static inline ARM_AM_AddrOpc getAM2Op(unsigned AM2Opc) in getAM2Op() argument
457 return ((AM2Opc >> 12) & 1) ? ARM_AM_sub : ARM_AM_add; in getAM2Op()
460 static inline ARM_AM_ShiftOpc getAM2ShiftOpc(unsigned AM2Opc) in getAM2ShiftOpc() argument
462 return (ARM_AM_ShiftOpc)((AM2Opc >> 13) & 7); in getAM2ShiftOpc()
465 static inline unsigned getAM2IdxMode(unsigned AM2Opc) in getAM2IdxMode() argument
467 return (AM2Opc >> 16); in getAM2IdxMode()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h412 static inline unsigned getAM2Offset(unsigned AM2Opc) { in getAM2Offset() argument
413 return AM2Opc & ((1 << 12)-1); in getAM2Offset()
415 static inline AddrOpc getAM2Op(unsigned AM2Opc) { in getAM2Op() argument
416 return ((AM2Opc >> 12) & 1) ? sub : add; in getAM2Op()
418 static inline ShiftOpc getAM2ShiftOpc(unsigned AM2Opc) { in getAM2ShiftOpc() argument
419 return (ShiftOpc)((AM2Opc >> 13) & 7); in getAM2ShiftOpc()
421 static inline unsigned getAM2IdxMode(unsigned AM2Opc) { in getAM2IdxMode() argument
422 return (AM2Opc >> 16); in getAM2IdxMode()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h413 static inline unsigned getAM2Offset(unsigned AM2Opc) { in getAM2Offset() argument
414 return AM2Opc & ((1 << 12)-1); in getAM2Offset()
416 static inline AddrOpc getAM2Op(unsigned AM2Opc) { in getAM2Op() argument
417 return ((AM2Opc >> 12) & 1) ? sub : add; in getAM2Op()
419 static inline ShiftOpc getAM2ShiftOpc(unsigned AM2Opc) { in getAM2ShiftOpc() argument
420 return (ShiftOpc)((AM2Opc >> 13) & 7); in getAM2ShiftOpc()
422 static inline unsigned getAM2IdxMode(unsigned AM2Opc) { in getAM2IdxMode() argument
423 return (AM2Opc >> 16); in getAM2IdxMode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h403 inline unsigned getAM2Offset(unsigned AM2Opc) { in getAM2Offset() argument
404 return AM2Opc & ((1 << 12)-1); in getAM2Offset()
406 inline AddrOpc getAM2Op(unsigned AM2Opc) { in getAM2Op() argument
407 return ((AM2Opc >> 12) & 1) ? sub : add; in getAM2Op()
409 inline ShiftOpc getAM2ShiftOpc(unsigned AM2Opc) { in getAM2ShiftOpc() argument
410 return (ShiftOpc)((AM2Opc >> 13) & 7); in getAM2ShiftOpc()
412 inline unsigned getAM2IdxMode(unsigned AM2Opc) { return (AM2Opc >> 16); } in getAM2IdxMode() argument
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMCodeEmitter.cpp1146 unsigned AM2Opc = (ImplicitRn == ARM::PC) in emitLoadStoreInstruction() local
1150 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()