Index: src/IceClFlags.h |
diff --git a/src/IceClFlags.h b/src/IceClFlags.h |
index 549bf1693811a54044dbee7c80ccc6f7cfae9d19..244790badeb1022486a3196d6639dc49b0bbfc0a 100644 |
--- a/src/IceClFlags.h |
+++ b/src/IceClFlags.h |
@@ -153,6 +153,11 @@ public: |
return RandomizeAndPoolImmediatesThreshold; |
} |
+ bool shouldReorderBasicBlocks() const { return ReorderBasicBlocks; } |
+ void setShouldReorderBasicBlocks(bool NewValue) { |
+ ReorderBasicBlocks = NewValue; |
+ } |
+ |
void setShouldReorderFunctions(bool Option) { ReorderFunctions = Option; } |
bool shouldReorderFunctions() const { return ReorderFunctions; } |
@@ -229,6 +234,7 @@ private: |
bool PhiEdgeSplit; |
bool RandomNopInsertion; |
bool RandomRegAlloc; |
+ bool ReorderBasicBlocks; |
bool ReorderFunctions; |
bool ReorderGlobalVariables; |
bool ReorderPooledConstants; |