diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-09-04 19:07:32 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-09-04 19:07:32 +0000 |
commit | fbd716d621fe3add1f66d0053c50f753fcef949f (patch) | |
tree | 0e9e256c05d17ebc1c1cac859ae63c0220e37389 /llvm/projects/Stacker/lib/compiler/StackerCompiler.h | |
parent | 4771383e475cf001261ef6fe38606aafbbc824bd (diff) | |
download | bcm5719-llvm-fbd716d621fe3add1f66d0053c50f753fcef949f.tar.gz bcm5719-llvm-fbd716d621fe3add1f66d0053c50f753fcef949f.zip |
Make the StackerCompiler and optimizing translator by running specific
optimizations after construction of the Module. The OptLevel argument
to the compile function controls the level of optimization.
llvm-svn: 16166
Diffstat (limited to 'llvm/projects/Stacker/lib/compiler/StackerCompiler.h')
-rw-r--r-- | llvm/projects/Stacker/lib/compiler/StackerCompiler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/projects/Stacker/lib/compiler/StackerCompiler.h b/llvm/projects/Stacker/lib/compiler/StackerCompiler.h index 4186416d65e..bf9642604da 100644 --- a/llvm/projects/Stacker/lib/compiler/StackerCompiler.h +++ b/llvm/projects/Stacker/lib/compiler/StackerCompiler.h @@ -69,6 +69,7 @@ class StackerCompiler Module* compile( const std::string& filename, ///< File to compile bool echo, ///< Causes compiler to echo output + unsigned optLevel, ///< Level of optimization size_t stack_size ); ///< Size of generated stack /// @} /// @name Accessors |