Lines Matching refs:MCConstantExpr

668     const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());  in isUImm6()
690 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmScaled()
714 auto *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSVEPattern()
762 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm12Offset()
774 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmInRange()
787 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isLogicalImm()
809 if (auto *CE = dyn_cast<MCConstantExpr>(getShiftedImmVal())) in getShiftedVal()
813 if (auto *CE = dyn_cast<MCConstantExpr>(getImm())) { in getShiftedVal()
887 if (!isShiftedImm() && (!isImm() || !isa<MCConstantExpr>(getImm()))) in isSVECpyImm()
905 if (!isShiftedImm() && (!isImm() || !isa<MCConstantExpr>(getImm()))) in isSVEAddSubImm()
930 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSIMDImmType10()
940 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isBranchTarget()
1008 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(E)) { in isMOVZMovAlias()
1022 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isMOVNMovAlias()
1177 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isComplexRotation()
1430 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isAdrpLabel()
1446 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isAdrLabel()
1460 else if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr)) in addExpr()
1610 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addAdrpLabelOperands()
1624 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addUImm12OffsetOperands()
1635 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addUImm6Operands()
1642 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addImmScaledOperands()
1649 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addLogicalImmOperands()
1658 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addLogicalImmNotOperands()
1666 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addSIMDImmType10Operands()
1676 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addBranchTarget26Operands()
1690 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addPCRelLabel19Operands()
1704 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addBranchTarget14Operands()
1815 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addMOVZMovAliasOperands()
1828 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addMOVNMovAliasOperands()
1835 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addComplexRotationEvenOperands()
1841 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addComplexRotationOddOperands()
2429 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParsePrefetch()
2849 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseOptionalShiftExtend()
2928 const MCExpr *Expr = MCConstantExpr::create(Op1, getContext()); in createSysAlias()
2936 Expr = MCConstantExpr::create(Op2, getContext()); in createSysAlias()
3054 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseBarrierOperand()
3165 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseVectorIndex()
3517 if (getParser().parseExpression(ImmVal) || !isa<MCConstantExpr>(ImmVal) || in tryParseGPR64sp0Operand()
3518 cast<MCConstantExpr>(ImmVal)->getValue() != 0) { in tryParseGPR64sp0Operand()
3593 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal)) { in parseOptionalMulOperand()
3595 MCConstantExpr::create(MCE->getValue(), getContext()), S, getLoc(), in parseOptionalMulOperand()
3746 if (isa<MCConstantExpr>(SubExprVal)) { in parseOperand()
3747 uint64_t Imm = (cast<MCConstantExpr>(SubExprVal))->getValue(); in parseOperand()
3756 MCConstantExpr::create(Imm, Ctx), S, E, Ctx)); in parseOperand()
3781 const MCConstantExpr *Value = dyn_cast_or_null<MCConstantExpr>(Expr); in parseImmExpr()
4638 const MCConstantExpr *Op3CE = dyn_cast<MCConstantExpr>(Op3.getImm()); in MatchAndEmitInstruction()
4652 const MCExpr *NewOp3 = MCConstantExpr::create(NewOp3Val, getContext()); in MatchAndEmitInstruction()
4653 const MCExpr *NewOp4 = MCConstantExpr::create(NewOp4Val, getContext()); in MatchAndEmitInstruction()
4670 const MCConstantExpr *LSBCE = dyn_cast<MCConstantExpr>(LSBOp.getImm()); in MatchAndEmitInstruction()
4671 const MCConstantExpr *WidthCE = dyn_cast<MCConstantExpr>(WidthOp.getImm()); in MatchAndEmitInstruction()
4703 const MCExpr *ImmRExpr = MCConstantExpr::create(ImmR, getContext()); in MatchAndEmitInstruction()
4704 const MCExpr *ImmSExpr = MCConstantExpr::create(ImmS, getContext()); in MatchAndEmitInstruction()
4726 const MCConstantExpr *Op3CE = dyn_cast<MCConstantExpr>(Op3.getImm()); in MatchAndEmitInstruction()
4727 const MCConstantExpr *Op4CE = dyn_cast<MCConstantExpr>(Op4.getImm()); in MatchAndEmitInstruction()
4760 MCConstantExpr::create(NewOp3Val, getContext()); in MatchAndEmitInstruction()
4762 MCConstantExpr::create(NewOp4Val, getContext()); in MatchAndEmitInstruction()
4790 const MCConstantExpr *Op3CE = dyn_cast<MCConstantExpr>(Op3.getImm()); in MatchAndEmitInstruction()
4791 const MCConstantExpr *Op4CE = dyn_cast<MCConstantExpr>(Op4.getImm()); in MatchAndEmitInstruction()
4818 MCConstantExpr::create(NewOp4Val, getContext()); in MatchAndEmitInstruction()
4850 cast<MCConstantExpr>(Op3.getImm())->getValue() == 0) { in MatchAndEmitInstruction()
5470 const MCConstantExpr *Value = dyn_cast_or_null<MCConstantExpr>(Expr); in parseDirectiveInst()
6026 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm()); in validateTargetOperandClass()
6180 auto *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseSVEPattern()
6197 AArch64Operand::CreateImm(MCConstantExpr::create(Pattern, getContext()), in tryParseSVEPattern()