|
LLVM
4.0.0
|
#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"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 |
| #define DEBUG_TYPE "nary-reassociate" |
Definition at line 90 of file NaryReassociate.cpp.
| INITIALIZE_PASS_BEGIN | ( | NaryReassociateLegacyPass | , |
| "nary-reassociate" | , | ||
| "Nary reassociation" | , | ||
| false | , | ||
| false | |||
| ) |
|
static |
Definition at line 269 of file NaryReassociate.cpp.
References llvm::TargetTransformInfo::getGEPCost(), llvm::GetElementPtrInst::getPointerOperand(), llvm::GetElementPtrInst::getSourceElementType(), I, llvm::GetElementPtrInst::idx_begin(), llvm::GetElementPtrInst::idx_end(), llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back(), and llvm::TargetTransformInfo::TCC_Free.
|
static |
Definition at line 196 of file NaryReassociate.cpp.
References llvm::MCID::Add, and llvm::Instruction::getOpcode().
| 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.
1.8.6