reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1481 const MCInstrDesc &MCID = MI->getDesc(); 1482 if (MI->getNumOperands() < MCID.getNumOperands()) { 1483 report("Too few operands", MI); 1485 << MI->getNumOperands() << " given.\n"; 1488 if (MI->isPHI()) { 1491 report("Found PHI instruction with NoPHIs property set", MI); 1494 report("Found PHI instruction after non-PHI", MI); 1496 FirstNonPHI = MI; 1499 if (MI->isInlineAsm()) 1500 verifyInlineAsm(MI); 1503 for (MachineInstr::mmo_iterator I = MI->memoperands_begin(), 1504 E = MI->memoperands_end(); 1506 if ((*I)->isLoad() && !MI->mayLoad()) 1507 report("Missing mayLoad flag", MI); 1508 if ((*I)->isStore() && !MI->mayStore()) 1509 report("Missing mayStore flag", MI); 1515 bool mapped = !LiveInts->isNotInMIMap(*MI); 1516 if (MI->isDebugInstr()) { 1518 report("Debug instruction has a slot index", MI); 1519 } else if (MI->isInsideBundle()) { 1521 report("Instruction inside bundle has a slot index", MI); 1524 report("Missing slot index", MI); 1529 verifyPreISelGenericInstruction(MI); 1534 if (!TII->verifyInstruction(*MI, ErrorInfo)) 1535 report(ErrorInfo.data(), MI); 1538 switch (MI->getOpcode()) { 1542 const MachineOperand &DstOp = MI->getOperand(0); 1543 const MachineOperand &SrcOp = MI->getOperand(1); 1549 report("Copy Instruction is illegal with mismatching types", MI); 1562 report("Copy Instruction is illegal with mismatching sizes", MI); 1570 if (!MI->getOperand(StatepointOpers::IDPos).isImm() || 1571 !MI->getOperand(StatepointOpers::NBytesPos).isImm() || 1572 !MI->getOperand(StatepointOpers::NCallArgsPos).isImm()) 1573 report("meta operands to STATEPOINT not constant!", MI); 1577 if (!MI->getOperand(Offset).isImm() || 1578 MI->getOperand(Offset).getImm() != StackMaps::ConstantOp || 1579 !MI->getOperand(Offset + 1).isImm()) 1580 report("stack map constant to STATEPOINT not well formed!", MI); 1582 const unsigned VarStart = StatepointOpers(MI).getVarIdx();