Lines Matching refs:MCConstantExpr
739 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm6()
761 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmScaled()
785 auto *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSVEPattern()
834 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm12Offset()
846 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmInRange()
859 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isLogicalImm()
881 if (auto *CE = dyn_cast<MCConstantExpr>(getShiftedImmVal())) in getShiftedVal()
885 if (auto *CE = dyn_cast<MCConstantExpr>(getImm())) { in getShiftedVal()
959 if (!isShiftedImm() && (!isImm() || !isa<MCConstantExpr>(getImm()))) in isSVECpyImm()
977 if (!isShiftedImm() && (!isImm() || !isa<MCConstantExpr>(getImm()))) in isSVEAddSubImm()
1002 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSIMDImmType10()
1012 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isBranchTarget()
1075 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(E)) { in isMOVZMovAlias()
1089 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isMOVNMovAlias()
1264 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isComplexRotation()
1517 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isAdrpLabel()
1533 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isAdrLabel()
1558 else if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr)) in addExpr()
1720 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addAdrpLabelOperands()
1734 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addUImm12OffsetOperands()
1745 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addUImm6Operands()
1752 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addImmScaledOperands()
1759 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addLogicalImmOperands()
1768 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addLogicalImmNotOperands()
1776 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addSIMDImmType10Operands()
1786 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addBranchTarget26Operands()
1800 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addPCRelLabel19Operands()
1814 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addBranchTarget14Operands()
1936 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addMOVZMovAliasOperands()
1949 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addMOVNMovAliasOperands()
1956 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addComplexRotationEvenOperands()
1962 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addComplexRotationOddOperands()
2750 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParsePrefetch()
3250 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseOptionalShiftExtend()
3355 const MCExpr *Expr = MCConstantExpr::create(Op1, getContext()); in createSysAlias()
3363 Expr = MCConstantExpr::create(Op2, getContext()); in createSysAlias()
3479 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseBarrierOperand()
3551 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseBarriernXSOperand()
3660 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseVectorIndex()
4125 if (getParser().parseExpression(ImmVal) || !isa<MCConstantExpr>(ImmVal) || in tryParseGPR64sp0Operand()
4126 cast<MCConstantExpr>(ImmVal)->getValue() != 0) { in tryParseGPR64sp0Operand()
4202 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal)) { in parseOptionalMulOperand()
4204 MCConstantExpr::create(MCE->getValue(), getContext()), S, getLoc(), in parseOptionalMulOperand()
4389 if (isa<MCConstantExpr>(SubExprVal)) { in parseOperand()
4390 uint64_t Imm = (cast<MCConstantExpr>(SubExprVal))->getValue(); in parseOperand()
4399 MCConstantExpr::create(Imm, Ctx), S, E, Ctx)); in parseOperand()
4424 const MCConstantExpr *Value = dyn_cast_or_null<MCConstantExpr>(Expr); in parseImmExpr()
5491 const MCConstantExpr *Op3CE = dyn_cast<MCConstantExpr>(Op3.getImm()); in MatchAndEmitInstruction()
5505 const MCExpr *NewOp3 = MCConstantExpr::create(NewOp3Val, getContext()); in MatchAndEmitInstruction()
5506 const MCExpr *NewOp4 = MCConstantExpr::create(NewOp4Val, getContext()); in MatchAndEmitInstruction()
5523 const MCConstantExpr *LSBCE = dyn_cast<MCConstantExpr>(LSBOp.getImm()); in MatchAndEmitInstruction()
5524 const MCConstantExpr *WidthCE = dyn_cast<MCConstantExpr>(WidthOp.getImm()); in MatchAndEmitInstruction()
5556 const MCExpr *ImmRExpr = MCConstantExpr::create(ImmR, getContext()); in MatchAndEmitInstruction()
5557 const MCExpr *ImmSExpr = MCConstantExpr::create(ImmS, getContext()); in MatchAndEmitInstruction()
5579 const MCConstantExpr *Op3CE = dyn_cast<MCConstantExpr>(Op3.getImm()); in MatchAndEmitInstruction()
5580 const MCConstantExpr *Op4CE = dyn_cast<MCConstantExpr>(Op4.getImm()); in MatchAndEmitInstruction()
5613 MCConstantExpr::create(NewOp3Val, getContext()); in MatchAndEmitInstruction()
5615 MCConstantExpr::create(NewOp4Val, getContext()); in MatchAndEmitInstruction()
5643 const MCConstantExpr *Op3CE = dyn_cast<MCConstantExpr>(Op3.getImm()); in MatchAndEmitInstruction()
5644 const MCConstantExpr *Op4CE = dyn_cast<MCConstantExpr>(Op4.getImm()); in MatchAndEmitInstruction()
5671 MCConstantExpr::create(NewOp4Val, getContext()); in MatchAndEmitInstruction()
5703 cast<MCConstantExpr>(Op3.getImm())->getValue() == 0) { in MatchAndEmitInstruction()
6347 const MCConstantExpr *Value = dyn_cast_or_null<MCConstantExpr>(Expr); in parseDirectiveInst()
6897 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm()); in validateTargetOperandClass()
7051 auto *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseSVEPattern()
7068 AArch64Operand::CreateImm(MCConstantExpr::create(Pattern, getContext()), in tryParseSVEPattern()