Lines Matching defs:MCE
442 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
443 if (!MCE)
445 int64_t Val = MCE->getValue();
451 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
452 if (!MCE)
454 int64_t Val = MCE->getValue();
460 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
461 if (!MCE)
463 int64_t Val = MCE->getValue();
469 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
470 if (!MCE)
472 int64_t Val = MCE->getValue();
513 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
514 if (!MCE)
517 int64_t Val = MCE->getValue();
524 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
525 if (!MCE)
527 int64_t Val = MCE->getValue();
533 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
534 if (!MCE)
536 int64_t Val = MCE->getValue();
542 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
543 if (!MCE)
545 int64_t Val = MCE->getValue();
551 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
552 if (!MCE)
554 int64_t Val = MCE->getValue();
560 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
561 if (!MCE)
563 int64_t Val = MCE->getValue();
569 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
570 if (!MCE)
572 int64_t Val = MCE->getValue();
578 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
579 if (!MCE)
581 int64_t Val = MCE->getValue();
587 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
588 if (!MCE)
590 int64_t Val = MCE->getValue();
596 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
597 if (!MCE)
599 int64_t Val = MCE->getValue();
605 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
606 if (!MCE)
608 int64_t Val = MCE->getValue();
614 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
615 if (!MCE)
617 int64_t Val = MCE->getValue();
623 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
624 if (!MCE)
626 int64_t Val = MCE->getValue();
632 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
633 if (!MCE)
635 int64_t Val = MCE->getValue();
641 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
642 if (!MCE)
644 int64_t Val = MCE->getValue();
650 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
651 if (!MCE)
653 int64_t Val = MCE->getValue();
659 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
660 if (!MCE)
662 int64_t Val = MCE->getValue();
671 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
672 if (!MCE)
674 return AArch64_AM::isLogicalImmediate(MCE->getValue(), 64);
679 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
680 if (!MCE)
682 int64_t Val = ~MCE->getValue() & 0xFFFFFFFF;
688 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
689 if (!MCE)
691 return AArch64_AM::isLogicalImmediate(~MCE->getValue(), 64);
755 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
756 if (!MCE)
758 return AArch64_AM::isAdvSIMDModImmType10(MCE->getValue());
763 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
764 if (!MCE)
766 int64_t Val = MCE->getValue();
774 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
775 if (!MCE)
777 int64_t Val = MCE->getValue();
785 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
786 if (!MCE)
788 int64_t Val = MCE->getValue();
1282 const MCExpr *MCE = isShiftedImm() ? getShiftedImmVal() : getImm();
1283 const MCConstantExpr *CE = cast<MCConstantExpr>(MCE);
1298 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1299 if (!MCE)
1302 Inst.addOperand(MCOperand::createImm(MCE->getValue() >> 12));
1312 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1314 if (!MCE) {
1318 Inst.addOperand(MCOperand::createImm(MCE->getValue() / Scale));
1323 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1324 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1329 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1330 Inst.addOperand(MCOperand::createImm(MCE->getValue() / 4));
1335 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1336 Inst.addOperand(MCOperand::createImm(MCE->getValue() / 8));
1341 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1342 Inst.addOperand(MCOperand::createImm(MCE->getValue() / 16));
1347 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1348 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1353 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1354 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1359 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1360 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1365 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1366 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1371 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1372 assert(MCE && "Invalid constant immediate operand!");
1373 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1378 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1379 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1384 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1385 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1390 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1391 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1396 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1397 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1402 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1403 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1408 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1409 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1414 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1415 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1420 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1421 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1426 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1427 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1432 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1433 Inst.addOperand(MCOperand::createImm(MCE->getValue()));
1438 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1440 AArch64_AM::encodeLogicalImmediate(MCE->getValue() & 0xFFFFFFFF, 32);
1446 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1447 uint64_t encoding = AArch64_AM::encodeLogicalImmediate(MCE->getValue(), 64);
1453 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1454 int64_t Val = ~MCE->getValue() & 0xFFFFFFFF;
1461 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1463 AArch64_AM::encodeLogicalImmediate(~MCE->getValue(), 64);
1469 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1470 uint64_t encoding = AArch64_AM::encodeAdvSIMDModImmType10(MCE->getValue());
1479 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1480 if (!MCE) {
1484 assert(MCE && "Invalid constant immediate operand!");
1485 Inst.addOperand(MCOperand::createImm(MCE->getValue() >> 2));
1493 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1494 if (!MCE) {
1498 assert(MCE && "Invalid constant immediate operand!");
1499 Inst.addOperand(MCOperand::createImm(MCE->getValue() >> 2));
1507 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1508 if (!MCE) {
1512 assert(MCE && "Invalid constant immediate operand!");
1513 Inst.addOperand(MCOperand::createImm(MCE->getValue() >> 2));
2079 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
2080 if (!MCE) {
2084 unsigned prfop = MCE->getValue();
2093 Mapper.toString(MCE->getValue(), getSTI().getFeatureBits(), Valid);
2298 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Imm);
2299 if (MCE) {
2300 int64_t Val = MCE->getValue();
2460 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
2461 if (!MCE) {
2468 ShOp, MCE->getValue(), true, S, E, getContext()));
2756 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
2757 if (!MCE) {
2761 if (MCE->getValue() < 0 || MCE->getValue() > 15) {
2768 Mapper.toString(MCE->getValue(), getSTI().getFeatureBits(), Valid);
2769 Operands.push_back( AArch64Operand::CreateBarrier(MCE->getValue(), Name,
2864 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
2865 if (!MCE) {
2878 Operands.push_back(AArch64Operand::CreateVectorIndex(MCE->getValue(), SIdx,
3086 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
3087 if (!MCE) {
3100 Operands.push_back(AArch64Operand::CreateVectorIndex(MCE->getValue(), SIdx,