Change over to use new style pass mechanism, now passes only expose small
[oota-llvm.git] / include / llvm / Transforms / RaisePointerReferences.h
1 //===-- LevelChange.h - Passes for raising/lowering llvm code ----*- C++ -*--=//
2 //
3 // This family of passes is useful for changing the 'level' of a module. This
4 // can either be raising (f.e. converting direct addressing to use getelementptr
5 // for structs and arrays), or lowering (for instruction selection).
6 //
7 //===----------------------------------------------------------------------===//
8
9 #ifndef LLVM_TRANSFORMS_LEVELCHANGE_H
10 #define LLVM_TRANSFORMS_LEVELCHANGE_H
11
12 class Pass;
13
14 // RaisePointerReferences - Try to eliminate as many pointer arithmetic
15 // expressions as possible, by converting expressions to use getelementptr and
16 // friends.
17 //
18 Pass *createRaisePointerReferencesPass();
19
20 #endif