mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
03917ccb0c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3029 91177308-0d34-0410-b5e6-96231b3b80d8
32 lines
974 B
C++
32 lines
974 B
C++
//===- llvm/Transforms/IPO.h - Interprocedural Optimiations -----*- C++ -*-===//
|
|
//
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_TRANSFORMS_IPO_H
|
|
#define LLVM_TRANSFORMS_IPO_H
|
|
|
|
class Pass;
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// createDeadTypeEliminationPass - Return a new pass that eliminates symbol
|
|
// table entries for types that are never used.
|
|
//
|
|
Pass *createDeadTypeEliminationPass();
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// FunctionResolvingPass - Go over the functions that are in the module and
|
|
// look for functions that have the same name. More often than not, there will
|
|
// be things like:
|
|
// void "foo"(...)
|
|
// void "foo"(int, int)
|
|
// because of the way things are declared in C. If this is the case, patch
|
|
// things up.
|
|
//
|
|
// This is an interprocedural pass.
|
|
//
|
|
Pass *createFunctionResolvingPass();
|
|
|
|
#endif
|