forked from OSchip/llvm-project
New pass to convert Convert multi-dimensional
array references into 1-D references. llvm-svn: 1918
This commit is contained in:
parent
7e5120163c
commit
5fecde7331
|
@ -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
|
Loading…
Reference in New Issue