mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-29 15:04:57 +00:00
Incorporate into IPO.h
llvm-svn: 3030
This commit is contained in:
parent
60265052c8
commit
4b7d671258
@ -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…
Reference in New Issue
Block a user