Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: src/IceVariableSplitting.h

Issue 2177033002: Subzero: Local variable splitting. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes, mostly renaming. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceTimerTree.def ('k') | src/IceVariableSplitting.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/IceTimerTree.def ('k') | src/IceVariableSplitting.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698