• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/Disassembler/

Lines Matching refs:Imm

171 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) {
172 if (!isUInt<N>(Imm))
174 Inst.addOperand(MCOperand::createImm(Imm));
179 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) {
180 if (!isUInt<N>(Imm))
182 Inst.addOperand(MCOperand::createImm(SignExtend64<N>(Imm)));
186 static DecodeStatus decodeU1ImmOperand(MCInst &Inst, uint64_t Imm,
188 return decodeUImmOperand<1>(Inst, Imm);
191 static DecodeStatus decodeU2ImmOperand(MCInst &Inst, uint64_t Imm,
193 return decodeUImmOperand<2>(Inst, Imm);
196 static DecodeStatus decodeU3ImmOperand(MCInst &Inst, uint64_t Imm,
198 return decodeUImmOperand<3>(Inst, Imm);
201 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm,
203 return decodeUImmOperand<4>(Inst, Imm);
206 static DecodeStatus decodeU6ImmOperand(MCInst &Inst, uint64_t Imm,
208 return decodeUImmOperand<6>(Inst, Imm);
211 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm,
213 return decodeUImmOperand<8>(Inst, Imm);
216 static DecodeStatus decodeU12ImmOperand(MCInst &Inst, uint64_t Imm,
218 return decodeUImmOperand<12>(Inst, Imm);
221 static DecodeStatus decodeU16ImmOperand(MCInst &Inst, uint64_t Imm,
223 return decodeUImmOperand<16>(Inst, Imm);
226 static DecodeStatus decodeU32ImmOperand(MCInst &Inst, uint64_t Imm,
228 return decodeUImmOperand<32>(Inst, Imm);
231 static DecodeStatus decodeS8ImmOperand(MCInst &Inst, uint64_t Imm,
233 return decodeSImmOperand<8>(Inst, Imm);
236 static DecodeStatus decodeS16ImmOperand(MCInst &Inst, uint64_t Imm,
238 return decodeSImmOperand<16>(Inst, Imm);
241 static DecodeStatus decodeS32ImmOperand(MCInst &Inst, uint64_t Imm,
243 return decodeSImmOperand<32>(Inst, Imm);
247 static DecodeStatus decodePCDBLOperand(MCInst &Inst, uint64_t Imm,
251 assert(isUInt<N>(Imm) && "Invalid PC-relative offset");
252 uint64_t Value = SignExtend64<N>(Imm) * 2 + Address;
261 static DecodeStatus decodePC12DBLBranchOperand(MCInst &Inst, uint64_t Imm,
264 return decodePCDBLOperand<12>(Inst, Imm, Address, true, Decoder);
267 static DecodeStatus decodePC16DBLBranchOperand(MCInst &Inst, uint64_t Imm,
270 return decodePCDBLOperand<16>(Inst, Imm, Address, true, Decoder);
273 static DecodeStatus decodePC24DBLBranchOperand(MCInst &Inst, uint64_t Imm,
276 return decodePCDBLOperand<24>(Inst, Imm, Address, true, Decoder);
279 static DecodeStatus decodePC32DBLBranchOperand(MCInst &Inst, uint64_t Imm,
282 return decodePCDBLOperand<32>(Inst, Imm, Address, true, Decoder);
285 static DecodeStatus decodePC32DBLOperand(MCInst &Inst, uint64_t Imm,
288 return decodePCDBLOperand<32>(Inst, Imm, Address, false, Decoder);