diff --git a/lib/Analysis/DataStructure/ComputeClosure.cpp b/lib/Analysis/DataStructure/ComputeClosure.cpp index 5ea706800ba..671fb9219b1 100644 --- a/lib/Analysis/DataStructure/ComputeClosure.cpp +++ b/lib/Analysis/DataStructure/ComputeClosure.cpp @@ -8,6 +8,7 @@ //#define DEBUG_IP_CLOSURE 1 #include "llvm/Analysis/DataStructure.h" +#include "llvm/Function.h" #include "llvm/iOther.h" #include "Support/STLExtras.h" #include diff --git a/lib/Target/SparcV9/SparcV9RegInfo.cpp b/lib/Target/SparcV9/SparcV9RegInfo.cpp index 89f699b368f..b5eef094d68 100644 --- a/lib/Target/SparcV9/SparcV9RegInfo.cpp +++ b/lib/Target/SparcV9/SparcV9RegInfo.cpp @@ -14,6 +14,7 @@ #include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h" #include "llvm/iTerminators.h" #include "llvm/iOther.h" +#include "llvm/Function.h" #include "llvm/DerivedTypes.h" #include using std::cerr; diff --git a/lib/Transforms/TransformInternals.cpp b/lib/Transforms/TransformInternals.cpp index a75aa57bccd..e41f955f63b 100644 --- a/lib/Transforms/TransformInternals.cpp +++ b/lib/Transforms/TransformInternals.cpp @@ -9,6 +9,7 @@ #include "llvm/Type.h" #include "llvm/ConstantVals.h" #include "llvm/Analysis/Expressions.h" +#include "llvm/Function.h" #include "llvm/iOther.h" #include diff --git a/lib/Transforms/Utils/LowerAllocations.cpp b/lib/Transforms/Utils/LowerAllocations.cpp index 3345acd6f73..42524c8be86 100644 --- a/lib/Transforms/Utils/LowerAllocations.cpp +++ b/lib/Transforms/Utils/LowerAllocations.cpp @@ -10,6 +10,7 @@ #include "llvm/Transforms/ChangeAllocations.h" #include "llvm/Target/TargetData.h" #include "llvm/Module.h" +#include "llvm/Function.h" #include "llvm/DerivedTypes.h" #include "llvm/iMemory.h" #include "llvm/iOther.h"