Lines Matching refs:report
207 template <typename T> void report(const char *msg, ilist_iterator<T> I) { in report() function
208 report(msg, &*I); in report()
210 void report(const char *msg, const MachineFunction *MF);
211 void report(const char *msg, const MachineBasicBlock *MBB);
212 void report(const char *msg, const MachineInstr *MI);
213 void report(const char *msg, const MachineOperand *MO, unsigned MONum);
328 report("Bad instruction parent pointer", MFI); in runOnMachineFunction()
335 report("Missing BundledPred flag, " in runOnMachineFunction()
339 report("BundledPred flag is set, " in runOnMachineFunction()
350 report("No bundle header", MBBI); in runOnMachineFunction()
358 report("Instruction has operand with wrong parent set", &MI); in runOnMachineFunction()
372 report("BundledSucc flag set on last instruction in block", &MFI->back()); in runOnMachineFunction()
392 void MachineVerifier::report(const char *msg, const MachineFunction *MF) { in report() function in MachineVerifier
407 void MachineVerifier::report(const char *msg, const MachineBasicBlock *MBB) { in report() function in MachineVerifier
409 report(msg, MBB->getParent()); in report()
419 void MachineVerifier::report(const char *msg, const MachineInstr *MI) { in report() function in MachineVerifier
421 report(msg, MI->getParent()); in report()
429 void MachineVerifier::report(const char *msg, in report() function in MachineVerifier
432 report(msg, MO->getParent()); in report()
492 report("MBB has duplicate entries in its predecessor list.", &MBB); in visitMachineFunctionBefore()
496 report("MBB has duplicate entries in its successor list.", &MBB); in visitMachineFunctionBefore()
525 report("MBB has allocable live-in, but isn't entry or landing-pad.", MBB); in visitMachineBasicBlockBefore()
537 report("MBB has successor that isn't part of the function.", MBB); in visitMachineBasicBlockBefore()
539 report("Inconsistent CFG", MBB); in visitMachineBasicBlockBefore()
549 report("MBB has predecessor that isn't part of the function.", MBB); in visitMachineBasicBlockBefore()
551 report("Inconsistent CFG", MBB); in visitMachineBasicBlockBefore()
565 report("MBB has more than one landing pad successor", MBB); in visitMachineBasicBlockBefore()
587 report("MBB exits via unconditional fall-through but doesn't have " in visitMachineBasicBlockBefore()
590 report("MBB exits via unconditional fall-through but its successor " in visitMachineBasicBlockBefore()
595 report("MBB exits via unconditional fall-through but ends with a " in visitMachineBasicBlockBefore()
599 report("MBB exits via unconditional fall-through but has a condition!", in visitMachineBasicBlockBefore()
609 report("MBB exits via unconditional branch but doesn't have " in visitMachineBasicBlockBefore()
612 report("MBB exits via unconditional branch but the CFG " in visitMachineBasicBlockBefore()
616 report("MBB exits via unconditional branch but doesn't contain " in visitMachineBasicBlockBefore()
619 report("MBB exits via unconditional branch but doesn't end with a " in visitMachineBasicBlockBefore()
622 report("MBB exits via unconditional branch but the branch isn't a " in visitMachineBasicBlockBefore()
630 report("MBB conditionally falls through out of function!", MBB); in visitMachineBasicBlockBefore()
634 report("MBB exits via conditional branch/fall-through but only has " in visitMachineBasicBlockBefore()
637 report("MBB exits via conditional branch/fall-through but the CFG " in visitMachineBasicBlockBefore()
640 report("MBB exits via conditional branch/fall-through but doesn't have " in visitMachineBasicBlockBefore()
643 report("MBB exits via conditional branch/fall-through but the CFG " in visitMachineBasicBlockBefore()
647 report("MBB exits via conditional branch/fall-through but doesn't " in visitMachineBasicBlockBefore()
650 report("MBB exits via conditional branch/fall-through but ends with a " in visitMachineBasicBlockBefore()
653 report("MBB exits via conditional branch/fall-through but the branch " in visitMachineBasicBlockBefore()
662 report("MBB exits via conditional branch/branch through but only has " in visitMachineBasicBlockBefore()
665 report("MBB exits via conditional branch/branch through but the CFG " in visitMachineBasicBlockBefore()
668 report("MBB exits via conditional branch/branch but doesn't have " in visitMachineBasicBlockBefore()
671 report("MBB exits via conditional branch/branch but the CFG " in visitMachineBasicBlockBefore()
675 report("MBB exits via conditional branch/branch but doesn't " in visitMachineBasicBlockBefore()
678 report("MBB exits via conditional branch/branch but doesn't end with a " in visitMachineBasicBlockBefore()
681 report("MBB exits via conditional branch/branch but the branch " in visitMachineBasicBlockBefore()
685 report("MBB exits via conditinal branch/branch but there's no " in visitMachineBasicBlockBefore()
689 report("AnalyzeBranch returned invalid data!", MBB); in visitMachineBasicBlockBefore()
696 report("MBB live-in list contains non-physical register", MBB); in visitMachineBasicBlockBefore()
727 report("Instruction index out of order", MI); in visitMachineBundleBefore()
740 report("Non-terminator instruction after the first terminator", MI); in visitMachineBundleBefore()
750 report("Too few operands on inline asm", MI); in verifyInlineAsm()
754 report("Asm string must be an external symbol", MI); in verifyInlineAsm()
756 report("Asm flags must be an immediate", MI); in verifyInlineAsm()
760 report("Unknown asm flags", &MI->getOperand(1), 1); in verifyInlineAsm()
775 report("Missing operands in last group", MI); in verifyInlineAsm()
785 report("Expected implicit register after groups", &MO, OpNo); in verifyInlineAsm()
792 report("Too few operands", MI); in visitMachineInstrBefore()
805 report("Missing mayLoad flag", MI); in visitMachineInstrBefore()
807 report("Missing mayStore flag", MI); in visitMachineInstrBefore()
816 report("Debug instruction has a slot index", MI); in visitMachineInstrBefore()
819 report("Instruction inside bundle has a slot index", MI); in visitMachineInstrBefore()
822 report("Missing slot index", MI); in visitMachineInstrBefore()
828 report(ErrorInfo.data(), MI); in visitMachineInstrBefore()
843 report("Explicit definition must be a register", MO, MONum); in visitMachineOperand()
845 report("Explicit definition marked as use", MO, MONum); in visitMachineOperand()
847 report("Explicit definition marked as implicit", MO, MONum); in visitMachineOperand()
855 report("Explicit operand marked as def", MO, MONum); in visitMachineOperand()
857 report("Explicit operand marked as implicit", MO, MONum); in visitMachineOperand()
863 report("Tied use must be a register", MO, MONum); in visitMachineOperand()
865 report("Operand should be tied", MO, MONum); in visitMachineOperand()
867 report("Tied def doesn't match MCInstrDesc", MO, MONum); in visitMachineOperand()
869 report("Explicit operand should not be tied", MO, MONum); in visitMachineOperand()
873 report("Extra explicit operand on non-variadic instruction", MO, MONum); in visitMachineOperand()
889 report("Must be tied to a register", MO, MONum); in visitMachineOperand()
891 report("Missing tie flags on tied operand", MO, MONum); in visitMachineOperand()
893 report("Inconsistent tie links", MO, MONum); in visitMachineOperand()
897 report("Explicit def tied to explicit use without tie constraint", in visitMachineOperand()
901 report("Explicit def should be tied to implicit use", MO, MONum); in visitMachineOperand()
911 report("Two-address instruction operands must be identical", MO, MONum); in visitMachineOperand()
919 report("Illegal subregister index for physical register", MO, MONum); in visitMachineOperand()
925 report("Illegal physical register for instruction", MO, MONum); in visitMachineOperand()
937 report("Invalid subregister index for virtual register", MO, MONum); in visitMachineOperand()
943 report("Invalid register class for subregister index", MO, MONum); in visitMachineOperand()
955 report("No largest legal super class exists.", MO, MONum); in visitMachineOperand()
960 report("No matching super-reg register class.", MO, MONum); in visitMachineOperand()
965 report("Illegal virtual register for instruction", MO, MONum); in visitMachineOperand()
982 report("PHI operand is not in the CFG", MO, MONum); in visitMachineOperand()
1013 report("Missing fixed stack memoperand.", MI); in visitMachineOperand()
1016 report("Instruction loads from dead spill slot", MO, MONum); in visitMachineOperand()
1020 report("Instruction stores to dead spill slot", MO, MONum); in visitMachineOperand()
1047 report("Kill missing from LiveVariables", MO, MONum); in checkLiveness()
1059 report("No live segment at use", MO, MONum); in checkLiveness()
1064 report("Live range continues after kill flag", MO, MONum); in checkLiveness()
1077 report("No live segment at use", MO, MONum); in checkLiveness()
1083 report("Live range continues after kill flag", MO, MONum); in checkLiveness()
1087 report("Virtual register has no live interval", MO, MONum); in checkLiveness()
1127 report("Using an undefined physical register", MO, MONum); in checkLiveness()
1129 report("Reading virtual register without a def", MO, MONum); in checkLiveness()
1136 report("Using a killed virtual register", MO, MONum); in checkLiveness()
1154 report("Multiple virtual register defs in SSA form", MO, MONum); in checkLiveness()
1166 report("Inconsistent valno->def", MO, MONum); in checkLiveness()
1171 report("No live segment at def", MO, MONum); in checkLiveness()
1178 report("Live range continues after dead def flag", MO, MONum); in checkLiveness()
1183 report("Virtual register has no Live interval", MO, MONum); in checkLiveness()
1220 report("Block ends before last instruction index", MBB); in visitMachineBasicBlockAfter()
1314 report("PHI operand is not live-out from predecessor", in checkPHIOps()
1322 report("Missing PHI operand", &BBI); in checkPHIOps()
1353 report("Virtual register killed in block, but needed live out.", &MBB); in visitMachineFunctionAfter()
1364 report("Virtual register def doesn't dominate all uses.", in visitMachineFunctionAfter()
1385 report("LiveVariables: Block missing from AliveBlocks", &MBB); in verifyLiveVariables()
1391 report("LiveVariables: Block should not be in AliveBlocks", &MBB); in verifyLiveVariables()
1410 report("Missing live interval for virtual register", MF); in verifyLiveIntervals()
1435 report("Value not live at VNInfo def and not marked unused", MF); in verifyLiveRangeValue()
1442 report("Live segment at def has different VNInfo", MF); in verifyLiveRangeValue()
1450 report("Invalid VNInfo definition index", MF); in verifyLiveRangeValue()
1458 report("PHIDef VNInfo is not defined at MBB start", MBB); in verifyLiveRangeValue()
1468 report("No instruction at VNInfo def index", MBB); in verifyLiveRangeValue()
1497 report("Defining instruction does not modify register", MI); in verifyLiveRangeValue()
1506 report("Early clobber def must be at an early-clobber slot", MBB); in verifyLiveRangeValue()
1511 report("Non-PHI, non-early clobber def must be at a register slot", MBB); in verifyLiveRangeValue()
1527 report("Foreign valno in live segment", MF); in verifyLiveRangeSegment()
1534 report("Live segment valno is marked unused", MF); in verifyLiveRangeSegment()
1541 report("Bad start of live segment, no basic block", MF); in verifyLiveRangeSegment()
1548 report("Live segment must begin at MBB entry or valno def", MBB); in verifyLiveRangeSegment()
1556 report("Bad end of live segment, no basic block", MF); in verifyLiveRangeSegment()
1575 report("Live segment doesn't end at a valid instruction", EndMBB); in verifyLiveRangeSegment()
1583 report("Live segment ends at B slot of an instruction", EndMBB); in verifyLiveRangeSegment()
1592 report("Live segment ending at dead slot spans instructions", EndMBB); in verifyLiveRangeSegment()
1602 report("Live segment ending at early clobber slot must be " in verifyLiveRangeSegment()
1633 report("Instruction ending live segment doesn't read the register", in verifyLiveRangeSegment()
1675 report("Register not marked live out of predecessor", *PI); in verifyLiveRangeSegment()
1686 report("Different value live out of predecessor", *PI); in verifyLiveRangeSegment()
1718 report("Lane masks of sub ranges overlap in live interval", MF); in verifyLiveInterval()
1722 report("Subrange lanemask is invalid", MF); in verifyLiveInterval()
1726 report("Subrange must not be empty", MF); in verifyLiveInterval()
1732 report("A Subrange is not covered by the main range", MF); in verifyLiveInterval()
1741 report("Multiple connected components in live interval", MF); in verifyLiveInterval()
1812 report("FrameSetup is after another FrameSetup", &I); in verifyStackFrame()
1824 report("FrameDestroy is not after a FrameSetup", &I); in verifyStackFrame()
1828 report("FrameDestroy <n> is after FrameSetup <m>", &I); in verifyStackFrame()
1845 report("The exit stack state of a predecessor is inconsistent.", MBB); in verifyStackFrame()
1861 report("The entry stack state of a successor is inconsistent.", MBB); in verifyStackFrame()
1873 report("A return block ends with a FrameSetup.", MBB); in verifyStackFrame()
1875 report("A return block ends with a nonzero stack adjustment.", MBB); in verifyStackFrame()