mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
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:
15
include/llvm/Transforms/IPO/Internalize.h
Normal file
15
include/llvm/Transforms/IPO/Internalize.h
Normal 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
|
||||
Reference in New Issue
Block a user