|
LLVM
3.7.0
|
#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"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 |
| #define DEBUG_TYPE "nary-reassociate" |
Definition at line 94 of file NaryReassociate.cpp.
| INITIALIZE_PASS_BEGIN | ( | NaryReassociate | , |
| "nary-reassociate" | , | ||
| "Nary reassociation" | , | ||
| false | , | ||
| false | |||
| ) |
|
static |
Definition at line 293 of file NaryReassociate.cpp.
References llvm::tgtok::Field, llvm::gep_type_begin(), llvm::StructLayout::getElementOffset(), llvm::SequentialType::getElementType(), llvm::generic_gep_type_iterator< ItTy >::getIndexedType(), llvm::GetElementPtrInst::getPointerAddressSpace(), llvm::GetElementPtrInst::getPointerOperand(), llvm::DataLayout::getStructLayout(), llvm::GetElementPtrInst::getType(), llvm::DataLayout::getTypeAllocSize(), I, llvm::GetElementPtrInst::idx_begin(), llvm::GetElementPtrInst::idx_end(), and llvm::TargetTransformInfo::isLegalAddressingMode().
|
static |
Definition at line 223 of file NaryReassociate.cpp.
References llvm::Instruction::getOpcode().
| 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.
1.8.6