• Home
  • Raw
  • Download

Lines Matching refs:CE

683     if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()))  in isARMBranchTarget()  local
684 return CE->getValue() % 4 == 0; in isARMBranchTarget()
692 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) in isThumbBranchTarget() local
693 return CE->getValue() % 2 == 0; in isThumbBranchTarget()
703 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUnsignedOffset() local
704 int64_t Val = CE->getValue(); in isUnsignedOffset()
717 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isSignedOffset() local
718 int64_t Val = CE->getValue(); in isSignedOffset()
735 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val); in isThumbMemPC() local
736 if (!CE) return false; in isThumbMemPC()
737 Val = CE->getValue(); in isThumbMemPC()
749 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFPImm() local
750 if (!CE) return false; in isFPImm()
751 int Val = ARM_AM::getFP32Imm(APInt(32, CE->getValue())); in isFPImm()
756 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFBits16() local
757 if (!CE) return false; in isFBits16()
758 int64_t Value = CE->getValue(); in isFBits16()
763 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFBits32() local
764 if (!CE) return false; in isFBits32()
765 int64_t Value = CE->getValue(); in isFBits32()
770 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm8s4() local
771 if (!CE) return false; in isImm8s4()
772 int64_t Value = CE->getValue(); in isImm8s4()
777 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_1020s4() local
778 if (!CE) return false; in isImm0_1020s4()
779 int64_t Value = CE->getValue(); in isImm0_1020s4()
784 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_508s4() local
785 if (!CE) return false; in isImm0_508s4()
786 int64_t Value = CE->getValue(); in isImm0_508s4()
791 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_508s4Neg() local
792 if (!CE) return false; in isImm0_508s4Neg()
793 int64_t Value = -CE->getValue(); in isImm0_508s4Neg()
799 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_239() local
800 if (!CE) return false; in isImm0_239()
801 int64_t Value = CE->getValue(); in isImm0_239()
806 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_255() local
807 if (!CE) return false; in isImm0_255()
808 int64_t Value = CE->getValue(); in isImm0_255()
813 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_4095() local
814 if (!CE) return false; in isImm0_4095()
815 int64_t Value = CE->getValue(); in isImm0_4095()
820 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_4095Neg() local
821 if (!CE) return false; in isImm0_4095Neg()
822 int64_t Value = -CE->getValue(); in isImm0_4095Neg()
827 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_1() local
828 if (!CE) return false; in isImm0_1()
829 int64_t Value = CE->getValue(); in isImm0_1()
834 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_3() local
835 if (!CE) return false; in isImm0_3()
836 int64_t Value = CE->getValue(); in isImm0_3()
841 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_7() local
842 if (!CE) return false; in isImm0_7()
843 int64_t Value = CE->getValue(); in isImm0_7()
848 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_15() local
849 if (!CE) return false; in isImm0_15()
850 int64_t Value = CE->getValue(); in isImm0_15()
855 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_31() local
856 if (!CE) return false; in isImm0_31()
857 int64_t Value = CE->getValue(); in isImm0_31()
862 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_63() local
863 if (!CE) return false; in isImm0_63()
864 int64_t Value = CE->getValue(); in isImm0_63()
869 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm8() local
870 if (!CE) return false; in isImm8()
871 int64_t Value = CE->getValue(); in isImm8()
876 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm16() local
877 if (!CE) return false; in isImm16()
878 int64_t Value = CE->getValue(); in isImm16()
883 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm32() local
884 if (!CE) return false; in isImm32()
885 int64_t Value = CE->getValue(); in isImm32()
890 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isShrImm8() local
891 if (!CE) return false; in isShrImm8()
892 int64_t Value = CE->getValue(); in isShrImm8()
897 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isShrImm16() local
898 if (!CE) return false; in isShrImm16()
899 int64_t Value = CE->getValue(); in isShrImm16()
904 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isShrImm32() local
905 if (!CE) return false; in isShrImm32()
906 int64_t Value = CE->getValue(); in isShrImm32()
911 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isShrImm64() local
912 if (!CE) return false; in isShrImm64()
913 int64_t Value = CE->getValue(); in isShrImm64()
918 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm1_7() local
919 if (!CE) return false; in isImm1_7()
920 int64_t Value = CE->getValue(); in isImm1_7()
925 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm1_15() local
926 if (!CE) return false; in isImm1_15()
927 int64_t Value = CE->getValue(); in isImm1_15()
932 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm1_31() local
933 if (!CE) return false; in isImm1_31()
934 int64_t Value = CE->getValue(); in isImm1_31()
939 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm1_16() local
940 if (!CE) return false; in isImm1_16()
941 int64_t Value = CE->getValue(); in isImm1_16()
946 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm1_32() local
947 if (!CE) return false; in isImm1_32()
948 int64_t Value = CE->getValue(); in isImm1_32()
953 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_32() local
954 if (!CE) return false; in isImm0_32()
955 int64_t Value = CE->getValue(); in isImm0_32()
960 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_65535() local
961 if (!CE) return false; in isImm0_65535()
962 int64_t Value = CE->getValue(); in isImm0_65535()
967 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm256_65535Expr() local
970 if (!CE) return true; in isImm256_65535Expr()
971 int64_t Value = CE->getValue(); in isImm256_65535Expr()
976 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_65535Expr() local
979 if (!CE) return true; in isImm0_65535Expr()
980 int64_t Value = CE->getValue(); in isImm0_65535Expr()
985 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm24bit() local
986 if (!CE) return false; in isImm24bit()
987 int64_t Value = CE->getValue(); in isImm24bit()
992 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmThumbSR() local
993 if (!CE) return false; in isImmThumbSR()
994 int64_t Value = CE->getValue(); in isImmThumbSR()
999 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isPKHLSLImm() local
1000 if (!CE) return false; in isPKHLSLImm()
1001 int64_t Value = CE->getValue(); in isPKHLSLImm()
1006 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isPKHASRImm() local
1007 if (!CE) return false; in isPKHASRImm()
1008 int64_t Value = CE->getValue(); in isPKHASRImm()
1019 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isAdrLabel() local
1020 if (!CE) return false; in isAdrLabel()
1021 int64_t Value = CE->getValue(); in isAdrLabel()
1027 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isT2SOImm() local
1028 if (!CE) return false; in isT2SOImm()
1029 int64_t Value = CE->getValue(); in isT2SOImm()
1034 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isT2SOImmNot() local
1035 if (!CE) return false; in isT2SOImmNot()
1036 int64_t Value = CE->getValue(); in isT2SOImmNot()
1042 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isT2SOImmNeg() local
1043 if (!CE) return false; in isT2SOImmNeg()
1044 int64_t Value = CE->getValue(); in isT2SOImmNeg()
1051 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isSetEndImm() local
1052 if (!CE) return false; in isSetEndImm()
1053 int64_t Value = CE->getValue(); in isSetEndImm()
1071 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isModImmNot() local
1072 if (!CE) return false; in isModImmNot()
1073 int64_t Value = CE->getValue(); in isModImmNot()
1078 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isModImmNeg() local
1079 if (!CE) return false; in isModImmNeg()
1080 int64_t Value = CE->getValue(); in isModImmNeg()
1182 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isAM2OffsetImm() local
1183 if (!CE) return false; in isAM2OffsetImm()
1184 int64_t Val = CE->getValue(); in isAM2OffsetImm()
1211 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isAM3Offset() local
1212 if (!CE) return false; in isAM3Offset()
1213 int64_t Val = CE->getValue(); in isAM3Offset()
1400 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isPostIdxImm8() local
1401 if (!CE) return false; in isPostIdxImm8()
1402 int64_t Val = CE->getValue(); in isPostIdxImm8()
1407 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isPostIdxImm8s4() local
1408 if (!CE) return false; in isPostIdxImm8s4()
1409 int64_t Val = CE->getValue(); in isPostIdxImm8s4()
1616 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi8splat() local
1618 if (!CE) return false; in isNEONi8splat()
1619 int64_t Value = CE->getValue(); in isNEONi8splat()
1630 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi16splat() local
1632 if (!CE) return false; in isNEONi16splat()
1633 unsigned Value = CE->getValue(); in isNEONi16splat()
1640 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi16splatNot() local
1642 if (!CE) return false; in isNEONi16splatNot()
1643 unsigned Value = CE->getValue(); in isNEONi16splatNot()
1652 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi32splat() local
1654 if (!CE) return false; in isNEONi32splat()
1655 unsigned Value = CE->getValue(); in isNEONi32splat()
1662 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi32splatNot() local
1664 if (!CE) return false; in isNEONi32splatNot()
1665 unsigned Value = CE->getValue(); in isNEONi32splatNot()
1672 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONByteReplicate() local
1674 if (!CE) in isNEONByteReplicate()
1676 int64_t Value = CE->getValue(); in isNEONByteReplicate()
1695 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi32vmov() local
1697 if (!CE) in isNEONi32vmov()
1699 int64_t Value = CE->getValue(); in isNEONi32vmov()
1712 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi32vmovNeg() local
1714 if (!CE) return false; in isNEONi32vmovNeg()
1715 int64_t Value = ~CE->getValue(); in isNEONi32vmovNeg()
1729 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isNEONi64splat() local
1731 if (!CE) return false; in isNEONi64splat()
1732 uint64_t Value = CE->getValue(); in isNEONi64splat()
1743 else if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr)) in addExpr() local
1744 Inst.addOperand(MCOperand::createImm(CE->getValue())); in addExpr()
1862 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addModImmNotOperands() local
1863 uint32_t Enc = ARM_AM::getSOImmVal(~CE->getValue()); in addModImmNotOperands()
1869 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addModImmNegOperands() local
1870 uint32_t Enc = ARM_AM::getSOImmVal(-CE->getValue()); in addModImmNegOperands()
1892 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addFBits16Operands() local
1893 Inst.addOperand(MCOperand::createImm(16 - CE->getValue())); in addFBits16Operands()
1898 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addFBits32Operands() local
1899 Inst.addOperand(MCOperand::createImm(32 - CE->getValue())); in addFBits32Operands()
1904 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addFPImmOperands() local
1905 int Val = ARM_AM::getFP32Imm(APInt(32, CE->getValue())); in addFPImmOperands()
1913 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImm8s4Operands() local
1914 Inst.addOperand(MCOperand::createImm(CE->getValue())); in addImm8s4Operands()
1921 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImm0_1020s4Operands() local
1922 Inst.addOperand(MCOperand::createImm(CE->getValue() / 4)); in addImm0_1020s4Operands()
1929 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImm0_508s4NegOperands() local
1930 Inst.addOperand(MCOperand::createImm(-(CE->getValue() / 4))); in addImm0_508s4NegOperands()
1937 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImm0_508s4Operands() local
1938 Inst.addOperand(MCOperand::createImm(CE->getValue() / 4)); in addImm0_508s4Operands()
1945 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImm1_16Operands() local
1946 Inst.addOperand(MCOperand::createImm(CE->getValue() - 1)); in addImm1_16Operands()
1953 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImm1_32Operands() local
1954 Inst.addOperand(MCOperand::createImm(CE->getValue() - 1)); in addImm1_32Operands()
1961 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImmThumbSROperands() local
1962 unsigned Imm = CE->getValue(); in addImmThumbSROperands()
1970 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addPKHASRImmOperands() local
1971 int Val = CE->getValue(); in addPKHASRImmOperands()
1979 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addT2SOImmNotOperands() local
1980 Inst.addOperand(MCOperand::createImm(~CE->getValue())); in addT2SOImmNotOperands()
1987 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addT2SOImmNegOperands() local
1988 Inst.addOperand(MCOperand::createImm(-CE->getValue())); in addT2SOImmNegOperands()
1995 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addImm0_4095NegOperands() local
1996 Inst.addOperand(MCOperand::createImm(-CE->getValue())); in addImm0_4095NegOperands()
2000 if(const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) { in addUnsignedOffset_b8s2Operands() local
2001 Inst.addOperand(MCOperand::createImm(CE->getValue() >> 2)); in addUnsignedOffset_b8s2Operands()
2013 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addThumbMemPCOperands() local
2014 if (CE) { in addThumbMemPCOperands()
2015 Inst.addOperand(MCOperand::createImm(CE->getValue())); in addThumbMemPCOperands()
2063 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addAdrLabelOperands() local
2064 int Val = CE->getValue(); in addAdrLabelOperands()
2140 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addAM2OffsetImmOperands() local
2141 assert(CE && "non-constant AM2OffsetImm operand!"); in addAM2OffsetImmOperands()
2142 int32_t Val = CE->getValue(); in addAM2OffsetImmOperands()
2192 const MCConstantExpr *CE = static_cast<const MCConstantExpr*>(getImm()); in addAM3OffsetOperands() local
2193 int32_t Val = CE->getValue(); in addAM3OffsetOperands()
2389 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addPostIdxImm8Operands() local
2390 assert(CE && "non-constant post-idx-imm8 operand!"); in addPostIdxImm8Operands()
2391 int Imm = CE->getValue(); in addPostIdxImm8Operands()
2400 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addPostIdxImm8s4Operands() local
2401 assert(CE && "non-constant post-idx-imm8s4 operand!"); in addPostIdxImm8s4Operands()
2402 int Imm = CE->getValue(); in addPostIdxImm8s4Operands()
2472 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi8splatOperands() local
2473 Inst.addOperand(MCOperand::createImm(CE->getValue() | 0xe00)); in addNEONi8splatOperands()
2479 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi16splatOperands() local
2480 unsigned Value = CE->getValue(); in addNEONi16splatOperands()
2488 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi16splatNotOperands() local
2489 unsigned Value = CE->getValue(); in addNEONi16splatNotOperands()
2497 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi32splatOperands() local
2498 unsigned Value = CE->getValue(); in addNEONi32splatOperands()
2506 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi32splatNotOperands() local
2507 unsigned Value = CE->getValue(); in addNEONi32splatNotOperands()
2515 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONinvByteReplicateOperands() local
2516 unsigned Value = CE->getValue(); in addNEONinvByteReplicateOperands()
2528 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi32vmovOperands() local
2529 unsigned Value = CE->getValue(); in addNEONi32vmovOperands()
2542 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONvmovByteReplicateOperands() local
2543 unsigned Value = CE->getValue(); in addNEONvmovByteReplicateOperands()
2555 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi32vmovNegOperands() local
2556 unsigned Value = ~CE->getValue(); in addNEONi32vmovNegOperands()
2569 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in addNEONi64splatOperands() local
2570 uint64_t Value = CE->getValue(); in addNEONi64splatOperands()
3141 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftExpr); in tryParseShiftRegister() local
3142 if (!CE) { in tryParseShiftRegister()
3149 Imm = CE->getValue(); in tryParseShiftRegister()
3385 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr); in parseCoprocOptionOperand() local
3386 if (!CE || CE->getValue() < 0 || CE->getValue() > 255) { in parseCoprocOptionOperand()
3390 int Val = CE->getValue(); in parseCoprocOptionOperand()
3604 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(LaneIndex); in parseVectorLane() local
3605 if (!CE) { in parseVectorLane()
3615 int64_t Val = CE->getValue(); in parseVectorLane()
3934 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(MemBarrierID); in parseMemBarrierOptOperand() local
3935 if (!CE) { in parseMemBarrierOptOperand()
3940 int Val = CE->getValue(); in parseMemBarrierOptOperand()
3984 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ISBarrierID); in parseInstSyncBarrierOptOperand() local
3985 if (!CE) { in parseInstSyncBarrierOptOperand()
3990 int Val = CE->getValue(); in parseInstSyncBarrierOptOperand()
4283 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount); in parsePKHImm() local
4284 if (!CE) { in parsePKHImm()
4288 int Val = CE->getValue(); in parsePKHImm()
4294 Operands.push_back(ARMOperand::CreateImm(CE, Loc, EndLoc)); in parsePKHImm()
4365 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount); in parseShifterImm() local
4366 if (!CE) { in parseShifterImm()
4371 int64_t Val = CE->getValue(); in parseShifterImm()
4427 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount); in parseRotImm() local
4428 if (!CE) { in parseRotImm()
4433 int64_t Val = CE->getValue(); in parseRotImm()
4487 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm1Exp); in parseModImm() local
4489 if (CE) { in parseModImm()
4491 Imm1 = CE->getValue(); in parseModImm()
4547 CE = dyn_cast<MCConstantExpr>(Imm2Exp); in parseModImm()
4549 if (CE) { in parseModImm()
4550 Imm2 = CE->getValue(); in parseModImm()
4582 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(LSBExpr); in parseBitfield() local
4583 if (!CE) { in parseBitfield()
4588 int64_t LSB = CE->getValue(); in parseBitfield()
4615 CE = dyn_cast<MCConstantExpr>(WidthExpr); in parseBitfield()
4616 if (!CE) { in parseBitfield()
4621 int64_t Width = CE->getValue(); in parseBitfield()
4711 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Offset); in parseAM3Offset() local
4712 if (!CE) { in parseAM3Offset()
4717 int32_t Val = CE->getValue(); in parseAM3Offset()
4889 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr); in parseMemory() local
4890 if (!CE) in parseMemory()
4894 switch (CE->getValue()) { in parseMemory()
4945 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Offset); in parseMemory() local
4946 if (!CE) in parseMemory()
4950 int32_t Val = CE->getValue(); in parseMemory()
4952 CE = MCConstantExpr::create(INT32_MIN, getContext()); in parseMemory()
4962 Operands.push_back(ARMOperand::CreateMem(BaseRegNum, CE, 0, in parseMemory()
5064 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr); in parseMemRegOffsetShift() local
5065 if (!CE) in parseMemRegOffsetShift()
5067 int64_t Imm = CE->getValue(); in parseMemRegOffsetShift()
5242 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ImmVal); in parseOperand() local
5243 if (CE) { in parseOperand()
5244 int32_t Val = CE->getValue(); in parseOperand()
6535 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm()); in validateInstruction() local
6536 if (CE) break; in validateInstruction()
9345 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(AttrExpr); in parseDirectiveEabiAttr() local
9346 if (!CE) { in parseDirectiveEabiAttr()
9352 Tag = CE->getValue(); in parseDirectiveEabiAttr()
9388 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr); in parseDirectiveEabiAttr() local
9389 if (!CE) { in parseDirectiveEabiAttr()
9395 IntegerValue = CE->getValue(); in parseDirectiveEabiAttr()
9661 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); in parseDirectiveSetFP() local
9662 if (!CE) { in parseDirectiveSetFP()
9667 Offset = CE->getValue(); in parseDirectiveSetFP()
9704 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); in parseDirectivePad() local
9705 if (!CE) { in parseDirectivePad()
9710 getTargetStreamer().emitPad(CE->getValue()); in parseDirectivePad()
9902 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(IndexExpression); in parseDirectivePersonalityIndex() local
9903 if (!CE) { in parseDirectivePersonalityIndex()
9908 if (CE->getValue() < 0 || in parseDirectivePersonalityIndex()
9909 CE->getValue() >= ARM::EHABI::NUM_PERSONALITY_INDEX) { in parseDirectivePersonalityIndex()
9915 getTargetStreamer().emitPersonalityIndex(CE->getValue()); in parseDirectivePersonalityIndex()
9940 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); in parseDirectiveUnwindRaw() local
9941 if (!CE) { in parseDirectiveUnwindRaw()
9947 StackOffset = CE->getValue(); in parseDirectiveUnwindRaw()
10075 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr); in parseDirectiveMovSP() local
10076 if (!CE) { in parseDirectiveMovSP()
10082 Offset = CE->getValue(); in parseDirectiveMovSP()
10278 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm())) in validateTargetOperandClass() local
10279 if (CE->getValue() == 0) in validateTargetOperandClass()