Home
last modified time | relevance | path

Searched refs:Imm8 (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCCodeEmitter.cpp944 int32_t Imm8 = MI.getOperand(OpIdx).getImm(); in getT2Imm8s4OpValue() local
945 bool isAdd = Imm8 >= 0; in getT2Imm8s4OpValue()
948 if (Imm8 < 0) in getT2Imm8s4OpValue()
949 Imm8 = -(uint32_t)Imm8; in getT2Imm8s4OpValue()
952 Imm8 /= 4; in getT2Imm8s4OpValue()
954 uint32_t Binary = Imm8 & 0xff; in getT2Imm8s4OpValue()
970 unsigned Reg, Imm8; in getT2AddrModeImm8s4OpValue() local
976 Imm8 = 0; in getT2AddrModeImm8s4OpValue()
986 isAdd = EncodeAddrModeOpValues(MI, OpIdx, Reg, Imm8, Fixups, STI); in getT2AddrModeImm8s4OpValue()
994 uint32_t Binary = (Imm8 >> 2) & 0xff; in getT2AddrModeImm8s4OpValue()
[all …]
DARMAddressingModes.h543 unsigned Imm8 = getNEONModImmVal(ModImm); in decodeNEONModImm() local
548 Val = Imm8; in decodeNEONModImm()
553 Val = Imm8 << (8 * ByteNum); in decodeNEONModImm()
558 Val = Imm8 << (8 * ByteNum); in decodeNEONModImm()
563 Val = (Imm8 << (8 * ByteNum)) | (0xffff >> (8 * (2 - ByteNum))); in decodeNEONModImm()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86BaseInfo.h405 Imm8 = 1 << ImmShift, enumerator
578 case X86II::Imm8: in getSizeOfImm()
598 case X86II::Imm8: in isImmPCRel()
614 case X86II::Imm8: in isImmSigned()
/external/llvm/lib/Target/X86/
DX86InstrFormats.td66 def Imm8 : ImmType<1>;
350 : X86Inst<o, f, Imm8, outs, ins, asm, itin, d> {
502 // PSIi8 - SSE1 instructions with ImmT == Imm8 and PS prefix.
532 // SDIi8 - SSE2 instructions with ImmT == Imm8 and XD prefix.
534 // SSDIi8 - SSE2 instructions with ImmT == Imm8 and XS prefix.
536 // PDIi8 - SSE2 instructions with ImmT == Imm8 and PD prefix.
542 // MMXSDIi8 - SSE2 instructions with ImmT == Imm8 and XD prefix as well as
544 // MMXSSDIi8 - SSE2 instructions with ImmT == Imm8 and XS prefix as well as
644 // SS41AIi8 - SSE 4.1 instructions with TA prefix and ImmT == Imm8.
679 // AVXAIi8 - AVX instructions with TAPD prefix and ImmT = Imm8.
[all …]
DX86InstrArithmetic.td576 /// example, i8 -> Imm8, i16 -> Imm16, i32 -> Imm32. Note that i64 -> Imm32
619 Imm8 , i8imm , imm, i8imm , invalid_node,
797 let ImmT = Imm8; // Always 8-bit immediate.
892 let ImmT = Imm8; // Always 8-bit immediate.
/external/llvm/lib/Target/ARM/
DARMInstrInfo.td626 def Imm8AsmOperand: ImmAsmOperand { let Name = "Imm8"; }