Lines Matching refs:MCConstantExpr
786 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm6()
818 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmScaled()
843 auto *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSVEPattern()
855 auto *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSVEVecLenSpecifier()
904 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm12Offset()
916 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmInRange()
929 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isLogicalImm()
953 if (auto *CE = dyn_cast<MCConstantExpr>(getShiftedImmVal())) in getShiftedVal()
957 if (auto *CE = dyn_cast<MCConstantExpr>(getImm())) { in getShiftedVal()
1031 if (!isShiftedImm() && (!isImm() || !isa<MCConstantExpr>(getImm()))) in isSVECpyImm()
1049 if (!isShiftedImm() && (!isImm() || !isa<MCConstantExpr>(getImm()))) in isSVEAddSubImm()
1074 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSIMDImmType10()
1084 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isBranchTarget()
1147 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(E)) { in isMOVZMovAlias()
1161 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isMOVNMovAlias()
1394 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isComplexRotation()
1682 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isAdrpLabel()
1698 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isAdrLabel()
1725 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isPAuthPCRelLabel16Operand()
1738 else if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr)) in addExpr()
1963 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addAdrpLabelOperands()
1977 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addUImm12OffsetOperands()
1988 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addUImm6Operands()
1995 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addImmScaledOperands()
2008 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addLogicalImmOperands()
2017 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addLogicalImmNotOperands()
2025 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addSIMDImmType10Operands()
2035 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addBranchTarget26Operands()
2049 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addPAuthPCRelLabel16Operands()
2062 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addPCRelLabel19Operands()
2076 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addBranchTarget14Operands()
2219 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addMOVZMovAliasOperands()
2232 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addMOVNMovAliasOperands()
2239 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addComplexRotationEvenOperands()
2245 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addComplexRotationOddOperands()
3067 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseRPRFMOperand()
3127 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParsePrefetch()
3640 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseOptionalShiftExtend()
3793 const MCExpr *Expr = MCConstantExpr::create(Op1, getContext()); in createSysAlias()
3801 Expr = MCConstantExpr::create(Op2, getContext()); in createSysAlias()
3982 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseBarrierOperand()
4045 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseBarriernXSOperand()
4148 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseVectorIndex()
4623 if (getParser().parseExpression(ImmVal) || !isa<MCConstantExpr>(ImmVal) || in tryParseGPR64sp0Operand()
4624 cast<MCConstantExpr>(ImmVal)->getValue() != 0) in tryParseGPR64sp0Operand()
4653 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseZTOperand()
4657 MCConstantExpr::create(MCE->getValue(), getContext()), StartLoc, in tryParseZTOperand()
4735 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal)) { in parseOptionalMulOperand()
4737 MCConstantExpr::create(MCE->getValue(), getContext()), S, getLoc(), in parseOptionalMulOperand()
4966 if (isa<MCConstantExpr>(SubExprVal)) { in parseOperand()
4967 uint64_t Imm = (cast<MCConstantExpr>(SubExprVal))->getValue(); in parseOperand()
4976 MCConstantExpr::create(Imm, Ctx), S, E, Ctx)); in parseOperand()
5001 const MCConstantExpr *Value = dyn_cast_or_null<MCConstantExpr>(Expr); in parseImmExpr()
6223 const MCConstantExpr *Op3CE = dyn_cast<MCConstantExpr>(Op3.getImm()); in MatchAndEmitInstruction()
6237 const MCExpr *NewOp3 = MCConstantExpr::create(NewOp3Val, getContext()); in MatchAndEmitInstruction()
6238 const MCExpr *NewOp4 = MCConstantExpr::create(NewOp4Val, getContext()); in MatchAndEmitInstruction()
6255 const MCConstantExpr *LSBCE = dyn_cast<MCConstantExpr>(LSBOp.getImm()); in MatchAndEmitInstruction()
6256 const MCConstantExpr *WidthCE = dyn_cast<MCConstantExpr>(WidthOp.getImm()); in MatchAndEmitInstruction()
6288 const MCExpr *ImmRExpr = MCConstantExpr::create(ImmR, getContext()); in MatchAndEmitInstruction()
6289 const MCExpr *ImmSExpr = MCConstantExpr::create(ImmS, getContext()); in MatchAndEmitInstruction()
6311 const MCConstantExpr *Op3CE = dyn_cast<MCConstantExpr>(Op3.getImm()); in MatchAndEmitInstruction()
6312 const MCConstantExpr *Op4CE = dyn_cast<MCConstantExpr>(Op4.getImm()); in MatchAndEmitInstruction()
6345 MCConstantExpr::create(NewOp3Val, getContext()); in MatchAndEmitInstruction()
6347 MCConstantExpr::create(NewOp4Val, getContext()); in MatchAndEmitInstruction()
6375 const MCConstantExpr *Op3CE = dyn_cast<MCConstantExpr>(Op3.getImm()); in MatchAndEmitInstruction()
6376 const MCConstantExpr *Op4CE = dyn_cast<MCConstantExpr>(Op4.getImm()); in MatchAndEmitInstruction()
6403 MCConstantExpr::create(NewOp4Val, getContext()); in MatchAndEmitInstruction()
6435 cast<MCConstantExpr>(Op3.getImm())->getValue() == 0) { in MatchAndEmitInstruction()
7115 const MCConstantExpr *Value = dyn_cast_or_null<MCConstantExpr>(Expr); in parseDirectiveInst()
7809 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm()); in validateTargetOperandClass()
8006 auto *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseSVEPattern()
8023 AArch64Operand::CreateImm(MCConstantExpr::create(Pattern, getContext()), in tryParseSVEPattern()
8045 AArch64Operand::CreateImm(MCConstantExpr::create(Pattern, getContext()), in tryParseSVEVecLenSpecifier()
8097 unsigned ImmFVal = cast<MCConstantExpr>(ImmF)->getValue(); in tryParseImmRange()
8098 unsigned ImmLVal = cast<MCConstantExpr>(ImmL)->getValue(); in tryParseImmRange()