diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-28 05:43:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-28 05:43:27 +0000 |
commit | dbb1735673ed177a85f04698b9cd89f2dc1b4e91 (patch) | |
tree | 175ed4b19ebe157d495c738372e97ca22e75cad2 /include/llvm/Transforms | |
parent | 2e9175a0858a2f5005716e4a84ec03f757c25966 (diff) | |
download | external_llvm-dbb1735673ed177a85f04698b9cd89f2dc1b4e91.zip external_llvm-dbb1735673ed177a85f04698b9cd89f2dc1b4e91.tar.gz external_llvm-dbb1735673ed177a85f04698b9cd89f2dc1b4e91.tar.bz2 |
Initial checkin of new "Internalize" pass for GCCLD
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/IPO/Internalize.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO/Internalize.h b/include/llvm/Transforms/IPO/Internalize.h new file mode 100644 index 0000000..e512dfc --- /dev/null +++ b/include/llvm/Transforms/IPO/Internalize.h @@ -0,0 +1,15 @@ +//===-- Transforms/IPO/Internalize.h - Mark functions internal ---*- C++ -*--=// +// +// This pass loops over all of the functions in the input module, looking for a +// main function. If a main function is found, all other functions are marked +// as internal. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_TRANSFORM_IPO_INTERNALIZE_H +#define LLVM_TRANSFORM_IPO_INTERNALIZE_H + +class Pass; +Pass *createInternalizePass(); + +#endif |