Lines Matching refs:ConstExpr
215 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isHiImm16() local
216 int64_t Value = ConstExpr->getValue(); in isHiImm16()
237 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isHiImm16And() local
238 if (ConstExpr) { in isHiImm16And()
239 int64_t Value = ConstExpr->getValue(); in isHiImm16And()
251 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isLoImm16() local
252 int64_t Value = ConstExpr->getValue(); in isLoImm16()
275 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isLoImm16Signed() local
276 int64_t Value = ConstExpr->getValue(); in isLoImm16Signed()
298 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isLoImm16And() local
299 if (ConstExpr) { in isLoImm16And()
300 int64_t Value = ConstExpr->getValue(); in isLoImm16And()
311 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isImmShift() local
312 if (!ConstExpr) in isImmShift()
314 int64_t Value = ConstExpr->getValue(); in isImmShift()
323 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isLoImm21() local
324 int64_t Value = ConstExpr->getValue(); in isLoImm21()
353 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isImm10() local
354 if (!ConstExpr) in isImm10()
356 int64_t Value = ConstExpr->getValue(); in isImm10()
364 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isCondCode() local
365 if (!ConstExpr) in isCondCode()
367 uint64_t Value = ConstExpr->getValue(); in isCondCode()
378 else if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Expr)) in addExpr() local
380 MCOperand::createImm(static_cast<int32_t>(ConstExpr->getValue()))); in addExpr()
451 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) in addLoImm16Operands() local
453 MCOperand::createImm(static_cast<int32_t>(ConstExpr->getValue()))); in addLoImm16Operands()
474 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) in addLoImm16AndOperands() local
475 Inst.addOperand(MCOperand::createImm(ConstExpr->getValue() & 0xffff)); in addLoImm16AndOperands()
482 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) in addHiImm16Operands() local
483 Inst.addOperand(MCOperand::createImm(ConstExpr->getValue() >> 16)); in addHiImm16Operands()
504 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) in addHiImm16AndOperands() local
505 Inst.addOperand(MCOperand::createImm(ConstExpr->getValue() >> 16)); in addHiImm16AndOperands()
512 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) in addLoImm21Operands() local
513 Inst.addOperand(MCOperand::createImm(ConstExpr->getValue() & 0x1fffff)); in addLoImm21Operands()
822 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Op.getImm())) { in shouldBeSls() local
823 int64_t Value = ConstExpr->getValue(); in shouldBeSls()
1106 if (const MCConstantExpr *ConstExpr = in IsMemoryAssignmentError() local
1108 Modifies = LPAC::modifiesOp(ConstExpr->getValue()); in IsMemoryAssignmentError()