aboutsummaryrefslogtreecommitdiff
path: root/include/clang/CodeGen
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-07 23:19:17 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-07 23:19:17 +0000
commit6b0cf67ae72a9ebb90e94cc9a14e09364a2b3466 (patch)
treea45ae470c619b9fc492936f56288758942dd0098 /include/clang/CodeGen
parente2a901a1883a74469bdcd22e38f52b3f877bc6ca (diff)
Frontend: Add CodeGenOptions::SimplifyLibCalls, and eliminate LangOptions argument to BackendConsumer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105574 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 6241230ffb..6474acad02 100644
--- a/include/clang/CodeGen/CodeGenOptions.h
+++ b/include/clang/CodeGen/CodeGenOptions.h
@@ -55,6 +55,7 @@ public:
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 SimplifyLibCalls : 1; /// Set when -fbuiltin is enabled.
unsigned SoftFloat : 1; /// -soft-float.
unsigned TimePasses : 1; /// Set when -ftime-report is enabled.
unsigned UnitAtATime : 1; /// Unused. For mirroring GCC optimization
@@ -110,6 +111,7 @@ public:
OptimizationLevel = 0;
OptimizeSize = 0;
RelaxAll = 0;
+ SimplifyLibCalls = 1;
SoftFloat = 0;
TimePasses = 0;
UnitAtATime = 1;