New pass to convert Convert multi-dimensional

array references into 1-D references.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1918 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vikram S. Adve 2002-03-19 02:10:34 +00:00
parent 06fa17c1c2
commit 07fb6e603f

View File

@ -0,0 +1,16 @@
//===- llvm/Transforms/DecomposeArrayRefs.h - Lower array refs --*- C++ -*--=//
//
// DecomposeArrayRefs -
// Convert multi-dimensional array references into a sequence of
// instructions (using getelementpr and cast) so that each instruction
// has at most one array offset.
//
//===---------------------------------------------------------------------===//
#ifndef LLVM_TRANSFORMS_DECOMPOSEARRAYREFS_H
#define LLVM_TRANSFORMS_DECOMPOSEARRAYREFS_H
class Pass;
Pass *createDecomposeArrayRefsPass();
#endif