Home | History | Annotate | Download | only in Disassembler

Lines Matching refs:Imm

110 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) {
111 assert(isUInt<N>(Imm) && "Invalid immediate");
112 Inst.addOperand(MCOperand::CreateImm(Imm));
117 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) {
118 assert(isUInt<N>(Imm) && "Invalid immediate");
119 Inst.addOperand(MCOperand::CreateImm(SignExtend64<N>(Imm)));
123 static DecodeStatus decodeAccessRegOperand(MCInst &Inst, uint64_t Imm,
126 return decodeUImmOperand<4>(Inst, Imm);
129 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm,
131 return decodeUImmOperand<4>(Inst, Imm);
134 static DecodeStatus decodeU6ImmOperand(MCInst &Inst, uint64_t Imm,
136 return decodeUImmOperand<6>(Inst, Imm);
139 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm,
141 return decodeUImmOperand<8>(Inst, Imm);
144 static DecodeStatus decodeU16ImmOperand(MCInst &Inst, uint64_t Imm,
146 return decodeUImmOperand<16>(Inst, Imm);
149 static DecodeStatus decodeU32ImmOperand(MCInst &Inst, uint64_t Imm,
151 return decodeUImmOperand<32>(Inst, Imm);
154 static DecodeStatus decodeS8ImmOperand(MCInst &Inst, uint64_t Imm,
156 return decodeSImmOperand<8>(Inst, Imm);
159 static DecodeStatus decodeS16ImmOperand(MCInst &Inst, uint64_t Imm,
161 return decodeSImmOperand<16>(Inst, Imm);
164 static DecodeStatus decodeS32ImmOperand(MCInst &Inst, uint64_t Imm,
166 return decodeSImmOperand<32>(Inst, Imm);
170 static DecodeStatus decodePCDBLOperand(MCInst &Inst, uint64_t Imm,
172 assert(isUInt<N>(Imm) && "Invalid PC-relative offset");
173 Inst.addOperand(MCOperand::CreateImm(SignExtend64<N>(Imm) * 2 + Address));
177 static DecodeStatus decodePC16DBLOperand(MCInst &Inst, uint64_t Imm,
180 return decodePCDBLOperand<16>(Inst, Imm, Address);
183 static DecodeStatus decodePC32DBLOperand(MCInst &Inst, uint64_t Imm,
186 return decodePCDBLOperand<32>(Inst, Imm, Address);