diff options
| author | Andrew Trick <atrick@apple.com> | 2012-03-07 05:21:36 +0000 |
|---|---|---|
| committer | Andrew Trick <atrick@apple.com> | 2012-03-07 05:21:36 +0000 |
| commit | 4c727204271067f3dbf50bd23098b2df8e1cc47a (patch) | |
| tree | 38df07d4b2485a2cae5ecc559b219f1b692f88b6 /include/llvm/CodeGen | |
| parent | dbdca36af8ee6028dbea93c639408ba95e5fda2e (diff) | |
| download | external_llvm-4c727204271067f3dbf50bd23098b2df8e1cc47a.zip external_llvm-4c727204271067f3dbf50bd23098b2df8e1cc47a.tar.gz external_llvm-4c727204271067f3dbf50bd23098b2df8e1cc47a.tar.bz2 | |
misched preparation: modularize schedule verification.
ScheduleDAG will not refer to the scheduled instruction sequence.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152204 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
| -rw-r--r-- | include/llvm/CodeGen/ScheduleDAG.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/ScheduleDAG.h b/include/llvm/CodeGen/ScheduleDAG.h index fa34e82..1966724 100644 --- a/include/llvm/CodeGen/ScheduleDAG.h +++ b/include/llvm/CodeGen/ScheduleDAG.h @@ -543,9 +543,9 @@ namespace llvm { virtual void addCustomGraphFeatures(GraphWriter<ScheduleDAG*> &) const {} #ifndef NDEBUG - /// VerifySchedule - Verify that all SUnits were scheduled and that - /// their state is consistent. - void VerifySchedule(bool isBottomUp); + /// VerifyScheduledDAG - Verify that all SUnits were scheduled and that + /// their state is consistent. Return the number of scheduled SUnits. + unsigned VerifyScheduledDAG(bool isBottomUp); #endif protected: |
