aboutsummaryrefslogtreecommitdiff
path: root/include/clang/CodeGen
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-05-27 05:39:39 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-05-27 05:39:39 +0000
commit4ecc9b73b3716775ed4e09091e300796a9a72378 (patch)
tree3f20c1d8bf40fae64acdf497dcc7d7d01b5d0a0d /include/clang/CodeGen
parent0aa7edbc1f579787c4f69144fd1b04e777d89391 (diff)
Driver: Add clang -cc1 -mrelax-all option, which sets relaxes all instructions when using -integrated-as.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/CodeGen')
-rw-r--r--include/clang/CodeGen/CodeGenOptions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/CodeGen/CodeGenOptions.h b/include/clang/CodeGen/CodeGenOptions.h
index 54d3ba03f3..6241230ffb 100644
--- a/include/clang/CodeGen/CodeGenOptions.h
+++ b/include/clang/CodeGen/CodeGenOptions.h
@@ -54,6 +54,7 @@ public:
unsigned ObjCDispatchMethod : 2; /// Method of Objective-C dispatch to use.
unsigned OptimizationLevel : 3; /// The -O[0-4] option specified.
unsigned OptimizeSize : 1; /// If -Os is specified.
+ unsigned RelaxAll : 1; /// Relax all machine code instructions.
unsigned SoftFloat : 1; /// -soft-float.
unsigned TimePasses : 1; /// Set when -ftime-report is enabled.
unsigned UnitAtATime : 1; /// Unused. For mirroring GCC optimization
@@ -108,6 +109,7 @@ public:
ObjCDispatchMethod = Legacy;
OptimizationLevel = 0;
OptimizeSize = 0;
+ RelaxAll = 0;
SoftFloat = 0;
TimePasses = 0;
UnitAtATime = 1;