Home
last modified time | relevance | path

Searched refs:Imm12 (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h406 static inline unsigned getAM2Opc(AddrOpc Opc, unsigned Imm12, ShiftOpc SO,
408 assert(Imm12 < (1 << 12) && "Imm too large!");
410 return Imm12 | ((int)isSub << 12) | (SO << 13) | (IdxMode << 16) ;
DARMMCCodeEmitter.cpp704 unsigned Reg, Imm12; in getAddrModeImm12OpValue() local
710 Imm12 = 0; in getAddrModeImm12OpValue()
731 Imm12 = Offset; in getAddrModeImm12OpValue()
734 isAdd = EncodeAddrModeOpValues(MI, OpIdx, Reg, Imm12, Fixups); in getAddrModeImm12OpValue()
736 uint32_t Binary = Imm12 & 0xfff; in getAddrModeImm12OpValue()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h407 static inline unsigned getAM2Opc(AddrOpc Opc, unsigned Imm12, ShiftOpc SO,
409 assert(Imm12 < (1 << 12) && "Imm too large!");
411 return Imm12 | ((int)isSub << 12) | (SO << 13) | (IdxMode << 16) ;
DARMMCCodeEmitter.cpp878 unsigned Reg, Imm12; in getAddrModeImm12OpValue() local
884 Imm12 = 0; in getAddrModeImm12OpValue()
908 Imm12 = Offset; in getAddrModeImm12OpValue()
911 isAdd = EncodeAddrModeOpValues(MI, OpIdx, Reg, Imm12, Fixups, STI); in getAddrModeImm12OpValue()
913 uint32_t Binary = Imm12 & 0xfff; in getAddrModeImm12OpValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h397 inline unsigned getAM2Opc(AddrOpc Opc, unsigned Imm12, ShiftOpc SO,
399 assert(Imm12 < (1 << 12) && "Imm too large!");
401 return Imm12 | ((int)isSub << 12) | (SO << 13) | (IdxMode << 16) ;
DARMMCCodeEmitter.cpp889 unsigned Reg, Imm12; in getAddrModeImm12OpValue() local
895 Imm12 = 0; in getAddrModeImm12OpValue()
919 Imm12 = Offset; in getAddrModeImm12OpValue()
922 isAdd = EncodeAddrModeOpValues(MI, OpIdx, Reg, Imm12, Fixups, STI); in getAddrModeImm12OpValue()
924 uint32_t Binary = Imm12 & 0xfff; in getAddrModeImm12OpValue()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMCodeEmitter.cpp256 int32_t Imm12 = MO1.getImm(); in getAddrModeImm12OpValue() local
258 Binary = Imm12 & 0xfff; in getAddrModeImm12OpValue()
259 if (Imm12 >= 0) in getAddrModeImm12OpValue()
298 int32_t Imm12 = MO1.getImm(); in getAddrMode5OpValue() local
301 if (Imm12 == INT32_MIN) in getAddrMode5OpValue()
302 Imm12 = 0; in getAddrMode5OpValue()
307 if (Imm12 < 0) { in getAddrMode5OpValue()
308 Imm12 = -Imm12; in getAddrMode5OpValue()
312 uint32_t Binary = Imm12 & 0xfff; in getAddrMode5OpValue()
/external/capstone/arch/ARM/
DARMAddressingModes.h442 static inline unsigned ARM_AM_getAM2Opc(ARM_AM_AddrOpc Opc, unsigned Imm12, ARM_AM_ShiftOpc SO, in ARM_AM_getAM2Opc() argument
447 return Imm12 | ((int)isSub << 12) | (SO << 13) | (IdxMode << 16) ; in ARM_AM_getAM2Opc()
/external/swiftshader/third_party/subzero/src/
DIceAssemblerARM32.cpp796 IValueT Rd, IValueT Imm12, in emitType01() argument
810 (Rn << kRnShift) | (Rd << kRdShift) | Imm12; in emitType01()