summaryrefslogtreecommitdiff
path: root/lib/CodeGen/ScheduleDAGInstrs.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-13 22:02:44 +0000
committerDan Gohman <gohman@apple.com>2009-07-13 22:02:44 +0000
commit16a2c927e95c29a316d0271c93e0490ce3bc06ce (patch)
treeea3508ac917b92473823e2e45200877892d455e9 /lib/CodeGen/ScheduleDAGInstrs.cpp
parent6761c5d609b45f246c3098034683e47113f9f635 (diff)
downloadllvm-16a2c927e95c29a316d0271c93e0490ce3bc06ce.tar.gz
llvm-16a2c927e95c29a316d0271c93e0490ce3bc06ce.tar.bz2
llvm-16a2c927e95c29a316d0271c93e0490ce3bc06ce.tar.xz
Move isLCSSAForm, isLoopInvariant, getCanonicalInductionVariable,
and related functions out of LoopBase and into Loop, since they are specific to BasicBlock-based loops. This also allows the code to be moved out-of-line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75523 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ScheduleDAGInstrs.cpp')
-rw-r--r--lib/CodeGen/ScheduleDAGInstrs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/ScheduleDAGInstrs.cpp b/lib/CodeGen/ScheduleDAGInstrs.cpp
index 8e18b3d17f..8bcbf21fa4 100644
--- a/lib/CodeGen/ScheduleDAGInstrs.cpp
+++ b/lib/CodeGen/ScheduleDAGInstrs.cpp
@@ -14,6 +14,7 @@
#define DEBUG_TYPE "sched-instrs"
#include "ScheduleDAGInstrs.h"
+#include "llvm/Constants.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"