Do not insert one entry PHI nodes in split exit blocks!
[oota-llvm.git] / lib / Transforms / TransformInternals.h
index 4f92dc4eda8db3a7c6e1bdb3d80fbaf237a810f5..3b80146a2780c14b28215ca642bd3d8a04952ab6 100644 (file)
@@ -22,6 +22,8 @@
 #include <map>
 #include <set>
 
+namespace llvm {
+
 static inline int64_t getConstantValue(const ConstantInt *CPI) {
   return (int64_t)cast<ConstantInt>(CPI)->getRawValue();
 }
@@ -139,4 +141,6 @@ const Type *getStructOffsetType(const Type *Ty, unsigned &Offset,
                                 std::vector<Value*> &Offsets,
                                 const TargetData &TD, bool StopEarly = true);
 
+} // End llvm namespace
+
 #endif