Lines Matching full:report

257     void report(const char *msg, const MachineFunction *MF);
258 void report(const char *msg, const MachineBasicBlock *MBB);
259 void report(const char *msg, const MachineInstr *MI);
260 void report(const char *msg, const MachineOperand *MO, unsigned MONum,
262 void report(const Twine &Msg, const MachineInstr *MI);
417 // then report an error. in verifyProperties()
421 report("Function has NoVRegs property but there are VReg operands", &MF); in verifyProperties()
484 report("Bad instruction parent pointer", &MBB); in verify()
491 report("Missing BundledPred flag, " in verify()
495 report("BundledPred flag is set, " in verify()
506 report("No bundle header", &MI); in verify()
513 report("Instruction has operand with wrong parent set", &MI); in verify()
525 report("BundledSucc flag set on last instruction in block", &MBB.back()); in verify()
541 void MachineVerifier::report(const char *msg, const MachineFunction *MF) { in report() function in MachineVerifier
556 void MachineVerifier::report(const char *msg, const MachineBasicBlock *MBB) { in report() function in MachineVerifier
558 report(msg, MBB->getParent()); in report()
567 void MachineVerifier::report(const char *msg, const MachineInstr *MI) { in report() function in MachineVerifier
569 report(msg, MI->getParent()); in report()
576 void MachineVerifier::report(const char *msg, const MachineOperand *MO, in report() function in MachineVerifier
579 report(msg, MO->getParent()); in report()
585 void MachineVerifier::report(const Twine &Msg, const MachineInstr *MI) { in report() function in MachineVerifier
586 report(Msg.str().c_str(), MI); in report()
662 report("MBB has duplicate entries in its predecessor list.", &MBB); in visitMachineFunctionBefore()
666 report("MBB has duplicate entries in its successor list.", &MBB); in visitMachineFunctionBefore()
689 report("MBB has allocatable live-in, but isn't entry, landing-pad, or " in visitMachineBasicBlockBefore()
699 report("ir-block-address-taken is associated with basic block not used by " in visitMachineBasicBlockBefore()
710 report("MBB has successor that isn't part of the function.", MBB); in visitMachineBasicBlockBefore()
712 report("Inconsistent CFG", MBB); in visitMachineBasicBlockBefore()
721 report("MBB has predecessor that isn't part of the function.", MBB); in visitMachineBasicBlockBefore()
723 report("Inconsistent CFG", MBB); in visitMachineBasicBlockBefore()
737 report("MBB has more than one landing pad successor", MBB); in visitMachineBasicBlockBefore()
750 report("MBB exits via unconditional fall-through but ends with a " in visitMachineBasicBlockBefore()
754 report("MBB exits via unconditional fall-through but has a condition!", in visitMachineBasicBlockBefore()
760 report("MBB exits via unconditional branch but doesn't contain " in visitMachineBasicBlockBefore()
763 report("MBB exits via unconditional branch but doesn't end with a " in visitMachineBasicBlockBefore()
766 report("MBB exits via unconditional branch but the branch isn't a " in visitMachineBasicBlockBefore()
772 report("MBB exits via conditional branch/fall-through but doesn't " in visitMachineBasicBlockBefore()
775 report("MBB exits via conditional branch/fall-through but ends with a " in visitMachineBasicBlockBefore()
778 report("MBB exits via conditional branch/fall-through but the branch " in visitMachineBasicBlockBefore()
785 report("MBB exits via conditional branch/branch but doesn't " in visitMachineBasicBlockBefore()
788 report("MBB exits via conditional branch/branch but doesn't end with a " in visitMachineBasicBlockBefore()
791 report("MBB exits via conditional branch/branch but the branch " in visitMachineBasicBlockBefore()
795 report("MBB exits via conditional branch/branch but there's no " in visitMachineBasicBlockBefore()
799 report("analyzeBranch returned invalid data!", MBB); in visitMachineBasicBlockBefore()
805 report("MBB exits via jump or conditional branch, but its target isn't a " in visitMachineBasicBlockBefore()
809 report("MBB exits via conditional branch, but its target isn't a CFG " in visitMachineBasicBlockBefore()
824 report("MBB conditionally falls through out of function!", MBB); in visitMachineBasicBlockBefore()
826 report("MBB exits via conditional branch/fall-through but the CFG " in visitMachineBasicBlockBefore()
844 report("MBB has unexpected successors which are not branch targets, " in visitMachineBasicBlockBefore()
854 report("MBB live-in list contains non-physical register", MBB); in visitMachineBasicBlockBefore()
882 report("Instruction index out of order", MI); in visitMachineBundleBefore()
896 report("Non-terminator instruction after the first terminator", MI); in visitMachineBundleBefore()
907 report("Too few operands on inline asm", MI); in verifyInlineAsm()
911 report("Asm string must be an external symbol", MI); in verifyInlineAsm()
913 report("Asm flags must be an immediate", MI); in verifyInlineAsm()
918 report("Unknown asm flags", &MI->getOperand(1), 1); in verifyInlineAsm()
934 report("Missing operands in last group", MI); in verifyInlineAsm()
944 report("Expected implicit register after groups", &MO, OpNo); in verifyInlineAsm()
961 report("INLINEASM_BR indirect target does not exist", &MO, i); in verifyInlineAsm()
966 report("INLINEASM_BR indirect target missing from successor list", &MO, in verifyInlineAsm()
970 report("INLINEASM_BR indirect target predecessor list missing parent", in verifyInlineAsm()
987 report("All register operands must have scalar types", &MI); in verifyAllRegOpsScalar()
997 report("operand types must be all-vector or all-scalar", MI); in verifyVectorElementMatch()
998 // Generally we try to report as many issues as possible at once, but in in verifyVectorElementMatch()
1007 report("operand types must preserve number of vector elements", MI); in verifyVectorElementMatch()
1024 report(Twine(TII->getName(Opcode), in verifyGIntrinsicSideEffects()
1030 report(Twine(TII->getName(Opcode), " used with readnone intrinsic"), MI); in verifyGIntrinsicSideEffects()
1048 report(Twine(TII->getName(Opcode), " used with a convergent intrinsic"), in verifyGIntrinsicConvergence()
1053 report( in verifyGIntrinsicConvergence()
1065 report("Unexpected generic instruction in a Selected function", MI); in verifyPreISelGenericInstruction()
1081 report("Branch instruction is missing a basic block operand or " in verifyPreISelGenericInstruction()
1100 report("generic instruction must use register operands", MI); in verifyPreISelGenericInstruction()
1105 // Don't report a type mismatch if there is no actual mismatch, only a in verifyPreISelGenericInstruction()
1113 report("Type mismatch in generic instruction", MO, I, OpTy); in verifyPreISelGenericInstruction()
1116 report("Generic instruction is missing a virtual register type", MO, I); in verifyPreISelGenericInstruction()
1124 report("Generic instruction cannot have physical register", MO, I); in verifyPreISelGenericInstruction()
1133 report(ErrorInfo.data(), MI); in verifyPreISelGenericInstruction()
1143 report(Twine(OpcName, " expects an immediate operand #2"), MI); in verifyPreISelGenericInstruction()
1152 report(Twine(OpcName, " size must be >= 1"), MI); in verifyPreISelGenericInstruction()
1157 report(Twine(OpcName, " size must be less than source bit width"), MI); in verifyPreISelGenericInstruction()
1166 report(Twine(OpcName, " cannot change register bank"), MI); in verifyPreISelGenericInstruction()
1173 report( in verifyPreISelGenericInstruction()
1186 report("Instruction cannot use a vector result type", MI); in verifyPreISelGenericInstruction()
1190 report("G_CONSTANT operand must be cimm", MI); in verifyPreISelGenericInstruction()
1196 report("inconsistent constant size", MI); in verifyPreISelGenericInstruction()
1199 report("G_FCONSTANT operand must be fpimm", MI); in verifyPreISelGenericInstruction()
1206 report("inconsistent constant size", MI); in verifyPreISelGenericInstruction()
1219 report("Generic memory instruction must access a pointer", MI); in verifyPreISelGenericInstruction()
1224 report("Generic instruction accessing memory must have one mem operand", in verifyPreISelGenericInstruction()
1232 report("Generic extload must have a narrower memory type", MI); in verifyPreISelGenericInstruction()
1236 report("load memory size cannot exceed result size", MI); in verifyPreISelGenericInstruction()
1240 report("store memory size cannot exceed value size", MI); in verifyPreISelGenericInstruction()
1247 report("atomic store cannot use acquire ordering", MI); in verifyPreISelGenericInstruction()
1252 report("atomic load cannot use release ordering", MI); in verifyPreISelGenericInstruction()
1269 report("Generic Instruction G_PHI has operands with incompatible/missing " in verifyPreISelGenericInstruction()
1281 report("bitcast cannot convert between pointers and other types", MI); in verifyPreISelGenericInstruction()
1284 report("bitcast sizes must match", MI); in verifyPreISelGenericInstruction()
1287 report("bitcast must change the type", MI); in verifyPreISelGenericInstruction()
1306 report("inttoptr result type must be a pointer", MI); in verifyPreISelGenericInstruction()
1308 report("inttoptr source type must not be a pointer", MI); in verifyPreISelGenericInstruction()
1311 report("ptrtoint source type must be a pointer", MI); in verifyPreISelGenericInstruction()
1313 report("ptrtoint result type must not be a pointer", MI); in verifyPreISelGenericInstruction()
1317 report("addrspacecast types must be pointers", MI); in verifyPreISelGenericInstruction()
1320 report("addrspacecast must convert different address spaces", MI); in verifyPreISelGenericInstruction()
1334 report("gep first operand must be a pointer", MI); in verifyPreISelGenericInstruction()
1337 report("gep offset operand must not be a pointer", MI); in verifyPreISelGenericInstruction()
1344 report("gep offset operand must match index size for address space", in verifyPreISelGenericInstruction()
1360 report("ptrmask result type must be a pointer", MI); in verifyPreISelGenericInstruction()
1363 report("ptrmask mask type must be an integer", MI); in verifyPreISelGenericInstruction()
1375 // reported in case of any issues), so no need to report them again. As in verifyPreISelGenericInstruction()
1376 // we're trying to report as many issues as possible at once, however, the in verifyPreISelGenericInstruction()
1386 report("Generic extend/truncate can not operate on pointers", MI); in verifyPreISelGenericInstruction()
1395 report("Generic extend has destination type no larger than source", MI); in verifyPreISelGenericInstruction()
1400 report("Generic truncate has destination type no smaller than source", in verifyPreISelGenericInstruction()
1425 report("G_MERGE_VALUES cannot operate on vectors", MI); in verifyPreISelGenericInstruction()
1429 report("G_MERGE_VALUES result size is inconsistent", MI); in verifyPreISelGenericInstruction()
1433 report("G_MERGE_VALUES source types do not match", MI); in verifyPreISelGenericInstruction()
1443 report("G_UNMERGE_VALUES destination types do not match", MI); in verifyPreISelGenericInstruction()
1454 report("G_UNMERGE_VALUES source operand does not match vector " in verifyPreISelGenericInstruction()
1462 report("G_UNMERGE_VALUES vector source operand does not match scalar " in verifyPreISelGenericInstruction()
1468 report("G_UNMERGE_VALUES scalar source operand does not match scalar " in verifyPreISelGenericInstruction()
1481 report("G_BUILD_VECTOR must produce a vector from scalar operands", MI); in verifyPreISelGenericInstruction()
1486 report("G_BUILD_VECTOR result element type must match source type", MI); in verifyPreISelGenericInstruction()
1489 report("G_BUILD_VECTOR must have an operand for each elemement", MI); in verifyPreISelGenericInstruction()
1493 report("G_BUILD_VECTOR source operand types are not homogeneous", MI); in verifyPreISelGenericInstruction()
1503 report("G_BUILD_VECTOR_TRUNC must produce a vector from scalar operands", in verifyPreISelGenericInstruction()
1507 report("G_BUILD_VECTOR_TRUNC source operand types are not homogeneous", in verifyPreISelGenericInstruction()
1510 report("G_BUILD_VECTOR_TRUNC source operand types are not larger than " in verifyPreISelGenericInstruction()
1521 report("G_CONCAT_VECTOR requires vector source and destination operands", in verifyPreISelGenericInstruction()
1525 report("G_CONCAT_VECTOR requires at least 2 source operands", MI); in verifyPreISelGenericInstruction()
1529 report("G_CONCAT_VECTOR source operand types are not homogeneous", MI); in verifyPreISelGenericInstruction()
1532 report("G_CONCAT_VECTOR num dest and source elements should match", MI); in verifyPreISelGenericInstruction()
1543 report("Generic vector icmp/fcmp must preserve number of lanes", MI); in verifyPreISelGenericInstruction()
1554 report("Generic scmp/ucmp does not support pointers as operands", MI); in verifyPreISelGenericInstruction()
1559 report("Generic scmp/ucmp does not support pointers as a result", MI); in verifyPreISelGenericInstruction()
1566 report("Generic vector scmp/ucmp must preserve number of lanes", MI); in verifyPreISelGenericInstruction()
1571 report("Generic scmp/ucmp must have same input types", MI); in verifyPreISelGenericInstruction()
1580 report("extract source must be a register", MI); in verifyPreISelGenericInstruction()
1586 report("extract offset must be a constant", MI); in verifyPreISelGenericInstruction()
1593 report("extract source must be larger than result", MI); in verifyPreISelGenericInstruction()
1596 report("extract reads past end of register", MI); in verifyPreISelGenericInstruction()
1602 report("insert source must be a register", MI); in verifyPreISelGenericInstruction()
1608 report("insert offset must be a constant", MI); in verifyPreISelGenericInstruction()
1616 report("inserted size must be smaller than total register", MI); in verifyPreISelGenericInstruction()
1619 report("insert writes past end of register", MI); in verifyPreISelGenericInstruction()
1625 report("G_JUMP_TABLE source operand must be a jump table index", MI); in verifyPreISelGenericInstruction()
1628 report("G_JUMP_TABLE dest operand must have a pointer type", MI); in verifyPreISelGenericInstruction()
1633 report("G_BRJT src operand 0 must be a pointer type", MI); in verifyPreISelGenericInstruction()
1636 report("G_BRJT src operand 1 must be a jump table index", MI); in verifyPreISelGenericInstruction()
1640 report("G_BRJT src operand 2 must be a scalar reg type", MI); in verifyPreISelGenericInstruction()
1651 report("G_INTRINSIC first src operand must be an intrinsic ID", MI); in verifyPreISelGenericInstruction()
1664 report("G_SEXT_INREG expects an immediate operand #2", MI); in verifyPreISelGenericInstruction()
1671 report("G_SEXT_INREG size must be >= 1", MI); in verifyPreISelGenericInstruction()
1673 report("G_SEXT_INREG size must be less than source bit width", MI); in verifyPreISelGenericInstruction()
1679 report("G_BSWAP size must be a multiple of 16 bits", MI); in verifyPreISelGenericInstruction()
1684 report("G_VSCALE operand must be cimm", MI); in verifyPreISelGenericInstruction()
1688 report("G_VSCALE immediate cannot be zero", MI); in verifyPreISelGenericInstruction()
1696 report("G_INSERT_SUBVECTOR first source must be a register", MI); in verifyPreISelGenericInstruction()
1702 report("G_INSERT_SUBVECTOR second source must be a register", MI); in verifyPreISelGenericInstruction()
1708 report("G_INSERT_SUBVECTOR index must be an immediate", MI); in verifyPreISelGenericInstruction()
1717 report("Destination type must be a vector", MI); in verifyPreISelGenericInstruction()
1722 report("First source must be a vector", MI); in verifyPreISelGenericInstruction()
1727 report("Second source must be a vector", MI); in verifyPreISelGenericInstruction()
1732 report("Destination type must match the first source vector type", MI); in verifyPreISelGenericInstruction()
1737 report("Element type of source vectors must be the same", MI); in verifyPreISelGenericInstruction()
1743 report("Index must be a multiple of the second source vector's " in verifyPreISelGenericInstruction()
1753 report("G_EXTRACT_SUBVECTOR first source must be a register", MI); in verifyPreISelGenericInstruction()
1759 report("G_EXTRACT_SUBVECTOR index must be an immediate", MI); in verifyPreISelGenericInstruction()
1767 report("Destination type must be a vector", MI); in verifyPreISelGenericInstruction()
1772 report("First source must be a vector", MI); in verifyPreISelGenericInstruction()
1777 report("Element type of vectors must be the same", MI); in verifyPreISelGenericInstruction()
1783 report("Index must be a multiple of the source vector's minimum vector " in verifyPreISelGenericInstruction()
1794 report("Incorrect mask operand type for G_SHUFFLE_VECTOR", MI); in verifyPreISelGenericInstruction()
1803 report("Source operands must be the same type", MI); in verifyPreISelGenericInstruction()
1806 report("G_SHUFFLE_VECTOR cannot change element type", MI); in verifyPreISelGenericInstruction()
1816 report("Wrong result type for shufflemask", MI); in verifyPreISelGenericInstruction()
1823 report("Out of bounds shuffle index", MI); in verifyPreISelGenericInstruction()
1834 report("Destination type must be a scalable vector", MI); in verifyPreISelGenericInstruction()
1839 report("Source type must be a scalar", MI); in verifyPreISelGenericInstruction()
1845 report("Element type of the destination must be the same size or smaller " in verifyPreISelGenericInstruction()
1859 report("Destination type must be a scalar or pointer", MI); in verifyPreISelGenericInstruction()
1864 report("First source must be a vector", MI); in verifyPreISelGenericInstruction()
1871 report("Index type must match VectorIdxTy", MI); in verifyPreISelGenericInstruction()
1884 report("Destination type must be a vector", MI); in verifyPreISelGenericInstruction()
1889 report("Destination type and vector type must match", MI); in verifyPreISelGenericInstruction()
1894 report("Inserted element must be a scalar or pointer", MI); in verifyPreISelGenericInstruction()
1901 report("Index type must match VectorIdxTy", MI); in verifyPreISelGenericInstruction()
1913 report("dst operand 0 must be a pointer type", MI); in verifyPreISelGenericInstruction()
1918 report("src operand 1 must be a scalar reg type", MI); in verifyPreISelGenericInstruction()
1923 report("src operand 2 must be an immediate type", MI); in verifyPreISelGenericInstruction()
1933 report("memcpy/memmove must have 2 memory operands", MI); in verifyPreISelGenericInstruction()
1939 report("wrong memory operand types", MI); in verifyPreISelGenericInstruction()
1944 report("inconsistent memory operand sizes", MI); in verifyPreISelGenericInstruction()
1950 report("memory instruction operand must be a pointer", MI); in verifyPreISelGenericInstruction()
1955 report("inconsistent store address space", MI); in verifyPreISelGenericInstruction()
1957 report("inconsistent load address space", MI); in verifyPreISelGenericInstruction()
1961 report("'tail' flag (operand 3) must be an immediate 0 or 1", MI); in verifyPreISelGenericInstruction()
1970 report(Twine(Name, " must have 1 memory operand"), MI); in verifyPreISelGenericInstruction()
1975 report(Twine(Name, " memory operand must be a store"), MI); in verifyPreISelGenericInstruction()
1981 report(Twine(Name, " operand must be a pointer"), MI); in verifyPreISelGenericInstruction()
1986 report("inconsistent " + Twine(Name, " address space"), MI); in verifyPreISelGenericInstruction()
1990 report("'tail' flag (last operand) must be an immediate 0 or 1", MI); in verifyPreISelGenericInstruction()
1997 report("Crash kind must be an immediate", &KindOp, 0); in verifyPreISelGenericInstruction()
2002 report("Crash kind must be 8 bit wide", &KindOp, 0); in verifyPreISelGenericInstruction()
2011 report("Vector reduction requires a scalar destination type", MI); in verifyPreISelGenericInstruction()
2013 report("Sequential FADD/FMUL vector reduction requires a scalar 1st operand", MI); in verifyPreISelGenericInstruction()
2015 report("Sequential FADD/FMUL vector reduction must have a vector 2nd operand", MI); in verifyPreISelGenericInstruction()
2035 report("Vector reduction requires a scalar destination type", MI); in verifyPreISelGenericInstruction()
2043 report("Bitfield extraction is not supported on vectors", MI); in verifyPreISelGenericInstruction()
2056 report("Shifts and rotates require operands to be either all scalars or " in verifyPreISelGenericInstruction()
2072 report("Destination must be a scalar or vector of scalars", MI); in verifyPreISelGenericInstruction()
2078 report("Source must be a scalar or vector of scalars", MI); in verifyPreISelGenericInstruction()
2085 report("floating-point class set (operand 2) must be an immediate", MI); in verifyPreISelGenericInstruction()
2090 report("Incorrect floating-point class set (operand 2)", MI); in verifyPreISelGenericInstruction()
2098 report("addr operand must be a pointer", &AddrOp, 0); in verifyPreISelGenericInstruction()
2103 report("rw operand must be an immediate 0-1", &RWOp, 1); in verifyPreISelGenericInstruction()
2108 report("locality operand must be an immediate 0-3", &LocalityOp, 2); in verifyPreISelGenericInstruction()
2113 report("cache type operand must be an immediate 0-1", &CacheTypeOp, 3); in verifyPreISelGenericInstruction()
2120 report("alignment immediate must be >= 1", MI); in verifyPreISelGenericInstruction()
2125 report("Src operand 1 must be a constant pool index", MI); in verifyPreISelGenericInstruction()
2127 report("Dst operand 0 must be a pointer", MI); in verifyPreISelGenericInstruction()
2133 report("addr operand must be a pointer", &AddrOp, 1); in verifyPreISelGenericInstruction()
2144 report("Too few operands", MI); in visitMachineInstrBefore()
2150 report("NoConvergent flag expected only on convergent instructions.", MI); in visitMachineInstrBefore()
2155 report("Found PHI instruction with NoPHIs property set", MI); in visitMachineInstrBefore()
2158 report("Found PHI instruction after non-PHI", MI); in visitMachineInstrBefore()
2169 report("Unspillable Terminator does not define a reg", MI); in visitMachineInstrBefore()
2175 report("Unspillable Terminator expected to have at most one use!", MI); in visitMachineInstrBefore()
2183 report("Missing DebugLoc for debug instruction", MI); in visitMachineInstrBefore()
2188 report("Metadata instruction should not have a value tracking number", MI); in visitMachineInstrBefore()
2193 report("Missing mayLoad flag", MI); in visitMachineInstrBefore()
2195 report("Missing mayStore flag", MI); in visitMachineInstrBefore()
2204 report("Debug instruction has a slot index", MI); in visitMachineInstrBefore()
2207 report("Instruction inside bundle has a slot index", MI); in visitMachineInstrBefore()
2210 report("Missing slot index", MI); in visitMachineInstrBefore()
2222 report(ErrorInfo.data(), MI); in visitMachineInstrBefore()
2237 report("Copy Instruction is illegal with mismatching types", MI); in visitMachineInstrBefore()
2271 // and correctly report a size mismatch. in visitMachineInstrBefore()
2281 report("Copy Instruction is illegal with mismatching sizes", MI); in visitMachineInstrBefore()
2293 report("meta operands to STATEPOINT not constant!", MI); in visitMachineInstrBefore()
2299 report("stack map constant to STATEPOINT is out of range!", MI); in visitMachineInstrBefore()
2305 report("stack map constant to STATEPOINT not well formed!", MI); in visitMachineInstrBefore()
2321 report("STATEPOINT defs expected to be tied", MI); in visitMachineInstrBefore()
2325 report("STATEPOINT def tied to non-gc operand", MI); in visitMachineInstrBefore()
2340 report("INSERT_SUBREG expected inserted value to have equal or lesser " in visitMachineInstrBefore()
2348 report("Invalid number of operands for REG_SEQUENCE", MI); in visitMachineInstrBefore()
2357 report("Invalid register operand for REG_SEQUENCE", &RegOp, I); in visitMachineInstrBefore()
2361 report("Invalid subregister index operand for REG_SEQUENCE", in visitMachineInstrBefore()
2368 report("REG_SEQUENCE does not support physical register results", MI); in visitMachineInstrBefore()
2371 report("Invalid subreg result for REG_SEQUENCE", MI); in visitMachineInstrBefore()
2390 report("Explicit definition must be a register", MO, MONum); in visitMachineOperand()
2392 report("Explicit definition marked as use", MO, MONum); in visitMachineOperand()
2394 report("Explicit definition marked as implicit", MO, MONum); in visitMachineOperand()
2403 report("Explicit operand marked as def", MO, MONum); in visitMachineOperand()
2405 report("Explicit operand marked as implicit", MO, MONum); in visitMachineOperand()
2411 report("Expected a register operand.", MO, MONum); in visitMachineOperand()
2416 report("Expected a non-register operand.", MO, MONum); in visitMachineOperand()
2423 report("Tied use must be a register", MO, MONum); in visitMachineOperand()
2425 report("Operand should be tied", MO, MONum); in visitMachineOperand()
2427 report("Tied def doesn't match MCInstrDesc", MO, MONum); in visitMachineOperand()
2431 report("Tied counterpart must be a register", &MOTied, TiedTo); in visitMachineOperand()
2434 report("Tied physical registers must match.", &MOTied, TiedTo); in visitMachineOperand()
2437 report("Explicit operand should not be tied", MO, MONum); in visitMachineOperand()
2441 report("Extra explicit operand on non-variadic instruction", MO, MONum); in visitMachineOperand()
2450 report("Register operand must be marked debug", MO, MONum); in visitMachineOperand()
2452 report("Register operand must not be marked debug", MO, MONum); in visitMachineOperand()
2463 report("Undef virtual register def operands require a subregister", MO, MONum); in visitMachineOperand()
2470 report("Must be tied to a register", MO, MONum); in visitMachineOperand()
2472 report("Missing tie flags on tied operand", MO, MONum); in visitMachineOperand()
2474 report("Inconsistent tie links", MO, MONum); in visitMachineOperand()
2478 report("Explicit def tied to explicit use without tie constraint", in visitMachineOperand()
2482 report("Explicit def should be tied to implicit use", MO, MONum); in visitMachineOperand()
2499 report("Two-address instruction operands must be identical", MO, MONum); in visitMachineOperand()
2506 report("Illegal subregister index for physical register", MO, MONum); in visitMachineOperand()
2513 report("Illegal physical register for instruction", MO, MONum); in visitMachineOperand()
2521 report("isRenamable set on reserved register", MO, MONum); in visitMachineOperand()
2538 report("Generic virtual register use cannot be undef", MO, MONum); in visitMachineOperand()
2549 report("Generic virtual register invalid in a Selected function", in visitMachineOperand()
2557 report("Generic virtual register must have a valid type", MO, in visitMachineOperand()
2567 report("Generic virtual register must have a bank in a " in visitMachineOperand()
2576 report("Register bank is too small for virtual register", MO, in visitMachineOperand()
2586 report("Generic virtual register does not allow subregister index", MO, in visitMachineOperand()
2597 report("Virtual register does not match instruction constraint", MO, in visitMachineOperand()
2612 report("Invalid subregister index for virtual register", MO, MONum); in visitMachineOperand()
2618 report("Invalid register class for subregister index", MO, MONum); in visitMachineOperand()
2631 report("No largest legal super class exists.", MO, MONum); in visitMachineOperand()
2636 report("No matching super-reg register class.", MO, MONum); in visitMachineOperand()
2641 report("Illegal virtual register for instruction", MO, MONum); in visitMachineOperand()
2658 report("PHI operand is not in the CFG", MO, MONum); in visitMachineOperand()
2689 report("Missing fixed stack memoperand.", MI); in visitMachineOperand()
2692 report("Instruction loads from dead spill slot", MO, MONum); in visitMachineOperand()
2696 report("Instruction stores to dead spill slot", MO, MONum); in visitMachineOperand()
2704 report("CFI instruction has invalid index", MO, MONum); in visitMachineOperand()
2723 report("No live segment at use", MO, MONum); in checkLivenessAtUse()
2729 report("Live range continues after kill flag", MO, MONum); in checkLivenessAtUse()
2757 report("Inconsistent valno->def", MO, MONum); in checkLivenessAtDef()
2766 report("No live segment at def", MO, MONum); in checkLivenessAtDef()
2784 report("Live range continues after dead def flag", MO, MONum); in checkLivenessAtDef()
2805 report("Live interval for subreg operand has no subranges", MO, MONum); in checkLiveness()
2807 report("Virtual register has no live interval", MO, MONum); in checkLiveness()
2823 report("Kill missing from LiveVariables", MO, MONum); in checkLiveness()
2865 report("No live subrange at use", MO, MONum); in checkLiveness()
2871 report("Not all lanes of PHI source live at use", MO, MONum); in checkLiveness()
2897 // get a report for its operand. in checkLiveness()
2911 report("Using an undefined physical register", MO, MONum); in checkLiveness()
2913 report("Reading virtual register without a def", MO, MONum); in checkLiveness()
2920 report("Using a killed virtual register", MO, MONum); in checkLiveness()
2938 report("Multiple virtual register defs in SSA form", MO, MONum); in checkLiveness()
2991 report("Block ends before last instruction index", MBB); in visitMachineBasicBlockAfter()
3192 report("Expected first PHI operand to be a register def", &MODef, 0); in checkPHIOps()
3197 report("Unexpected flag on PHI operand", &MODef, 0); in checkPHIOps()
3200 report("Expected first PHI operand to be a virtual register", &MODef, 0); in checkPHIOps()
3205 report("Expected PHI operand to be a register", &MO0, I); in checkPHIOps()
3210 report("Unexpected flag on PHI operand", &MO0, I); in checkPHIOps()
3214 report("Expected PHI operand to be a basic block", &MO1, I + 1); in checkPHIOps()
3220 report("PHI input is not a predecessor block", &MO1, I + 1); in checkPHIOps()
3229 report("PHI operand is not live-out from predecessor", &MO0, I); in checkPHIOps()
3237 report("Missing PHI operand", &Phi); in checkPHIOps()
3266 report(Message.str().c_str(), MF); in visitMachineFunctionAfter()
3283 report("Virtual register killed in block, but needed live out.", &MBB); in visitMachineFunctionAfter()
3292 report("Virtual register defs don't dominate all uses.", MF); in visitMachineFunctionAfter()
3319 report("Live in register not found to be live out from predecessor.", in visitMachineFunctionAfter()
3330 report("Call site info referencing instruction that is not call", MF); in visitMachineFunctionAfter()
3341 report("Instruction has a duplicated value tracking number", &MI); in visitMachineFunctionAfter()
3359 report("LiveVariables: Block missing from AliveBlocks", &MBB); in verifyLiveVariables()
3365 report("LiveVariables: Block should not be in AliveBlocks", &MBB); in verifyLiveVariables()
3384 report("Missing live interval for virtual register", MF); in verifyLiveIntervals()
3409 report("Value not live at VNInfo def and not marked unused", MF); in verifyLiveRangeValue()
3416 report("Live segment at def has different VNInfo", MF); in verifyLiveRangeValue()
3424 report("Invalid VNInfo definition index", MF); in verifyLiveRangeValue()
3432 report("PHIDef VNInfo is not defined at MBB start", MBB); in verifyLiveRangeValue()
3442 report("No instruction at VNInfo def index", MBB); in verifyLiveRangeValue()
3470 report("Defining instruction does not modify register", MI); in verifyLiveRangeValue()
3479 report("Early clobber def must be at an early-clobber slot", MBB); in verifyLiveRangeValue()
3484 report("Non-PHI, non-early clobber def must be at a register slot", MBB); in verifyLiveRangeValue()
3500 report("Foreign valno in live segment", MF); in verifyLiveRangeSegment()
3507 report("Live segment valno is marked unused", MF); in verifyLiveRangeSegment()
3514 report("Bad start of live segment, no basic block", MF); in verifyLiveRangeSegment()
3521 report("Live segment must begin at MBB entry or valno def", MBB); in verifyLiveRangeSegment()
3529 report("Bad end of live segment, no basic block", MF); in verifyLiveRangeSegment()
3546 report("Live segment doesn't end at a valid instruction", EndMBB); in verifyLiveRangeSegment()
3554 report("Live segment ends at B slot of an instruction", EndMBB); in verifyLiveRangeSegment()
3563 report("Live segment ending at dead slot spans instructions", EndMBB); in verifyLiveRangeSegment()
3577 report("Live segment ending at early clobber slot must be " in verifyLiveRangeSegment()
3620 report( in verifyLiveRangeSegment()
3632 report("Instruction ending live segment doesn't read the register", in verifyLiveRangeSegment()
3694 report("Register not marked live out of predecessor", Pred); in verifyLiveRangeSegment()
3705 report("Different value live out of predecessor", Pred); in verifyLiveRangeSegment()
3738 report("Lane masks of sub ranges overlap in live interval", MF); in verifyLiveInterval()
3742 report("Subrange lanemask is invalid", MF); in verifyLiveInterval()
3746 report("Subrange must not be empty", MF); in verifyLiveInterval()
3752 report("A Subrange is not covered by the main range", MF); in verifyLiveInterval()
3762 report("Multiple connected components in live interval", MF); in verifyLiveInterval()
3828 report("Call frame size on entry does not match value computed from " in verifyStackFrame()
3840 report("FrameSetup is after another FrameSetup", &I); in verifyStackFrame()
3842 report("AdjustsStack not set in presence of a frame pseudo " in verifyStackFrame()
3851 report("FrameDestroy is not after a FrameSetup", &I); in verifyStackFrame()
3855 report("FrameDestroy <n> is after FrameSetup <m>", &I); in verifyStackFrame()
3860 report("AdjustsStack not set in presence of a frame pseudo " in verifyStackFrame()
3874 report("The exit stack state of a predecessor is inconsistent.", MBB); in verifyStackFrame()
3889 report("The entry stack state of a successor is inconsistent.", MBB); in verifyStackFrame()
3901 report("A return block ends with a FrameSetup.", MBB); in verifyStackFrame()
3903 report("A return block ends with a nonzero stack adjustment.", MBB); in verifyStackFrame()