• Home
  • Raw
  • Download

Lines Matching refs:Imm

154 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) {  in decodeUImmOperand()  argument
155 if (!isUInt<N>(Imm)) in decodeUImmOperand()
157 Inst.addOperand(MCOperand::createImm(Imm)); in decodeUImmOperand()
162 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) { in decodeSImmOperand() argument
163 if (!isUInt<N>(Imm)) in decodeSImmOperand()
165 Inst.addOperand(MCOperand::createImm(SignExtend64<N>(Imm))); in decodeSImmOperand()
169 static DecodeStatus decodeAccessRegOperand(MCInst &Inst, uint64_t Imm, in decodeAccessRegOperand() argument
172 return decodeUImmOperand<4>(Inst, Imm); in decodeAccessRegOperand()
175 static DecodeStatus decodeU1ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU1ImmOperand() argument
177 return decodeUImmOperand<1>(Inst, Imm); in decodeU1ImmOperand()
180 static DecodeStatus decodeU2ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU2ImmOperand() argument
182 return decodeUImmOperand<2>(Inst, Imm); in decodeU2ImmOperand()
185 static DecodeStatus decodeU3ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU3ImmOperand() argument
187 return decodeUImmOperand<3>(Inst, Imm); in decodeU3ImmOperand()
190 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU4ImmOperand() argument
192 return decodeUImmOperand<4>(Inst, Imm); in decodeU4ImmOperand()
195 static DecodeStatus decodeU6ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU6ImmOperand() argument
197 return decodeUImmOperand<6>(Inst, Imm); in decodeU6ImmOperand()
200 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU8ImmOperand() argument
202 return decodeUImmOperand<8>(Inst, Imm); in decodeU8ImmOperand()
205 static DecodeStatus decodeU12ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU12ImmOperand() argument
207 return decodeUImmOperand<12>(Inst, Imm); in decodeU12ImmOperand()
210 static DecodeStatus decodeU16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU16ImmOperand() argument
212 return decodeUImmOperand<16>(Inst, Imm); in decodeU16ImmOperand()
215 static DecodeStatus decodeU32ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU32ImmOperand() argument
217 return decodeUImmOperand<32>(Inst, Imm); in decodeU32ImmOperand()
220 static DecodeStatus decodeS8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS8ImmOperand() argument
222 return decodeSImmOperand<8>(Inst, Imm); in decodeS8ImmOperand()
225 static DecodeStatus decodeS16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS16ImmOperand() argument
227 return decodeSImmOperand<16>(Inst, Imm); in decodeS16ImmOperand()
230 static DecodeStatus decodeS32ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS32ImmOperand() argument
232 return decodeSImmOperand<32>(Inst, Imm); in decodeS32ImmOperand()
236 static DecodeStatus decodePCDBLOperand(MCInst &Inst, uint64_t Imm, in decodePCDBLOperand() argument
240 assert(isUInt<N>(Imm) && "Invalid PC-relative offset"); in decodePCDBLOperand()
241 uint64_t Value = SignExtend64<N>(Imm) * 2 + Address; in decodePCDBLOperand()
250 static DecodeStatus decodePC16DBLBranchOperand(MCInst &Inst, uint64_t Imm, in decodePC16DBLBranchOperand() argument
253 return decodePCDBLOperand<16>(Inst, Imm, Address, true, Decoder); in decodePC16DBLBranchOperand()
256 static DecodeStatus decodePC32DBLBranchOperand(MCInst &Inst, uint64_t Imm, in decodePC32DBLBranchOperand() argument
259 return decodePCDBLOperand<32>(Inst, Imm, Address, true, Decoder); in decodePC32DBLBranchOperand()
262 static DecodeStatus decodePC32DBLOperand(MCInst &Inst, uint64_t Imm, in decodePC32DBLOperand() argument
265 return decodePCDBLOperand<32>(Inst, Imm, Address, false, Decoder); in decodePC32DBLOperand()