mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
New pass to convert Convert multi-dimensional
array references into 1-D references. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1950 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c7b439d2f9
commit
c8394f63cb
16
include/llvm/Transforms/Scalar/DecomposeMultiDimRefs.h
Normal file
16
include/llvm/Transforms/Scalar/DecomposeMultiDimRefs.h
Normal 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
|
Loading…
Reference in New Issue
Block a user