Index: src/IceVariableSplitting.h |
diff --git a/src/IceMangling.h b/src/IceVariableSplitting.h |
similarity index 54% |
copy from src/IceMangling.h |
copy to src/IceVariableSplitting.h |
index d1f12fb028018fcd799dbb8444a47927d9338153..0da8d1d3544dccac393f0b31530817b19f96c92e 100644 |
--- a/src/IceMangling.h |
+++ b/src/IceVariableSplitting.h |
@@ -1,4 +1,4 @@ |
-//===- subzero/src/IceMangling.h - Name mangling for crosstests -*- C++ -*-===// |
+//===- subzero/src/IceVariableSplitting.h - Local var splitting -*- C++ -*-===// |
// |
// The Subzero Code Generator |
// |
@@ -8,19 +8,18 @@ |
//===----------------------------------------------------------------------===// |
/// |
/// \file |
-/// \brief Declares utility functions for name mangling for cross tests. |
+/// \brief Aggressive block-local variable splitting to improve linear-scan |
+/// register allocation. |
/// |
//===----------------------------------------------------------------------===// |
-#ifndef SUBZERO_SRC_ICEMANGLING_H |
-#define SUBZERO_SRC_ICEMANGLING_H |
- |
-#include <string> |
+#ifndef SUBZERO_SRC_ICEVARIABLESPLITTING_H |
+#define SUBZERO_SRC_ICEVARIABLESPLITTING_H |
namespace Ice { |
-std::string mangleName(const std::string &Name); |
+void splitBlockLocalVariables(class Cfg *Func); |
} // end of namespace Ice |
-#endif // SUBZERO_SRC_ICEMANGLING_H |
+#endif // SUBZERO_SRC_ICEVARIABLESPLITTING_H |