Lines Matching refs:MCConstantExpr
736 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm6()
758 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmScaled()
782 auto *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSVEPattern()
831 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm12Offset()
843 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmInRange()
856 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isLogicalImm()
878 if (auto *CE = dyn_cast<MCConstantExpr>(getShiftedImmVal())) in getShiftedVal()
882 if (auto *CE = dyn_cast<MCConstantExpr>(getImm())) { in getShiftedVal()
956 if (!isShiftedImm() && (!isImm() || !isa<MCConstantExpr>(getImm()))) in isSVECpyImm()
974 if (!isShiftedImm() && (!isImm() || !isa<MCConstantExpr>(getImm()))) in isSVEAddSubImm()
999 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSIMDImmType10()
1009 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isBranchTarget()
1077 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(E)) { in isMOVZMovAlias()
1091 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isMOVNMovAlias()
1266 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isComplexRotation()
1519 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isAdrpLabel()
1535 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isAdrLabel()
1560 else if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr)) in addExpr()
1722 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addAdrpLabelOperands()
1736 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addUImm12OffsetOperands()
1747 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addUImm6Operands()
1754 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addImmScaledOperands()
1761 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addLogicalImmOperands()
1770 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addLogicalImmNotOperands()
1778 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addSIMDImmType10Operands()
1788 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addBranchTarget26Operands()
1802 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addPCRelLabel19Operands()
1816 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addBranchTarget14Operands()
1938 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addMOVZMovAliasOperands()
1951 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addMOVNMovAliasOperands()
1958 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addComplexRotationEvenOperands()
1964 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addComplexRotationOddOperands()
2755 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParsePrefetch()
3255 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseOptionalShiftExtend()
3344 const MCExpr *Expr = MCConstantExpr::create(Op1, getContext()); in createSysAlias()
3352 Expr = MCConstantExpr::create(Op2, getContext()); in createSysAlias()
3469 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseBarrierOperand()
3542 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseBarriernXSOperand()
3653 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseVectorIndex()
4126 if (getParser().parseExpression(ImmVal) || !isa<MCConstantExpr>(ImmVal) || in tryParseGPR64sp0Operand()
4127 cast<MCConstantExpr>(ImmVal)->getValue() != 0) { in tryParseGPR64sp0Operand()
4203 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal)) { in parseOptionalMulOperand()
4205 MCConstantExpr::create(MCE->getValue(), getContext()), S, getLoc(), in parseOptionalMulOperand()
4391 if (isa<MCConstantExpr>(SubExprVal)) { in parseOperand()
4392 uint64_t Imm = (cast<MCConstantExpr>(SubExprVal))->getValue(); in parseOperand()
4401 MCConstantExpr::create(Imm, Ctx), S, E, Ctx)); in parseOperand()
4426 const MCConstantExpr *Value = dyn_cast_or_null<MCConstantExpr>(Expr); in parseImmExpr()
5323 const MCConstantExpr *Op3CE = dyn_cast<MCConstantExpr>(Op3.getImm()); in MatchAndEmitInstruction()
5337 const MCExpr *NewOp3 = MCConstantExpr::create(NewOp3Val, getContext()); in MatchAndEmitInstruction()
5338 const MCExpr *NewOp4 = MCConstantExpr::create(NewOp4Val, getContext()); in MatchAndEmitInstruction()
5355 const MCConstantExpr *LSBCE = dyn_cast<MCConstantExpr>(LSBOp.getImm()); in MatchAndEmitInstruction()
5356 const MCConstantExpr *WidthCE = dyn_cast<MCConstantExpr>(WidthOp.getImm()); in MatchAndEmitInstruction()
5388 const MCExpr *ImmRExpr = MCConstantExpr::create(ImmR, getContext()); in MatchAndEmitInstruction()
5389 const MCExpr *ImmSExpr = MCConstantExpr::create(ImmS, getContext()); in MatchAndEmitInstruction()
5411 const MCConstantExpr *Op3CE = dyn_cast<MCConstantExpr>(Op3.getImm()); in MatchAndEmitInstruction()
5412 const MCConstantExpr *Op4CE = dyn_cast<MCConstantExpr>(Op4.getImm()); in MatchAndEmitInstruction()
5445 MCConstantExpr::create(NewOp3Val, getContext()); in MatchAndEmitInstruction()
5447 MCConstantExpr::create(NewOp4Val, getContext()); in MatchAndEmitInstruction()
5475 const MCConstantExpr *Op3CE = dyn_cast<MCConstantExpr>(Op3.getImm()); in MatchAndEmitInstruction()
5476 const MCConstantExpr *Op4CE = dyn_cast<MCConstantExpr>(Op4.getImm()); in MatchAndEmitInstruction()
5503 MCConstantExpr::create(NewOp4Val, getContext()); in MatchAndEmitInstruction()
5535 cast<MCConstantExpr>(Op3.getImm())->getValue() == 0) { in MatchAndEmitInstruction()
6174 const MCConstantExpr *Value = dyn_cast_or_null<MCConstantExpr>(Expr); in parseDirectiveInst()
6731 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm()); in validateTargetOperandClass()
6885 auto *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseSVEPattern()
6902 AArch64Operand::CreateImm(MCConstantExpr::create(Pattern, getContext()), in tryParseSVEPattern()