mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
98d64f8d51
Also moved to the Scalar/ directory and renamed to "MultiDim". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1961 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
680 B
C++
19 lines
680 B
C++
//===- llvm/Transforms/DecomposeMultiDimRefs.h - Lower multi-dim refs --*- C++ -*--=//
|
|
//
|
|
// DecomposeMultiDimRefs -
|
|
// Convert multi-dimensional references consisting of any combination
|
|
// of 2 or more array and structure indices into a sequence of
|
|
// instructions (using getelementpr and cast) so that each instruction
|
|
// has at most one index (except structure references,
|
|
// which need an extra leading index of [0]).
|
|
//
|
|
//===---------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_TRANSFORMS_SCALAR_DECOMPOSEMULTIDIMREFS_H
|
|
#define LLVM_TRANSFORMS_SCALAR_DECOMPOSEMULTIDIMREFS_H
|
|
|
|
class Pass;
|
|
Pass *createDecomposeMultiDimRefsPass();
|
|
|
|
#endif
|