LLVM API Documentation

Functions | Variables
SeparateConstOffsetFromGEP.cpp File Reference
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Scalar.h"
Include dependency graph for SeparateConstOffsetFromGEP.cpp:

Go to the source code of this file.

Functions

 INITIALIZE_PASS_BEGIN (SeparateConstOffsetFromGEP,"separate-const-offset-from-gep","Split GEPs to a variadic base and a constant offset for better CSE", false, false) INITIALIZE_PASS_END(SeparateConstOffsetFromGEP

Variables

static cl::opt< boolDisableSeparateConstOffsetFromGEP ("disable-separate-const-offset-from-gep", cl::init(false), cl::desc("Do not separate the constant offset from a GEP instruction"), cl::Hidden)
separate const offset from gep
separate const offset from
Split GEPs to a variadic base
and a constant offset for
better 
CSE
separate const offset from
Split GEPs to a variadic base
and a constant offset for
better 
false

Function Documentation

INITIALIZE_PASS_BEGIN ( SeparateConstOffsetFromGEP  ,
"separate-const-offset-from-gep ,
"Split GEPs to a variadic base and a constant offset for better CSE ,
false  ,
false   
)

Variable Documentation

separate const offset from Split GEPs to a variadic base and a constant offset for better CSE

Definition at line 288 of file SeparateConstOffsetFromGEP.cpp.

cl::opt<bool> DisableSeparateConstOffsetFromGEP("disable-separate-const-offset-from-gep", cl::init(false), cl::desc("Do not separate the constant offset from a GEP instruction"), cl::Hidden) [static]
separate const offset from Split GEPs to a variadic base and a constant offset for better false

Definition at line 288 of file SeparateConstOffsetFromGEP.cpp.

separate const offset from gep

Definition at line 288 of file SeparateConstOffsetFromGEP.cpp.