LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DecomposeMultiDimRefs.cpp File Reference

#include "SparcV9Internals.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Constants.h"
#include "llvm/Constant.h"
#include "llvm/Instructions.h"
#include "llvm/BasicBlock.h"
#include "llvm/Pass.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Support/Debug.h"

Include dependency graph for DecomposeMultiDimRefs.cpp:

Go to the source code of this file.

Functions

FunctionPassllvm::createDecomposeMultiDimRefsPass ()
static bool isZeroConst (Value *V)
bool llvm::DecomposeArrayRef (GetElementPtrInst *GEP)


Function Documentation

static bool isZeroConst Value V  )  [inline, static]
 

Definition at line 55 of file DecomposeMultiDimRefs.cpp.

Referenced by llvm::DecomposeArrayRef().


Variable Documentation

Statistic NumAdded("lowerrefs","# of getelementptr instructions added") [static]
 

Referenced by llvm::DecomposeArrayRef().

RegisterOpt<DecomposePass> X("lowerrefs","Decompose multi-dimensional ""structure/array references") [static]