mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
* Rename to IPO.h
* Add ConstantMerge.h contents git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3032 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
28fe8ce18f
commit
5c5db0eeb4
@ -1,5 +1,7 @@
|
||||
//===- llvm/Transforms/IPO.h - Interprocedural Optimiations -----*- C++ -*-===//
|
||||
//===- llvm/Transforms/IPO.h - Interprocedural Transformations --*- C++ -*-===//
|
||||
//
|
||||
// This header file defines prototypes for accessor functions that expose passes
|
||||
// in the IPO transformations library.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
@ -8,6 +10,16 @@
|
||||
|
||||
class Pass;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// createConstantMergePass - This function returns a new pass that merges
|
||||
// duplicate global constants together into a single constant that is shared.
|
||||
// This is useful because some passes (ie TraceValues) insert a lot of string
|
||||
// constants into the program, regardless of whether or not they duplicate an
|
||||
// existing string.
|
||||
//
|
||||
Pass *createConstantMergePass();
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// createDeadTypeEliminationPass - Return a new pass that eliminates symbol
|
||||
// table entries for types that are never used.
|
||||
|
Loading…
Reference in New Issue
Block a user