Lines Matching refs:MCConstantExpr
850 const MCConstantExpr *OffsetImm; // Offset immediate value
1038 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) in isARMBranchTarget()
1047 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) in isThumbBranchTarget()
1058 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUnsignedOffset()
1073 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isSignedOffset()
1088 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isLEOffset()
1103 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val); in isThumbMemPC()
1118 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFPImm()
1127 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmediate()
1136 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmediateS4()
1144 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmediateS2()
1181 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_508s4Neg()
1190 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_4095Neg()
1219 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm256_65535Expr()
1229 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_65535Expr()
1256 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isExpImm()
1265 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isInvertedExpImm()
1284 if (isImm() && !isa<MCConstantExpr>(getImm())) in isAdrLabel()
1289 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isAdrLabel()
1299 if (isImm() && !isa<MCConstantExpr>(getImm())) { in isT2SOImm()
1307 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isT2SOImm()
1315 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isT2SOImmNot()
1324 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isT2SOImmNeg()
1334 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isSetEndImm()
1398 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isPowerTwoInRange()
1408 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isModImmNot()
1416 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isModImmNeg()
1425 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isThumbModImmNeg1_7()
1433 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isThumbModImmNeg8_255()
1591 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isAM2OffsetImm()
1602 if (isImm() && !isa<MCConstantExpr>(getImm())) in isAddrMode3()
1624 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isAM3Offset()
1636 if (isImm() && !isa<MCConstantExpr>(getImm())) in isAddrMode5()
1652 if (isImm() && !isa<MCConstantExpr>(getImm())) in isAddrMode5FP16()
1751 if (isImm() && !isa<MCConstantExpr>(getImm())) in isMemImm8s4Offset()
1766 if (isImm() && !isa<MCConstantExpr>(getImm())) in isMemImm7s4Offset()
1907 if (isImm() && !isa<MCConstantExpr>(getImm())) in isMemImm12Offset()
1927 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isPostIdxImm8()
1936 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isPostIdxImm8s4()
2170 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi8splat()
2184 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi16splat()
2194 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi16splatNot()
2206 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi32splat()
2216 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi32splatNot()
2241 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONReplicate()
2297 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi32vmov()
2306 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi32vmovNeg()
2314 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi64splat()
2328 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isComplexRotation()
2337 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isMVELongShift()
2346 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isMveSaturateOp()
2392 else if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr)) in addExpr()
2556 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addModImmNotOperands()
2563 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addModImmNegOperands()
2570 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addThumbModImmNeg8_255Operands()
2577 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addThumbModImmNeg1_7Operands()
2600 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addFBits16Operands()
2606 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addFBits32Operands()
2612 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addFPImmOperands()
2621 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm8s4Operands()
2629 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm7s4Operands()
2635 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm7Shift0Operands()
2641 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm7Shift1Operands()
2647 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm7Shift2Operands()
2653 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm7Operands()
2661 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm0_1020s4Operands()
2669 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm0_508s4NegOperands()
2677 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm0_508s4Operands()
2685 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm1_16Operands()
2693 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm1_32Operands()
2701 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImmThumbSROperands()
2710 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addPKHASRImmOperands()
2719 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addT2SOImmNotOperands()
2727 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addT2SOImmNegOperands()
2735 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm0_4095NegOperands()
2740 if(const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) { in addUnsignedOffset_b8s2Operands()
2751 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addThumbMemPCOperands()
2762 assert(isa<MCConstantExpr>(Memory.OffsetImm) && "Unknown value type!"); in addThumbMemPCOperands()
2813 if (!isa<MCConstantExpr>(getImm())) { in addAdrLabelOperands()
2818 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addAdrLabelOperands()
2895 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addAM2OffsetImmOperands()
2947 const MCConstantExpr *CE = static_cast<const MCConstantExpr*>(getImm()); in addAM3OffsetOperands()
3158 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addPostIdxImm8Operands()
3169 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addPostIdxImm8s4Operands()
3198 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addPowerTwoOperands()
3293 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addNEONi8splatOperands()
3300 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addNEONi16splatOperands()
3309 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addNEONi16splatNotOperands()
3318 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addNEONi32splatOperands()
3327 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addNEONi32splatNotOperands()
3335 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addNEONi8ReplicateOperands()
3366 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addNEONi32vmovOperands()
3378 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addNEONvmovi16ReplicateOperands()
3395 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addNEONi32vmovNegOperands()
3402 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addNEONvmovi32ReplicateOperands()
3417 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addNEONi64splatOperands()
3428 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addComplexRotationEvenOperands()
3434 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addComplexRotationOddOperands()
3440 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addMveSaturateOperands()
3690 CreateMem(unsigned BaseRegNum, const MCConstantExpr *OffsetImm, in CreateMem()
4072 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftExpr); in tryParseShiftRegister()
4151 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseRegisterWithWriteBack()
4296 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr); in parseCoprocOptionOperand()
4539 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(LaneIndex); in parseVectorLane()
4874 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(MemBarrierID); in parseMemBarrierOptOperand()
4942 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ISBarrierID); in parseInstSyncBarrierOptOperand()
5150 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount); in parsePKHImm()
5185 Operands.push_back(ARMOperand::CreateImm(MCConstantExpr::create(Val, in parseSetEndImm()
5232 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount); in parseShifterImm()
5294 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount); in parseRotImm()
5354 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm1Exp); in parseModImm()
5414 CE = dyn_cast<MCConstantExpr>(Imm2Exp); in parseModImm()
5449 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(LSBExpr); in parseBitfield()
5482 CE = dyn_cast<MCConstantExpr>(WidthExpr); in parseBitfield()
5578 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Offset); in parseAM3Offset()
5590 ARMOperand::CreateImm(MCConstantExpr::create(Val, getContext()), S, E)); in parseAM3Offset()
5771 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr); in parseMemory()
5829 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Offset); in parseMemory()
5837 CE = MCConstantExpr::create(std::numeric_limits<int32_t>::min(), in parseMemory()
5952 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr); in parseMemRegOffsetShift()
6028 MCConstantExpr::create(IntVal, getContext()), in parseFPImm()
6045 MCConstantExpr::create(Val, getContext()), S, in parseFPImm()
6146 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ImmVal); in parseOperand()
6150 ImmVal = MCConstantExpr::create(std::numeric_limits<int32_t>::min(), in parseOperand()
6727 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(IMM.getImm())) { in shouldOmitCCOutOperand()
7078 MCConstantExpr::create(ProcessorIMod, getContext()), in ParseInstruction()
7962 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm()); in validateInstruction()
8618 const MCExpr *Const8 = MCConstantExpr::create(8, getContext()); in processInstruction()
8671 if (isa<MCConstantExpr>(SubExprVal) && in processInstruction()
8675 (int64_t) (cast<MCConstantExpr>(SubExprVal))->getValue(); in processInstruction()
11174 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(AttrExpr); in parseDirectiveEabiAttr()
11208 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveEabiAttr()
11452 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); in parseDirectiveSetFP()
11487 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); in parseDirectivePad()
11553 const MCConstantExpr *Value = dyn_cast_or_null<MCConstantExpr>(Expr); in parseDirectiveInst()
11658 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(IndexExpression); in parseDirectivePersonalityIndex()
11682 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); in parseDirectiveUnwindRaw()
11700 const MCConstantExpr *OC = dyn_cast<MCConstantExpr>(OE); in parseDirectiveUnwindRaw()
11769 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); in parseDirectiveMovSP()
12163 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm())) in validateTargetOperandClass()
12169 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm())) in validateTargetOperandClass()
12175 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm())) in validateTargetOperandClass()