From 019b92a70c11319f5ab96c9f5e66e4e111a972f8 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Wed, 14 Nov 2007 02:33:58 +0000 Subject: Start the process of making MachineLoopInfo possible by templating Loop. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44097 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Utils/Cloning.h | 3 +-- include/llvm/Transforms/Utils/FunctionUtils.h | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'include/llvm/Transforms') diff --git a/include/llvm/Transforms/Utils/Cloning.h b/include/llvm/Transforms/Utils/Cloning.h index 53e47a3..1d9d651 100644 --- a/include/llvm/Transforms/Utils/Cloning.h +++ b/include/llvm/Transforms/Utils/Cloning.h @@ -20,13 +20,12 @@ #include #include "llvm/ADT/DenseMap.h" +#include "llvm/Analysis/LoopInfo.h" namespace llvm { class Module; class Function; -class Loop; -class LoopInfo; class Pass; class LPPassManager; class BasicBlock; diff --git a/include/llvm/Transforms/Utils/FunctionUtils.h b/include/llvm/Transforms/Utils/FunctionUtils.h index cf8abdf..078fab0 100644 --- a/include/llvm/Transforms/Utils/FunctionUtils.h +++ b/include/llvm/Transforms/Utils/FunctionUtils.h @@ -14,13 +14,13 @@ #ifndef LLVM_TRANSFORMS_UTILS_FUNCTION_H #define LLVM_TRANSFORMS_UTILS_FUNCTION_H -#include +#include "llvm/Analysis/Dominators.h" +#include "llvm/Analysis/LoopInfo.h" #include namespace llvm { class BasicBlock; class Function; - class Loop; /// ExtractCodeRegion - rip out a sequence of basic blocks into a new function /// -- cgit v1.1