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
This commit is contained in:
Chris Lattner
2002-04-28 05:43:27 +00:00
parent 2e9175a085
commit dbb1735673
2 changed files with 53 additions and 0 deletions

View File

@@ -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