Lines Matching refs:MCConstantExpr

513     const MCConstantExpr *OffsetImm;  // Offset immediate value
683 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) in isARMBranchTarget()
692 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) in isThumbBranchTarget()
703 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUnsignedOffset()
717 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isSignedOffset()
735 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val); in isThumbMemPC()
749 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFPImm()
756 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFBits16()
763 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFBits32()
770 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm8s4()
777 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_1020s4()
784 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_508s4()
791 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_508s4Neg()
799 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_239()
806 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_255()
813 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_4095()
820 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_4095Neg()
827 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_1()
834 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_3()
841 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_7()
848 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_15()
855 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_31()
862 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_63()
869 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm8()
876 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm16()
883 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm32()
890 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isShrImm8()
897 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isShrImm16()
904 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isShrImm32()
911 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isShrImm64()
918 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm1_7()
925 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm1_15()
932 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm1_31()
939 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm1_16()
946 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm1_32()
953 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_32()
960 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_65535()
967 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm256_65535Expr()
976 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_65535Expr()
985 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm24bit()
992 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmThumbSR()
999 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isPKHLSLImm()
1006 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isPKHASRImm()
1014 if (isImm() && !isa<MCConstantExpr>(getImm())) in isAdrLabel()
1019 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isAdrLabel()
1027 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isT2SOImm()
1034 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isT2SOImmNot()
1042 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isT2SOImmNeg()
1051 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isSetEndImm()
1071 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isModImmNot()
1078 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isModImmNeg()
1182 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isAM2OffsetImm()
1191 if (isImm() && !isa<MCConstantExpr>(getImm())) in isAddrMode3()
1211 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isAM3Offset()
1221 if (isImm() && !isa<MCConstantExpr>(getImm())) in isAddrMode5()
1236 if (isImm() && !isa<MCConstantExpr>(getImm())) in isAddrMode5FP16()
1324 if (isImm() && !isa<MCConstantExpr>(getImm())) in isMemImm8s4Offset()
1383 if (isImm() && !isa<MCConstantExpr>(getImm())) in isMemImm12Offset()
1400 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isPostIdxImm8()
1407 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isPostIdxImm8s4()
1616 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi8splat()
1630 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi16splat()
1640 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi16splatNot()
1652 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi32splat()
1662 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi32splatNot()
1672 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONByteReplicate()
1695 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi32vmov()
1712 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi32vmovNeg()
1729 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi64splat()
1743 else if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr)) in addExpr()
1862 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addModImmNotOperands()
1869 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addModImmNegOperands()
1892 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addFBits16Operands()
1898 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addFBits32Operands()
1904 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addFPImmOperands()
1913 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImm8s4Operands()
1921 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImm0_1020s4Operands()
1929 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImm0_508s4NegOperands()
1937 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImm0_508s4Operands()
1945 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImm1_16Operands()
1953 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImm1_32Operands()
1961 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImmThumbSROperands()
1970 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addPKHASRImmOperands()
1979 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addT2SOImmNotOperands()
1987 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addT2SOImmNegOperands()
1995 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImm0_4095NegOperands()
2000 if(const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) { in addUnsignedOffset_b8s2Operands()
2013 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addThumbMemPCOperands()
2027 assert(isa<MCConstantExpr>(Memory.OffsetImm) && "Unknown value type!"); in addThumbMemPCOperands()
2058 if (!isa<MCConstantExpr>(getImm())) { in addAdrLabelOperands()
2063 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addAdrLabelOperands()
2140 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addAM2OffsetImmOperands()
2192 const MCConstantExpr *CE = static_cast<const MCConstantExpr*>(getImm()); in addAM3OffsetOperands()
2389 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addPostIdxImm8Operands()
2400 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addPostIdxImm8s4Operands()
2472 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi8splatOperands()
2479 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi16splatOperands()
2488 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi16splatNotOperands()
2497 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi32splatOperands()
2506 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi32splatNotOperands()
2515 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONinvByteReplicateOperands()
2528 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi32vmovOperands()
2542 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONvmovByteReplicateOperands()
2555 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi32vmovNegOperands()
2569 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi64splatOperands()
2803 CreateMem(unsigned BaseRegNum, const MCConstantExpr *OffsetImm, in CreateMem()
3141 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftExpr); in tryParseShiftRegister()
3221 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseRegisterWithWriteBack()
3385 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr); in parseCoprocOptionOperand()
3604 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(LaneIndex); in parseVectorLane()
3934 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(MemBarrierID); in parseMemBarrierOptOperand()
3984 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ISBarrierID); in parseInstSyncBarrierOptOperand()
4283 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount); in parsePKHImm()
4318 Operands.push_back(ARMOperand::CreateImm(MCConstantExpr::create(Val, in parseSetEndImm()
4365 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount); in parseShifterImm()
4427 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount); in parseRotImm()
4487 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm1Exp); in parseModImm()
4547 CE = dyn_cast<MCConstantExpr>(Imm2Exp); in parseModImm()
4582 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(LSBExpr); in parseBitfield()
4615 CE = dyn_cast<MCConstantExpr>(WidthExpr); in parseBitfield()
4711 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Offset); in parseAM3Offset()
4722 ARMOperand::CreateImm(MCConstantExpr::create(Val, getContext()), S, E)); in parseAM3Offset()
4889 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr); in parseMemory()
4945 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Offset); in parseMemory()
4952 CE = MCConstantExpr::create(INT32_MIN, getContext()); in parseMemory()
5064 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr); in parseMemRegOffsetShift()
5140 MCConstantExpr::create(IntVal, getContext()), in parseFPImm()
5157 MCConstantExpr::create(Val, getContext()), S, in parseFPImm()
5242 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ImmVal); in parseOperand()
5246 ImmVal = MCConstantExpr::create(INT32_MIN, getContext()); in parseOperand()
5922 MCConstantExpr::create(ProcessorIMod, getContext()), in ParseInstruction()
6535 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm()); in validateInstruction()
6887 const MCExpr *Const8 = MCConstantExpr::create(8, getContext()); in processInstruction()
6939 if (isa<MCConstantExpr>(SubExprVal) && in processInstruction()
6943 (int64_t) (cast<MCConstantExpr>(SubExprVal))->getValue(); in processInstruction()
9345 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(AttrExpr); in parseDirectiveEabiAttr()
9388 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveEabiAttr()
9661 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); in parseDirectiveSetFP()
9704 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); in parseDirectivePad()
9793 const MCConstantExpr *Value = dyn_cast_or_null<MCConstantExpr>(Expr); in parseDirectiveInst()
9902 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(IndexExpression); in parseDirectivePersonalityIndex()
9940 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); in parseDirectiveUnwindRaw()
9967 const MCConstantExpr *OC = dyn_cast<MCConstantExpr>(OE); in parseDirectiveUnwindRaw()
10075 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); in parseDirectiveMovSP()
10278 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm())) in validateTargetOperandClass()