/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCCodeEmitter.cpp | 936 int32_t Imm8 = MI.getOperand(OpIdx).getImm(); in getT2Imm8s4OpValue() local 937 bool isAdd = Imm8 >= 0; in getT2Imm8s4OpValue() 940 if (Imm8 < 0) in getT2Imm8s4OpValue() 941 Imm8 = -(uint32_t)Imm8; in getT2Imm8s4OpValue() 944 Imm8 /= 4; in getT2Imm8s4OpValue() 946 uint32_t Binary = Imm8 & 0xff; in getT2Imm8s4OpValue() 962 unsigned Reg, Imm8; in getT2AddrModeImm8s4OpValue() local 968 Imm8 = 0; in getT2AddrModeImm8s4OpValue() 978 isAdd = EncodeAddrModeOpValues(MI, OpIdx, Reg, Imm8, Fixups, STI); in getT2AddrModeImm8s4OpValue() 986 uint32_t Binary = (Imm8 >> 2) & 0xff; in getT2AddrModeImm8s4OpValue() [all …]
|
D | ARMAddressingModes.h | 566 unsigned Imm8 = getNEONModImmVal(ModImm); in decodeNEONModImm() local 571 Val = Imm8; in decodeNEONModImm() 576 Val = Imm8 << (8 * ByteNum); in decodeNEONModImm() 581 Val = Imm8 << (8 * ByteNum); in decodeNEONModImm() 586 Val = (Imm8 << (8 * ByteNum)) | (0xffff >> (8 * (2 - ByteNum))); in decodeNEONModImm()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCCodeEmitter.cpp | 758 int32_t Imm8 = MI.getOperand(OpIdx).getImm(); in getT2Imm8s4OpValue() local 759 bool isAdd = Imm8 >= 0; in getT2Imm8s4OpValue() 762 if (Imm8 < 0) in getT2Imm8s4OpValue() 763 Imm8 = -Imm8; in getT2Imm8s4OpValue() 766 Imm8 /= 4; in getT2Imm8s4OpValue() 768 uint32_t Binary = Imm8 & 0xff; in getT2Imm8s4OpValue() 783 unsigned Reg, Imm8; in getT2AddrModeImm8s4OpValue() local 789 Imm8 = 0; in getT2AddrModeImm8s4OpValue() 799 isAdd = EncodeAddrModeOpValues(MI, OpIdx, Reg, Imm8, Fixups); in getT2AddrModeImm8s4OpValue() 807 uint32_t Binary = (Imm8 >> 2) & 0xff; in getT2AddrModeImm8s4OpValue() [all …]
|
D | ARMAddressingModes.h | 542 unsigned Imm8 = getNEONModImmVal(ModImm); in decodeNEONModImm() local 547 Val = Imm8; in decodeNEONModImm() 552 Val = Imm8 << (8 * ByteNum); in decodeNEONModImm() 557 Val = Imm8 << (8 * ByteNum); in decodeNEONModImm() 562 Val = (Imm8 << (8 * ByteNum)) | (0xffff >> (8 * (2 - ByteNum))); in decodeNEONModImm()
|
/external/capstone/arch/ARM/ |
D | ARMAddressingModes.h | 602 unsigned Imm8 = getNEONModImmVal(ModImm); in ARM_AM_decodeNEONModImm() local 608 Val = Imm8; in ARM_AM_decodeNEONModImm() 613 Val = (uint64_t)Imm8 << (8 * ByteNum); in ARM_AM_decodeNEONModImm() 618 Val = (uint64_t)Imm8 << (8 * ByteNum); in ARM_AM_decodeNEONModImm() 623 Val = (Imm8 << (8 * ByteNum)) | (0xffff >> (8 * (2 - ByteNum))); in ARM_AM_decodeNEONModImm()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/ |
D | X86BaseInfo.h | 315 Imm8 = 1 << ImmShift, enumerator 430 case X86II::Imm8: in getSizeOfImm() 449 case X86II::Imm8: in isImmPCRel()
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86BaseInfo.h | 404 Imm8 = 1 << ImmShift, enumerator 577 case X86II::Imm8: in getSizeOfImm() 597 case X86II::Imm8: in isImmPCRel() 613 case X86II::Imm8: in isImmSigned()
|
/external/llvm/lib/Target/X86/ |
D | X86InstrFormats.td | 66 def Imm8 : ImmType<1>; 350 : X86Inst<o, f, Imm8, outs, ins, asm, itin, d> { 519 // PSIi8 - SSE1 instructions with ImmT == Imm8 and PS prefix. 549 // SDIi8 - SSE2 instructions with ImmT == Imm8 and XD prefix. 551 // SSDIi8 - SSE2 instructions with ImmT == Imm8 and XS prefix. 553 // PDIi8 - SSE2 instructions with ImmT == Imm8 and PD prefix. 559 // MMXSDIi8 - SSE2 instructions with ImmT == Imm8 and XD prefix as well as 561 // MMXSSDIi8 - SSE2 instructions with ImmT == Imm8 and XS prefix as well as 661 // SS41AIi8 - SSE 4.1 instructions with TA prefix and ImmT == Imm8. 696 // AVXAIi8 - AVX instructions with TAPD prefix and ImmT = Imm8. [all …]
|
D | X86InstrArithmetic.td | 576 /// example, i8 -> Imm8, i16 -> Imm16, i32 -> Imm32. Note that i64 -> Imm32 619 Imm8, i8imm, imm8_su, i8imm, invalid_node, 797 let ImmT = Imm8; // Always 8-bit immediate. 892 let ImmT = Imm8; // Always 8-bit immediate.
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86InstrFormats.td | 54 def Imm8 : ImmType<1>; 191 : X86Inst<o, f, Imm8, outs, ins, asm, d> { 305 // PSIi8 - SSE1 instructions with ImmT == Imm8 and TB prefix. 333 // SDIi8 - SSE2 instructions with ImmT == Imm8 and XD prefix. 334 // SSDIi8 - SSE2 instructions with ImmT == Imm8 and XS prefix. 336 // PDIi8 - SSE2 instructions with ImmT == Imm8 and TB and OpSize prefixes. 404 // SS41AIi8 - SSE 4.1 instructions with TA prefix and ImmT == Imm8. 438 // AVXAIi8 - AVX instructions with TA, OpSize prefix and ImmT = Imm8. 517 // MMXIi8 - MMX instructions with ImmT == Imm8 and TB prefix. 518 // MMXIi8 - MMX instructions with ImmT == Imm8 and TB prefix.
|
D | X86InstrArithmetic.td | 528 /// example, i8 -> Imm8, i16 -> Imm16, i32 -> Imm32. Note that i64 -> Imm32 570 Imm8 , i8imm , imm, i8imm , invalid_node, 742 let ImmT = Imm8; // Always 8-bit immediate. 841 let ImmT = Imm8; // Always 8-bit immediate.
|
D | X86InstrSSE.td | 3785 // SSE2 with ImmT == Imm8 and XS prefix. 3789 // SSE2 with ImmT == Imm8 and XD prefix. 3826 // SSE2 with ImmT == Imm8 and XS prefix. 3829 // SSE2 with ImmT == Imm8 and XD prefix.
|
/external/swiftshader/third_party/subzero/src/ |
D | IceAssemblerARM32.cpp | 220 IValueT &Cmode, IValueT &Imm8) { in encodeAdvSIMDExpandImm() argument 225 Imm8 = Value; in encodeAdvSIMDExpandImm() 436 IValueT encodeImmRegOffsetEnc3(IValueT Rn, IOffsetT Imm8, in encodeImmRegOffsetEnc3() argument 439 if (Imm8 < 0) { in encodeImmRegOffsetEnc3() 440 Imm8 = -Imm8; in encodeImmRegOffsetEnc3() 443 assert(Imm8 < (1 << 8)); in encodeImmRegOffsetEnc3() 444 Value = Value | B22 | ((Imm8 & 0xf0) << 4) | (Imm8 & 0x0f); in encodeImmRegOffsetEnc3() 855 IValueT Imm8; in emitType01() local 856 if (!OperandARM32FlexImm::canHoldImm(Src1Value, &RotateAmt, &Imm8)) in emitType01() 859 Src1Value = encodeRotatedImm8(RotateAmt, Imm8); in emitType01() [all …]
|
D | IceTargetLoweringARM32.cpp | 1992 uint32_t Imm8, Rotate; in legalizeMemOperand() local 1996 } else if (OperandARM32FlexImm::canHoldImm(OffsetDiff, &Rotate, &Imm8)) { in legalizeMemOperand() 1998 Target->Func, IceType_i32, Imm8, Rotate); in legalizeMemOperand() 2002 } else if (OperandARM32FlexImm::canHoldImm(-OffsetDiff, &Rotate, &Imm8)) { in legalizeMemOperand() 2004 Target->Func, IceType_i32, Imm8, Rotate); in legalizeMemOperand() 2526 uint32_t Rotate, Imm8; in immediateIsFlexEncodable() local 2527 return OperandARM32FlexImm::canHoldImm(getConstantValue(), &Rotate, &Imm8); in immediateIsFlexEncodable() 2531 uint32_t Rotate, Imm8; in negatedImmediateIsFlexEncodable() local 2533 -static_cast<int32_t>(getConstantValue()), &Rotate, &Imm8); in negatedImmediateIsFlexEncodable() 2543 uint32_t Rotate, Imm8; in invertedImmediateIsFlexEncodable() local [all …]
|
D | IceInstARM32.cpp | 383 uint32_t Imm8 = Utils::rotateLeft32(Immediate, 2 * Rot); in canHoldImm() local 384 if (Imm8 <= 0xFF) { in canHoldImm() 386 *Immed_8 = Imm8; in canHoldImm()
|
/external/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 6551 unsigned Imm8 = Inst.getOperand(0).getImm(); in validateInstruction() local 6553 if (Imm8 == 0x10 && Pred != ARMCC::AL) in validateInstruction()
|
/external/llvm/lib/Target/ARM/ |
D | ARMInstrInfo.td | 646 def Imm8AsmOperand: ImmAsmOperand { let Name = "Imm8"; }
|