aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
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
commit62d0d31be23e51757d2877550864ded52e071a22 (patch)
treeea3508ac917b92473823e2e45200877892d455e9 /lib/CodeGen
parent44ddba76106a4a9881c68d13de10cf7b3df59383 (diff)
downloadexternal_llvm-62d0d31be23e51757d2877550864ded52e071a22.zip
external_llvm-62d0d31be23e51757d2877550864ded52e071a22.tar.gz
external_llvm-62d0d31be23e51757d2877550864ded52e071a22.tar.bz2
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')
-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 8e18b3d..8bcbf21 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"