Home | History | Annotate | Download | only in AsmParser

Lines Matching defs:CE

658     if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) {
659 int64_t Val = CE->getValue();
672 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) {
673 int64_t Val = CE->getValue();
690 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val);
691 if (!CE) return false;
692 Val = CE->getValue();
704 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
705 if (!CE) return false;
706 int Val = ARM_AM::getFP32Imm(APInt(32, CE->getValue()));
711 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
712 if (!CE) return false;
713 int64_t Value = CE->getValue();
718 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
719 if (!CE) return false;
720 int64_t Value = CE->getValue();
725 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
726 if (!CE) return false;
727 int64_t Value = CE->getValue();
732 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
733 if (!CE) return false;
734 int64_t Value = CE->getValue();
739 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
740 if (!CE) return false;
741 int64_t Value = CE->getValue();
746 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
747 if (!CE) return false;
748 int64_t Value = -CE->getValue();
754 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
755 if (!CE) return false;
756 int64_t Value = CE->getValue();
761 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
762 if (!CE) return false;
763 int64_t Value = CE->getValue();
768 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
769 if (!CE) return false;
770 int64_t Value = CE->getValue();
775 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
776 if (!CE) return false;
777 int64_t Value = -CE->getValue();
782 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
783 if (!CE) return false;
784 int64_t Value = CE->getValue();
789 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
790 if (!CE) return false;
791 int64_t Value = CE->getValue();
796 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
797 if (!CE) return false;
798 int64_t Value = CE->getValue();
803 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
804 if (!CE) return false;
805 int64_t Value = CE->getValue();
810 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
811 if (!CE) return false;
812 int64_t Value = CE->getValue();
817 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
818 if (!CE) return false;
819 int64_t Value = CE->getValue();
824 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
825 if (!CE) return false;
826 int64_t Value = CE->getValue();
831 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
832 if (!CE) return false;
833 int64_t Value = CE->getValue();
838 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
839 if (!CE) return false;
840 int64_t Value = CE->getValue();
845 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
846 if (!CE) return false;
847 int64_t Value = CE->getValue();
852 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
853 if (!CE) return false;
854 int64_t Value = CE->getValue();
859 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
860 if (!CE) return false;
861 int64_t Value = CE->getValue();
866 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
867 if (!CE) return false;
868 int64_t Value = CE->getValue();
873 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
874 if (!CE) return false;
875 int64_t Value = CE->getValue();
880 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
881 if (!CE) return false;
882 int64_t Value = CE->getValue();
887 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
888 if (!CE) return false;
889 int64_t Value = CE->getValue();
894 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
895 if (!CE) return false;
896 int64_t Value = CE->getValue();
901 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
902 if (!CE) return false;
903 int64_t Value = CE->getValue();
908 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
909 if (!CE) return false;
910 int64_t Value = CE->getValue();
915 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
916 if (!CE) return false;
917 int64_t Value = CE->getValue();
922 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
925 if (!CE) return true;
926 int64_t Value = CE->getValue();
931 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
934 if (!CE) return true;
935 int64_t Value = CE->getValue();
940 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
941 if (!CE) return false;
942 int64_t Value = CE->getValue();
947 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
948 if (!CE) return false;
949 int64_t Value = CE->getValue();
954 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
955 if (!CE) return false;
956 int64_t Value = CE->getValue();
961 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
962 if (!CE) return false;
963 int64_t Value = CE->getValue();
974 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
975 if (!CE) return false;
976 int64_t Value = CE->getValue();
982 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
983 if (!CE) return false;
984 int64_t Value = CE->getValue();
989 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
990 if (!CE) return false;
991 CE->getValue();
997 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
998 if (!CE) return false;
999 int64_t Value = CE->getValue();
1006 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1007 if (!CE) return false;
1008 int64_t Value = CE->getValue();
1026 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1027 if (!CE) return false;
1028 int64_t Value = CE->getValue();
1033 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1034 if (!CE) return false;
1035 int64_t Value = CE->getValue();
1136 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1137 if (!CE) return false;
1138 int64_t Val = CE->getValue();
1165 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1166 if (!CE) return false;
1167 int64_t Val = CE->getValue();
1334 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1335 if (!CE) return false;
1336 int64_t Val = CE->getValue();
1341 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1342 if (!CE) return false;
1343 int64_t Val = CE->getValue();
1550 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1552 if (!CE) return false;
1553 int64_t Value = CE->getValue();
1564 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1566 if (!CE) return false;
1567 unsigned Value = CE->getValue();
1574 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1576 if (!CE) return false;
1577 unsigned Value = CE->getValue();
1586 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1588 if (!CE) return false;
1589 unsigned Value = CE->getValue();
1596 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1598 if (!CE) return false;
1599 unsigned Value = CE->getValue();
1606 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1608 if (!CE)
1610 int64_t Value = CE->getValue();
1629 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1631 if (!CE)
1633 int64_t Value = CE->getValue();
1646 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1648 if (!CE) return false;
1649 int64_t Value = ~CE->getValue();
1663 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1665 if (!CE) return false;
1666 uint64_t Value = CE->getValue();
1677 else if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr))
1678 Inst.addOperand(MCOperand::createImm(CE->getValue()));
1786 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1787 uint32_t Enc = ARM_AM::getSOImmVal(~CE->getValue());
1793 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1794 uint32_t Enc = ARM_AM::getSOImmVal(-CE->getValue());
1816 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1817 Inst.addOperand(MCOperand::createImm(16 - CE->getValue()));
1822 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1823 Inst.addOperand(MCOperand::createImm(32 - CE->getValue()));
1828 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1829 int Val = ARM_AM::getFP32Imm(APInt(32, CE->getValue()));
1837 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1838 Inst.addOperand(MCOperand::createImm(CE->getValue()));
1845 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1846 Inst.addOperand(MCOperand::createImm(CE->getValue() / 4));
1853 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1854 Inst.addOperand(MCOperand::createImm(-(CE->getValue() / 4)));
1861 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1862 Inst.addOperand(MCOperand::createImm(CE->getValue() / 4));
1869 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1870 Inst.addOperand(MCOperand::createImm(CE->getValue() - 1));
1877 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1878 Inst.addOperand(MCOperand::createImm(CE->getValue() - 1));
1885 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1886 unsigned Imm = CE->getValue();
1894 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1895 int Val = CE->getValue();
1903 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1904 Inst.addOperand(MCOperand::createImm(~CE->getValue()));
1911 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1912 Inst.addOperand(MCOperand::createImm(-CE->getValue()));
1919 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1920 Inst.addOperand(MCOperand::createImm(-CE->getValue()));
1924 if(const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) {
1925 Inst.addOperand(MCOperand::createImm(CE->getValue() >> 2));
1937 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1938 if (CE) {
1939 Inst.addOperand(MCOperand::createImm(CE->getValue()));
1986 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
1987 int Val = CE->getValue();
2063 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
2064 assert(CE && "non-constant AM2OffsetImm operand!");
2065 int32_t Val = CE->getValue();
2115 const MCConstantExpr *CE = static_cast<const MCConstantExpr*>(getImm());
2116 int32_t Val = CE->getValue();
2282 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
2283 assert(CE && "non-constant post-idx-imm8 operand!");
2284 int Imm = CE->getValue();
2293 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
2294 assert(CE && "non-constant post-idx-imm8s4 operand!");
2295 int Imm = CE->getValue();
2365 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
2366 Inst.addOperand(MCOperand::createImm(CE->getValue() | 0xe00));
2372 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
2373 unsigned Value = CE->getValue();
2381 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
2382 unsigned Value = CE->getValue();
2390 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
2391 unsigned Value = CE->getValue();
2399 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
2400 unsigned Value = CE->getValue();
2408 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
2409 unsigned Value = CE->getValue();
2421 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
2422 unsigned Value = CE->getValue();
2435 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
2436 unsigned Value = CE->getValue();
2448 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
2449 unsigned Value = ~CE->getValue();
2462 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
2463 uint64_t Value = CE->getValue();
3022 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftExpr);
3023 if (!CE) {
3030 Imm = CE->getValue();
3266 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr);
3267 if (!CE || CE->getValue() < 0 || CE->getValue() > 255) {
3271 int Val = CE->getValue();
3485 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(LaneIndex);
3486 if (!CE) {
3496 int64_t Val = CE->getValue();
3815 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(MemBarrierID);
3816 if (!CE) {
3821 int Val = CE->getValue();
3865 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ISBarrierID);
3866 if (!CE) {
3871 int Val = CE->getValue();
4144 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount);
4145 if (!CE) {
4149 int Val = CE->getValue();
4155 Operands.push_back(ARMOperand::CreateImm(CE, Loc, EndLoc));
4226 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount);
4227 if (!CE) {
4232 int64_t Val = CE->getValue();
4288 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ShiftAmount);
4289 if (!CE) {
4294 int64_t Val = CE->getValue();
4348 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm1Exp);
4350 if (CE) {
4352 Imm1 = CE->getValue();
4408 CE = dyn_cast<MCConstantExpr>(Imm2Exp);
4410 if (CE) {
4411 Imm2 = CE->getValue();
4443 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(LSBExpr);
4444 if (!CE) {
4449 int64_t LSB = CE->getValue();
4476 CE = dyn_cast<MCConstantExpr>(WidthExpr);
4477 if (!CE) {
4482 int64_t Width = CE->getValue();
4572 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Offset);
4573 if (!CE) {
4578 int32_t Val = CE->getValue();
4750 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr);
4751 if (!CE)
4755 switch (CE->getValue()) {
4806 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Offset);
4807 if (!CE)
4811 int32_t Val = CE->getValue();
4813 CE = MCConstantExpr::create(INT32_MIN, getContext());
4823 Operands.push_back(ARMOperand::CreateMem(BaseRegNum, CE, 0,
4925 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr);
4926 if (!CE)
4928 int64_t Imm = CE->getValue();
5102 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ImmVal);
5103 if (CE) {
5104 int32_t Val = CE->getValue();
6396 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm());
6397 if (CE) break;
9081 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(AttrExpr);
9082 if (!CE) {
9088 Tag = CE->getValue();
9124 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ValueExpr);
9125 if (!CE) {
9131 IntegerValue = CE->getValue();
9395 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr);
9396 if (!CE) {
9401 Offset = CE->getValue();
9438 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr);
9439 if (!CE) {
9444 getTargetStreamer().emitPad(CE->getValue());
9636 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(IndexExpression);
9637 if (!CE) {
9642 if (CE->getValue() < 0 ||
9643 CE->getValue() >= ARM::EHABI::NUM_PERSONALITY_INDEX) {
9649 getTargetStreamer().emitPersonalityIndex(CE->getValue());
9674 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr);
9675 if (!CE) {
9681 StackOffset = CE->getValue();
9809 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(OffsetExpr);
9810 if (!CE) {
9816 Offset = CE->getValue();
10009 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Op.getImm()))
10010 if (CE->getValue() == 0)