Home
last modified time | relevance | path

Searched refs:Imm16 (Results 1 – 24 of 24) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ExpandImm.cpp72 uint64_t Imm16 = 0; in tryToreplicateChunks() local
75 Imm16 = (UImm >> ShiftAmt) & 0xFFFF; in tryToreplicateChunks()
77 if (Imm16 != ChunkVal) in tryToreplicateChunks()
82 Insn.push_back({ AArch64::MOVKXi, Imm16, in tryToreplicateChunks()
92 Imm16 = (UImm >> ShiftAmt) & 0xFFFF; in tryToreplicateChunks()
94 if (Imm16 != ChunkVal) in tryToreplicateChunks()
97 Insn.push_back({ AArch64::MOVKXi, Imm16, in tryToreplicateChunks()
278 unsigned Imm16 = (Imm >> Shift) & Mask; in expandMOVImmSimple() local
280 Insn.push_back({ FirstOpc, Imm16, in expandMOVImmSimple()
294 Imm16 = (Imm >> Shift) & Mask; in expandMOVImmSimple()
[all …]
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ExpandImm.cpp72 uint64_t Imm16 = 0; in tryToreplicateChunks() local
75 Imm16 = (UImm >> ShiftAmt) & 0xFFFF; in tryToreplicateChunks()
77 if (Imm16 != ChunkVal) in tryToreplicateChunks()
82 Insn.push_back({ AArch64::MOVKXi, Imm16, in tryToreplicateChunks()
92 Imm16 = (UImm >> ShiftAmt) & 0xFFFF; in tryToreplicateChunks()
94 if (Imm16 != ChunkVal) in tryToreplicateChunks()
97 Insn.push_back({ AArch64::MOVKXi, Imm16, in tryToreplicateChunks()
278 unsigned Imm16 = (Imm >> Shift) & Mask; in expandMOVImmSimple() local
280 Insn.push_back({ FirstOpc, Imm16, in expandMOVImmSimple()
294 Imm16 = (Imm >> Shift) & Mask; in expandMOVImmSimple()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64ExpandPseudoInsts.cpp126 const unsigned Imm16 = getChunk(UImm, ChunkIdx); in tryOrrMovk() local
133 .addImm(Imm16) in tryOrrMovk()
196 uint64_t Imm16 = 0; in tryToreplicateChunks() local
199 Imm16 = (UImm >> ShiftAmt) & 0xFFFF; in tryToreplicateChunks()
201 if (Imm16 != ChunkVal) in tryToreplicateChunks()
211 .addImm(Imm16) in tryToreplicateChunks()
224 Imm16 = (UImm >> ShiftAmt) & 0xFFFF; in tryToreplicateChunks()
226 if (Imm16 != ChunkVal) in tryToreplicateChunks()
235 .addImm(Imm16) in tryToreplicateChunks()
551 unsigned Imm16 = (Imm >> Shift) & Mask; in expandMOVImm() local
[all …]
/external/swiftshader/third_party/subzero/src/
DIceAssemblerMIPS32.cpp238 uint32_t Imm16 = 0; in emitRtRsImm16Rel() local
243 Imm16 = C32->getValue(); in emitRtRsImm16Rel()
250 Opcode |= Imm16 & 0xffff; in emitRtRsImm16Rel()
669 IValueT Imm16 = 0; in lui() local
674 Imm16 = C32->getValue(); in lui()
680 Opcode |= Imm16; in lui()
689 IValueT Imm16 = 0; in ldc1() local
694 Imm16 = C32->getValue(); in ldc1()
701 Opcode |= Imm16; in ldc1()
751 IValueT Imm16 = 0; in lwc1() local
[all …]
DIceAssemblerARM32.cpp680 const IValueT Imm16 = offset() & 0xffff; in emitOffset() local
682 (Inst & ~Imm16Mask) | ((Imm16 >> 12) << 16) | (Imm16 & 0xfff)); in emitOffset()
1387 void AssemblerARM32::bkpt(uint16_t Imm16) { in bkpt() argument
1393 ((Imm16 >> 4) << 8) | B6 | B5 | B4 | (Imm16 & 0xf); in bkpt()
1780 IValueT Imm16; in emitMovwt() local
1785 Imm16 = 0; in emitMovwt()
1786 } else if (encodeOperand(OpSrc, Imm16, WantGPRegs) != EncodedAsConstI32) { in emitMovwt()
1790 if (!Utils::IsAbsoluteUint(16, Imm16)) in emitMovwt()
1793 ((Imm16 >> 12) << 16) | Rd << kRdShift | in emitMovwt()
1794 (Imm16 & 0xfff); in emitMovwt()
DIceAssemblerARM32.h194 void bkpt(uint16_t Imm16);
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86BaseInfo.h406 Imm16 = 3 << ImmShift, enumerator
579 case X86II::Imm16: in getSizeOfImm()
598 case X86II::Imm16: in isImmPCRel()
615 case X86II::Imm16: in isImmSigned()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86BaseInfo.h782 Imm16 = 4 << ImmShift, enumerator
921 case X86II::Imm16: in getSizeOfImm()
941 case X86II::Imm16: in isImmPCRel()
959 case X86II::Imm16: in isImmSigned()
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
DX86BaseInfo.h837 Imm16 = 4 << ImmShift, enumerator
990 case X86II::Imm16: in getSizeOfImm()
1010 case X86II::Imm16: in isImmPCRel()
1028 case X86II::Imm16: in isImmSigned()
/external/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUInstPrinter.cpp421 uint64_t Imm16 = static_cast<uint16_t>(Imm); in printImmediateInt16() local
422 O << formatHex(Imm16); in printImmediateInt16()
455 uint64_t Imm16 = static_cast<uint16_t>(Imm); in printImmediate16() local
456 O << formatHex(Imm16); in printImmediate16()
1246 const unsigned Imm16 = MI->getOperand(OpNo).getImm(); in printSendMsg() local
1251 decodeMsg(Imm16, MsgId, OpId, StreamId); in printSendMsg()
1264 } else if (encodeMsg(MsgId, OpId, StreamId) == Imm16) { in printSendMsg()
1267 O << Imm16; // Unknown imm16 code. in printSendMsg()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUInstPrinter.cpp1149 const unsigned Imm16 = MI->getOperand(OpNo).getImm(); in printSendMsg() local
1154 decodeMsg(Imm16, MsgId, OpId, StreamId); in printSendMsg()
1167 } else if (encodeMsg(MsgId, OpId, StreamId) == Imm16) { in printSendMsg()
1170 O << Imm16; // Unknown imm16 code. in printSendMsg()
/external/llvm-project/llvm/lib/Target/X86/
DX86InstrFormats.td90 def Imm16 : ImmType<4>;
417 : X86Inst<o, f, Imm16, outs, ins, asm> {
477 : X86Inst<o, f, Imm16, outs, ins, asm> {
DX86InstrArithmetic.td565 /// example, i8 -> Imm8, i16 -> Imm16, i32 -> Imm32. Note that i64 -> Imm32
611 Imm16, i16imm, imm_su, i16i8imm, i16immSExt8_su,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrFormats.td83 def Imm16 : ImmType<4>;
404 : X86Inst<o, f, Imm16, outs, ins, asm> {
464 : X86Inst<o, f, Imm16, outs, ins, asm> {
DX86InstrArithmetic.td565 /// example, i8 -> Imm8, i16 -> Imm16, i32 -> Imm32. Note that i64 -> Imm32
611 Imm16, i16imm, relocImm16_su, i16i8imm, i16immSExt8_su,
/external/llvm/lib/Target/X86/
DX86InstrFormats.td68 def Imm16 : ImmType<3>;
362 : X86Inst<o, f, Imm16, outs, ins, asm, itin> {
415 : X86Inst<o, f, Imm16, outs, ins, asm, itin> {
DX86InstrArithmetic.td576 /// example, i8 -> Imm8, i16 -> Imm16, i32 -> Imm32. Note that i64 -> Imm32
622 Imm16, i16imm, imm16_su, i16i8imm, i16immSExt8_su,
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2883 SDValue Imm16 = CurDAG->getTargetConstant((N2CVal & 0xFFFF0000U) >> 16, in Select() local
2885 SDValue Ops[] = { N0.getOperand(0), Imm16, in Select()
DARMInstrInfo.td652 def Imm16AsmOperand: ImmAsmOperand { let Name = "Imm16"; }
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp3369 SDValue Imm16 = CurDAG->getTargetConstant((N2CVal & 0xFFFF0000U) >> 16, in Select() local
3371 SDValue Ops[] = { N0.getOperand(0), Imm16, in Select()
DARMInstrInfo.td748 def Imm16AsmOperand: ImmAsmOperand<16,16> { let Name = "Imm16"; }
/external/llvm-project/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp3575 SDValue Imm16 = CurDAG->getTargetConstant((N2CVal & 0xFFFF0000U) >> 16, in Select() local
3577 SDValue Ops[] = { N0.getOperand(0), Imm16, in Select()
DARMInstrInfo.td863 def Imm16AsmOperand: ImmAsmOperand<16,16> { let Name = "Imm16"; }
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/
DARMGenAsmMatcher.inc7686 // 'Imm16' class