LLVM  3.7.0
Macros | Functions | Variables
NaryReassociate.cpp File Reference
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/Analysis/ScalarEvolution.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PatternMatch.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/Local.h"
Include dependency graph for NaryReassociate.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "nary-reassociate"
 

Functions

 INITIALIZE_PASS_BEGIN (NaryReassociate,"nary-reassociate","Nary reassociation", false, false) INITIALIZE_PASS_END(NaryReassociate
 
static bool isPotentiallyNaryReassociable (Instruction *I)
 
static bool isGEPFoldable (GetElementPtrInst *GEP, const TargetTransformInfo *TTI, const DataLayout *DL)
 

Variables

nary reassociate
 
nary Nary reassociation
 
nary Nary false
 

Macro Definition Documentation

#define DEBUG_TYPE   "nary-reassociate"

Definition at line 94 of file NaryReassociate.cpp.

Function Documentation

INITIALIZE_PASS_BEGIN ( NaryReassociate  ,
"nary-reassociate ,
"Nary reassociation ,
false  ,
false   
)
static bool isGEPFoldable ( GetElementPtrInst GEP,
const TargetTransformInfo TTI,
const DataLayout DL 
)
static
static bool isPotentiallyNaryReassociable ( Instruction I)
static

Definition at line 223 of file NaryReassociate.cpp.

References llvm::Instruction::getOpcode().

Variable Documentation

nary Nary false

Definition at line 197 of file NaryReassociate.cpp.

nary reassociate

Definition at line 197 of file NaryReassociate.cpp.

nary Nary reassociation

Definition at line 197 of file NaryReassociate.cpp.