LLVM  4.0.0
Macros | Functions | Variables
NaryReassociate.cpp File Reference
#include "llvm/Transforms/Scalar/NaryReassociate.h"
#include "llvm/Analysis/ValueTracking.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 (NaryReassociateLegacyPass,"nary-reassociate","Nary reassociation", false, false) INITIALIZE_PASS_END(NaryReassociateLegacyPass
 
static bool isPotentiallyNaryReassociable (Instruction *I)
 
static bool isGEPFoldable (GetElementPtrInst *GEP, const TargetTransformInfo *TTI)
 

Variables

nary reassociate
 
nary Nary reassociation
 
nary Nary false
 

Macro Definition Documentation

#define DEBUG_TYPE   "nary-reassociate"

Definition at line 90 of file NaryReassociate.cpp.

Function Documentation

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

Definition at line 196 of file NaryReassociate.cpp.

References llvm::MCID::Add, and llvm::Instruction::getOpcode().

Variable Documentation

nary Nary false

Definition at line 131 of file NaryReassociate.cpp.

nary reassociate

Definition at line 131 of file NaryReassociate.cpp.

nary Nary reassociation

Definition at line 131 of file NaryReassociate.cpp.