mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-21 03:37:47 +00:00
Incorporate into IPO.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3030 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
03917ccb0c
commit
3c19b92389
@ -1,19 +0,0 @@
|
||||
//===- llvm/Transforms/ConstantMerge.h - Merge duplicate consts --*- C++ -*--=//
|
||||
//
|
||||
// This file defines the interface to a 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.
|
||||
//
|
||||
// Algorithm: ConstantMerge is designed to build up a map of available constants
|
||||
// and elminate duplicates when it is initialized.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TRANSFORMS_CONSTANTMERGE_H
|
||||
#define LLVM_TRANSFORMS_CONSTANTMERGE_H
|
||||
|
||||
class Pass;
|
||||
Pass *createConstantMergePass();
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user