Home | History | Annotate | Download | only in AsmParser

Lines Matching defs:MCE

411     const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
412 if (!MCE)
414 int64_t Val = MCE->getValue();
420 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
421 if (!MCE)
423 int64_t Val = MCE->getValue();
429 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
430 if (!MCE)
432 int64_t Val = MCE->getValue();
438 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
439 if (!MCE)
441 int64_t Val = MCE->getValue();
482 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
483 if (!MCE)
486 int64_t Val = MCE->getValue();
493 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
494 if (!MCE)
496 int64_t Val = MCE->getValue();
502 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
503 if (!MCE)
505 int64_t Val = MCE->getValue();
511 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
512 if (!MCE)
514 int64_t Val = MCE->getValue();
520 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
521 if (!MCE)
523 int64_t Val = MCE->getValue();
529 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
530 if (!MCE)
532 int64_t Val = MCE->getValue();
538 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
539 if (!MCE)
541 int64_t Val = MCE->getValue();
547 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
548 if (!MCE)
550 int64_t Val = MCE->getValue();
556 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
557 if (!MCE)
559 int64_t Val = MCE->getValue();
565 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
566 if (!MCE)
568 int64_t Val = MCE->getValue();
574 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
575 if (!MCE)
577 int64_t Val = MCE->getValue();
583 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
584 if (!MCE)
586 int64_t Val = MCE->getValue();
592 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
593 if (!MCE)
595 int64_t Val = MCE->getValue();
601 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
602 if (!MCE)
604 int64_t Val = MCE->getValue();
610 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
611 if (!MCE)
613 int64_t Val = MCE->getValue();
619 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
620 if (!MCE)
622 int64_t Val = MCE->getValue();
631 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
632 if (!MCE)
634 return AArch64_AM::isLogicalImmediate(MCE->getValue(), 64);
639 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
640 if (!MCE)
642 int64_t Val = ~MCE->getValue() & 0xFFFFFFFF;
648 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
649 if (!MCE)
651 return AArch64_AM::isLogicalImmediate(~MCE->getValue(), 64);
696 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
697 if (!MCE)
699 return AArch64_AM::isAdvSIMDModImmType10(MCE->getValue());
704 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
705 if (!MCE)
707 int64_t Val = MCE->getValue();
715 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
716 if (!MCE)
718 int64_t Val = MCE->getValue();
726 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
727 if (!MCE)
729 int64_t Val = MCE->getValue();
1231 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1232 if (!MCE)
1235 Inst.addOperand(MCOperand::CreateImm(MCE->getValue() >> 12));
1245 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1247 if (!MCE) {
1251 Inst.addOperand(MCOperand::CreateImm(MCE->getValue() / Scale));
1256 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1257 assert(MCE && "Invalid constant immediate operand!");
1258 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1263 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1264 assert(MCE && "Invalid constant immediate operand!");
1265 Inst.addOperand(MCOperand::CreateImm(MCE->getValue() / 4));
1270 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1271 assert(MCE && "Invalid constant immediate operand!");
1272 Inst.addOperand(MCOperand::CreateImm(MCE->getValue() / 8));
1277 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1278 assert(MCE && "Invalid constant immediate operand!");
1279 Inst.addOperand(MCOperand::CreateImm(MCE->getValue() / 16));
1284 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1285 assert(MCE && "Invalid constant immediate operand!");
1286 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1291 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1292 assert(MCE && "Invalid constant immediate operand!");
1293 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1298 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1299 assert(MCE && "Invalid constant immediate operand!");
1300 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1305 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1306 assert(MCE && "Invalid constant immediate operand!");
1307 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1312 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1313 assert(MCE && "Invalid constant immediate operand!");
1314 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1319 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1320 assert(MCE && "Invalid constant immediate operand!");
1321 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1326 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1327 assert(MCE && "Invalid constant immediate operand!");
1328 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1333 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1334 assert(MCE && "Invalid constant immediate operand!");
1335 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1340 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1341 assert(MCE && "Invalid constant immediate operand!");
1342 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1347 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1348 assert(MCE && "Invalid constant immediate operand!");
1349 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1354 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1355 assert(MCE && "Invalid constant immediate operand!");
1356 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1361 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1362 assert(MCE && "Invalid constant immediate operand!");
1363 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1368 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1369 assert(MCE && "Invalid constant immediate operand!");
1370 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1375 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1376 assert(MCE && "Invalid constant immediate operand!");
1377 Inst.addOperand(MCOperand::CreateImm(MCE->getValue()));
1382 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1383 assert(MCE && "Invalid logical immediate operand!");
1385 AArch64_AM::encodeLogicalImmediate(MCE->getValue() & 0xFFFFFFFF, 32);
1391 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1392 assert(MCE && "Invalid logical immediate operand!");
1393 uint64_t encoding = AArch64_AM::encodeLogicalImmediate(MCE->getValue(), 64);
1399 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1400 int64_t Val = ~MCE->getValue() & 0xFFFFFFFF;
1407 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm());
1409 AArch64_AM::encodeLogicalImmediate(~MCE->getValue(), 64);
1415 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1416 assert(MCE && "Invalid immediate operand!");
1417 uint64_t encoding = AArch64_AM::encodeAdvSIMDModImmType10(MCE->getValue());
1426 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1427 if (!MCE) {
1431 assert(MCE && "Invalid constant immediate operand!");
1432 Inst.addOperand(MCOperand::CreateImm(MCE->getValue() >> 2));
1440 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1441 if (!MCE) {
1445 assert(MCE && "Invalid constant immediate operand!");
1446 Inst.addOperand(MCOperand::CreateImm(MCE->getValue() >> 2));
1454 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm());
1455 if (!MCE) {
1459 assert(MCE && "Invalid constant immediate operand!");
1460 Inst.addOperand(MCOperand::CreateImm(MCE->getValue() >> 2));
1993 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
1994 if (!MCE) {
1998 MCE->getValue();
2173 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Imm);
2174 if (MCE) {
2175 int64_t Val = MCE->getValue();
2332 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
2333 if (!MCE) {
2340 ShOp, MCE->getValue(), true, S, E, getContext()));
2605 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
2606 if (!MCE) {
2610 if (MCE->getValue() < 0 || MCE->getValue() > 15) {
2615 AArch64Operand::CreateBarrier(MCE->getValue(), ExprLoc, getContext()));
2685 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
2686 if (!MCE) {
2699 Operands.push_back(AArch64Operand::CreateVectorIndex(MCE->getValue(), SIdx,
2904 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
2905 if (!MCE) {
2918 Operands.push_back(AArch64Operand::CreateVectorIndex(MCE->getValue(), SIdx,