Lines Matching defs:Imm
184 struct ImmOp Imm;
201 static bool evaluateConstantImm(const MCExpr *Expr, int64_t &Imm,
209 Imm = CE->getValue();
220 int64_t Imm;
222 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
223 return IsConstantImm && isUInt<N>(Imm - P) &&
231 int64_t Imm;
233 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
234 return IsConstantImm && isShiftedInt<N, S>(Imm) &&
239 int64_t Imm;
242 if (!isImm() || evaluateConstantImm(getImm(), Imm, VK))
249 int64_t Imm;
252 if (!isImm() || evaluateConstantImm(getImm(), Imm, VK))
282 int64_t Imm;
284 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
293 ? isInt<12>(Imm) && IsValidKind
302 int64_t Imm;
304 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
316 ? isInt<12>(Imm) && IsValidKind
327 int64_t Imm;
329 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
340 ? isUInt<12>(Imm) && IsValidKind
356 int64_t Imm;
358 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
364 ? isShiftedInt<16, 2>(Imm) && IsValidKind
375 int64_t Imm;
377 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
386 ? isInt<20>(Imm) && IsValidKind
395 int64_t Imm;
397 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
408 ? isInt<20>(Imm) && IsValidKind
417 int64_t Imm;
419 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
432 ? isInt<20>(Imm) && IsValidKind
441 int64_t Imm;
443 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
448 ? isInt<20>(Imm) && IsValidKind
457 int64_t Imm;
459 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
466 ? isInt<20>(Imm) && IsValidKind
475 int64_t Imm;
477 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
481 ? isShiftedInt<21, 2>(Imm) && IsValidKind
490 int64_t Imm;
492 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
498 ? isShiftedInt<26, 2>(Imm) && IsValidKind
507 int64_t Imm;
509 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
525 return Imm.Val;
574 Op->Imm.Val = Val;
1287 int64_t Imm = Inst.getOperand(1).getImm();
1291 Imm = SignExtend64<32>(Imm);
1293 for (LoongArchMatInt::Inst &Inst : LoongArchMatInt::generateInstSeq(Imm)) {
1296 Out.emitInstruction(MCInstBuilder(Opc).addReg(DestReg).addImm(Inst.Imm),
1300 MCInstBuilder(Opc).addReg(DestReg).addReg(SrcReg).addImm(Inst.Imm),