Lines Matching refs:getImm

144   const MCExpr *getImm() const {  in getImm()  function
392 addExpr(Inst, getImm()); in addImmOperands()
397 addExpr(Inst, getImm()); in addBrTargetOperands()
402 addExpr(Inst, getImm()); in addCallTargetOperands()
407 addExpr(Inst, getImm()); in addCondCodeOperands()
441 addExpr(Inst, getImm()); in addImmShiftOperands()
446 addExpr(Inst, getImm()); in addImm10Operands()
451 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) in addLoImm16Operands()
454 else if (isa<LanaiMCExpr>(getImm())) { in addLoImm16Operands()
456 const LanaiMCExpr *SymbolRefExpr = dyn_cast<LanaiMCExpr>(getImm()); in addLoImm16Operands()
459 Inst.addOperand(MCOperand::createExpr(getImm())); in addLoImm16Operands()
460 } else if (isa<MCBinaryExpr>(getImm())) { in addLoImm16Operands()
462 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addLoImm16Operands()
467 Inst.addOperand(MCOperand::createExpr(getImm())); in addLoImm16Operands()
474 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) in addLoImm16AndOperands()
482 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) in addHiImm16Operands()
484 else if (isa<LanaiMCExpr>(getImm())) { in addHiImm16Operands()
486 const LanaiMCExpr *SymbolRefExpr = dyn_cast<LanaiMCExpr>(getImm()); in addHiImm16Operands()
489 Inst.addOperand(MCOperand::createExpr(getImm())); in addHiImm16Operands()
490 } else if (isa<MCBinaryExpr>(getImm())) { in addHiImm16Operands()
492 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addHiImm16Operands()
497 Inst.addOperand(MCOperand::createExpr(getImm())); in addHiImm16Operands()
504 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) in addHiImm16AndOperands()
512 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) in addLoImm21Operands()
514 else if (isa<LanaiMCExpr>(getImm())) { in addLoImm21Operands()
516 const LanaiMCExpr *SymbolRefExpr = dyn_cast<LanaiMCExpr>(getImm()); in addLoImm21Operands()
520 Inst.addOperand(MCOperand::createExpr(getImm())); in addLoImm21Operands()
521 } else if (isa<MCSymbolRefExpr>(getImm())) { in addLoImm21Operands()
524 dyn_cast<MCSymbolRefExpr>(getImm()); in addLoImm21Operands()
528 Inst.addOperand(MCOperand::createExpr(getImm())); in addLoImm21Operands()
529 } else if (isa<MCBinaryExpr>(getImm())) { in addLoImm21Operands()
531 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addLoImm21Operands()
537 Inst.addOperand(MCOperand::createExpr(getImm())); in addLoImm21Operands()
545 OS << "Imm: " << getImm() << "\n"; in print()
596 const MCExpr *Imm = Op->getImm(); in MorphToMemImm()
620 const MCExpr *Imm = Op->getImm(); in MorphToMemRegImm()
822 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Op.getImm())) { in shouldBeSls()
828 if (const LanaiMCExpr *SymbolRefExpr = dyn_cast<LanaiMCExpr>(Op.getImm())) in shouldBeSls()
833 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Op.getImm())) { in shouldBeSls()
1107 dyn_cast<MCConstantExpr>(PossibleAluOp->getImm())) in IsMemoryAssignmentError()