Home
last modified time | relevance | path

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

/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/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()