diff --git a/include/llvm/Transforms/Scalar/DecomposeMultiDimRefs.h b/include/llvm/Transforms/Scalar/DecomposeMultiDimRefs.h new file mode 100644 index 00000000000..87fe3ab0f09 --- /dev/null +++ b/include/llvm/Transforms/Scalar/DecomposeMultiDimRefs.h @@ -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